So far I connected the switch downstairs, it works, I left the blue and yellow wires aside for now but for some reason I lost the current upstairs, not sure why. It's on a separate circuit, the RCB is ON but no lights upstairs.
Your diagram is of how the old switches are/were wired, and as far as I can see, is correct.
It does not represent how to connect the Sonos.
With the yellow and blue wires disconnected, the light will never come on because you have removed the way the bulb gets power.
The Sonos needs to be connected as per the top right diagram in your post #6.
This forum is not supposed to give step by step instructions for obvious reasons.
I'm feeling that since you are already involved in this, somewhat against the advice already given, I will give a factual explanation of the necessary wiring. It needs to be carried out safely and competently, which you need to organise.
The red wire to the upstairs light bulb should be in Sonos L out, and the incoming power (circuit 2) red wire should be in Sonos L in.
The end of the yellow wire that used to be in upstairs switch com (that you say is presently unconnected) should be in Sonos S2.
The blue wire (that you say is presently unconnected) should go to the upstairs switch L1 where it was originally.
A short piece of insulated wire is needed between the upstairs switch Com and Sonos S1.
The end result should be that there is only one wire in each old 2-way switch terminal, and only one wire in each Sonos terminal.