There is a way to do this but you need to be confident of your house wiring. In the UK we use a loop in wiring system for lights. Live and neutral go to the ceiling rose (or junction box). A live feed then comes off the rose and goes to the switch. The feed then comes back to the lamp.
With a three way switch there is and additional wire between the switches but the end result is one wire that comes back to the lamp.
So, if you disconnect the switch feed from the rose and connect it to a GPIO and then take the return and connect it to GND. The switches operate as normal we’ve just changed the supply. The switch will then trigger the Sonoff. It can be overridden by wifi.
However you must be sure that no other AC supply can get into that circuit.
I’ve already done this with a bathroom light and extractor using a Dual. The light switch operates relay 1. The fan is operated by relay 2 after a timer and goes off after another timer
I’ll draw something up tomorrow.
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is the diagram as promised. This is how a 2 way switch system works in the UK (with UK wiring colours too – the blue wire to the lamp from the switch should have brown sleeving on – we use brown for live and green/yellow for earth). We use an ‘intermediate’ switch in between the two switches for additional switch points
The GPIUO is set as a switch1 and the normal light switches will switch the Sonoff output on and off. Importantly, wifi will also switch it on and off (even if the switch is on).
The Shelly1 looks to be a great piece of kit. Unfortunately, in the UK, we don’t have a neutral in our light switches (to save copper) but it is small enough to fit above a ceiling rose (where we do have neutral) and the switched live from the switch can be wired into Sw on the Shelly1.
