Start a new topic

Using my 2 Sonoff Wall Touch to act in a 2-Way switch

Hi there!

Maybe my situation is the same as others and someone figure out how make it work.

I've a light that is turned on/off with a regular wall switch from downstairs and upstairs acting like a 2-way switching.

Does anyone how should I wire the Sonoff Wall Touch Switches to make it work?

Thanks a lot!!!

Here is what you are starting with:

Image result for 3-way switch

The red and black wires between the switches are known as "traveler" wires.

Replace the switch on the left with a sonoff.  The black traveler wire is not used.  The "Hot" goes to Line in and the red traveler wire goes to Line out.  The neutral connects to the neutral on the sonoff.

Remove the switch on the right.  The black traveler wire is not used.  Tie the red traveler wire directly to the wire going to the light bulb center conductor.  Once this has been directly connected insert a "dummy" wifi switch in the box connecting only the Line in to an always hot wire and neutral to neutral.  This switch will not actually switch anything but will instead be used in a scene.

Create a scene so that turning either switch on turns the other one on as well.  Also turning either switch off turns the other one off as well.


You only have one real switch with the other end of the "traveler" wire simply connected to the bulb.  The other switch is just used to remote control the real switch with the use of a scene.  You will need a neutral wire and an always hot wire in each box.  Advanced hint: The unused black traveler wire can be re-purposed to serve as an always hot wire since it runs between boxes.

If scenes are not working or the Internet is down only the one real switch can be used to manually turn the light on or off.

Hey E W, thanks so much for your reply.

Using the wall switches connectors, It supposed to be something like this?

No.  The Sonoff on the right switches nothing.  It is connected to an always hot wire (line in) and the neutral.  Line out is not connected.  It acts solely as a remote control for the switch on the left. The red traveler wire connects to the bulb center contact.  Below is a diagram that uses the black traveler wire as an always hot for the switch on the right.


Oh, Awesome!!!!

I'll try it this weekend.

thanks a lot!!

Hi There EW,

Can i have the same instruction for T1 3 gang?

But only on the first button of the 2 T1 3 gang will be a '2-way' for a light

The other 4 will be independent from each other (2 from the first T1 and another 2 from the other)

Thank you in advance

I am not sure what any of that means.  The Sonoff is a simple on/off switch so make only one switch the "master" that actually switches the light on and off.  Any other switches are configured as remote controls through scenes to control the master.

the picture 'kind of' describe what I meant (hopefully...)

thank you,


(27.9 KB)

sorry, i have made a bit mistake on the first picture

(28 KB)

Your 2-way circuit would be like the description above.  Use one real switch and one as a remote control.  The other 4 switches are straightforward 1-way switches.  You will need an always hot and a neutral in each box.

Assuming you want to replace all 6 switches with sonoffs:

One box will contain 3 sonoffs switching 3 lights.  The other box will contain 3 sonoffs with only 2 switching lights and the other acting as a remote control through a scene.

Hi, Thanks for you input.

I didn't expect that will be a straight 'yes' from you, but hey, great!

I redo the drawing and hopefully this is the one that i should follow/use?


(32.5 KB)

Please understand that one of the sonoff switches does not switch anything.  It is a dummy that controls the other switch via a scene in the ewelink app.  I cannot draw you a diagram specific to your installation since I can't see inside your boxes from here.  You will have to figure that out yourself based on the wiring you have and if you don't grasp that, then hire a professional.

Be carefull before you buy too many switches for your whole house! Itead have limited the max amount of scenes you can do to 21. This soon gets used up when you have lots of 2 or 3 way switches leaving you with hallways which don't work. BEWARE, don't get caught like I have been.
Scenes works if I'm not home? For example someone turns on the light (the dummy one) but I'm not home. Or every person that needs to use the touch as a 2 way switch has to have ewelink installed and with the scenes configured?

Scenes work through the cloud not your phone so yes, scenes work when you are not home.

Login or Signup to post a comment