2-way switches - “Hotel type”

I’m having difficulty with terminology and wonder whether someone can help.

I have an apartment with many two-way switches - that is, there are two switches at different end of the rooms that switch on one light. I’m keen to automate them (preferably with Zigbee) , but I’m not sure what type of module I should be searching for. I’d appreciate some advice on maybe the Sonoff range which would help me get started.

I also use Lightwave switches, but they were simpler as you replaced both switches with a ‘Master’ and a ‘Slave’

I understand there is a control wire that passes between the switches (or have I got that wrong too!) - so how do you identify which wire it is?

Thanks in advance.

This is, I guess, what you have now…

This is a way to automate with use of the original switches:

Naamloos

3 Likes

I have done this and it is a little tricky. I did ALOT of research on it and carefully saved what I learned as it is very valuable! First image below is the before and after concept. I didn’t have a neutral to work with either (at either switch) so I had to use a Shelly 1L. Spend a few minutes studying both of these - especially the first one, which as you can see when either switch is changed position the light changes to the other state than what it was before (off to on or on to off) - that is how the circuit is completed - extremely clever (the circle with the X is the light fixture):

If you examine the above closely, you will notice the connectors for the switch on the left goes from “2 1” to “1 2”. That is NOT a mistake, it is just shown that way so the diagram does not have to show wires crossing over each other (just for readabilty). Note, do not put anything back into the wall until you have fully tested the whole setup to make things easier. Even with being very careful, I reversed the wires for the switch on the left as I thought the diagram was incorrect. That was no big issue as that switch just did not work properly, it was no harm done.

“Traveler” leads are the ones that go from one switch to another (and yes you will have those). Then, the next thing you need to figure out is which “traveler” leads are which - otherwise how do you know which to connect to which? I found a youtube video which works perfectly and shows you how to figure out which traveler wires are which. I had to watch this several times - and then re-watched it while actually going through the steps (thank god for the pause button!). It is a very clever way to do it however - but you should have a voltmeter (I am crazy I did it without a voltmeter by just connecting the wires to a light bulb!). (Notice, a volt meter is pretty cheap you can get one online for like $10 on amazon, you don’t need a fancy one like they have in the video, just one that lights up when there is juice. Later when I have bought shelly’s online they even threw into the box a very inepensive one that also can work as a screwdiver (picture below)!)


Anyway, although your voltage is higher than the 110 we have over here in the US, I believe the general concept/principle of how they are wired remains the same. (For some way over here if there are two switches and one light fisture they call them “three way switches”. I think that is because there are three wires going to each switch.)

Lastly, when you have everything set up, the shelly should have both switches set to “Edge” for them to properly operate as they used to - but also through the Shelly as well. Seamless and works perfectly for me!

BOOM!

Good luck, let us know how it goes!

3 Likes

They are typically called three way switches. Plenty of on line resources explaining them. The circuit schemat, like the ab5, are pretty easy understand. The reality is that the wires can be routed several different ways. Think of it this way: the power can come in at any of the three locations; one switch, the light fixture or the other switch. So the wires at each switch might be used in different ways. Usually one or both are connected to " travelers," not the typical hot and neutral you see in, say, an outlet.

To complicate things more, switches connected to travelers often don’t have a neutral wire in the box, so you have no way to power a smart switch. You need to draw out the circuit for your situation to choose the right hardware and how to install it.

Assuming this your standard 2 way wiring and without neutral.

Then you can use this no neutral hack without adding new cables

At least in the US, that would be a questionable assumption. There really is no one “standard” way to wire these. In fact it would be rare to have the hot (“Phase” in the diagram) at one switch and the neutral at the other. Generally the power “in” would be at one of the three locations, either a switch or the light fixture. Until recently, two-conductor “travelers” to the switches would be common. There’s always a spool of 2-conductor cable handy when wiring a house. You might have to go out to the truck to get 3-conductor.

With smart switches becoming more common, code in the US now requires a neutral at each location, with some exceptions, which means the use of two-conductor cable for travelers isn’t going to be common going forward. But there are still a lot of them already in use.

Agreed - the wiring in your diagram is the same as my “before” with the two travelers. The elegance of the solution I offered is that no diodes or neutral are needed, and also no rewiring or changes to the switches. Regardless of the solution used, the youtube video I supplied is a good way how to check the wiring so it can be figured out which traveler is which. That is not to say the solution I offered is any better than the other solution, every situation is different. The idea with the diodes is clever, but what surprises me is that when either switch is flipped, during that very tiny time period while a switch is changing state there isn’t there a break in the circuit for powering the sonoff (and if so it could be that time period is so short that it doesn’t make any difference)? @frog0 when can we get to hear back from you on what you decided to do?

Two years later and I stumbled across this thread.
I have the same issue with two-way switches that contain no neutral and no way without ripping out wallpaper to access the junction box.
Shelly just released the 1L Gen3 but there is a clear warning, that SW1 and SW2 don’t accept mains voltage. But the same was also stated for then Gen1.
Am I reading @KruseLuds Diagram incorrectly or would SW1 and SW2 receive full mains voltage once the light bulb gets turned on?

Can you still install relay on the light fixture?
I’d say sonoff basic r4 is the easiest way to make them smart with minimal wiring modification

But if you prefer zigbee, you can go for zbmini L2

Thanks for the idea.
I have a few sonoff basic r4 as this seemed like the ideal solution.
However my light switches are “too good” and the pulse between switching phases is so short, that the basic hardly ever recognises the switch.
I tried tweaking it but it just never works reliably.
This is a common problem judging from some GitHub discussions.
I would have to change my light switches to worsen them but thats not really what I was aiming for.
Hence hoping the L1 could help.

They receive the full mains power. There is no other power supply in the diagram, and there are no mistakes in the diagram. Note the comment under my diagram of “2 1” being changed tro “1 2” in the left switch for readability, the wiring and diagram are correct.

On the Shelly USA store online I see no 1L Gen3 available still, just the bypass. :-(…

The bypass didn’t used to be available in the US at all… and I’d rather not use one as I have seen people in the past had trouble with them… so I use incandescents for the fixture

When I discovered the 1L was being deprecated I scoured the internet and found several online that I purchased so I am good at least for a while if(when) the one I have in use for those stairs dies… :frowning:

Yeah, some switch don’t work well with the sonoff basic r4.
Anyway, if you don’t plan to replace the switches you can just convert existing ones to retractive by adding a tiny spring to it (with zbmini2) without installing new cables

2 Likes

Thanks for the answers.
ill have a look if I can retro fit a spring.
That sounds like a good option.
Just to be safe you probably mean the zbmini-l2?

Yep, should be easier to modify if you’re using those big panel switches like this

Mine are Busch&Jäger which apparently can be retrofitted quite easily.
I ordered two zbmini-l2 and will try it out.
Thanks for the help.

Oh and don’t forget to change the switch type. By default it’s rocker switch

1 Like

Finally got my zbmini-l2 and converted the first switch. Works really great. Thanks again for the ideas!

Yes but that link includes “Note that you need to pull an extra wire to be able to provide permanent Live to the Shelly.” (in other words, a neutral)

I placed my shelly in the connection box near the lamp where both L + N as well as the switch wire are available :wink: