I have two low energy spot lights on a barn that are controlled by two separate PIR movement sensors - with both lights coming on when _either_ PIR is activated. There is no "physical" On/Off switch. I want to add a Shelly1 so that when the Shelly1 is OFF the lights will obey the PIRs, and when the Shelly1 Is ON the lights will come on / stay on.
I tried the wiring as shown in the attached image, and whilst the Shelly1 relay works fine (controlled from the iOS app), the lights are always on even though the PIRs were not activated. How else should I wire up the Shelly1 ? Perhaps the "switched live" magenta line should be connected to "Sw" rather than "1" ?
Many thanks. (And for the avoidance of doubt, I _am_ taking great care with isolating everything when working on it). Ignore the green text at the bottom of the attachment - that is how I want it to work in future!