Start a new topic

Switch module (ESP8266 based) for in-wall switches


I think it would be great if you could design a small esp8266-based switch module, possibly versions with dimmer as well, that can be installed in existing in-wall switches for EU/US standards. This way you can keep the existing light switch for manual control but add the possibility to remotely control the light switch via WiFi.

Similar modules are available today for z-wave and other wireless standards, this is an example of such a product:

10 people like this idea

Yes I am aware of the sonoff touch, but that is not what I requested. I am looking for a module to extend my existing wall switch with remote wifi control as per my link to a z-wave device that does this.

2 people like this
Oh, sorry. For a switch controlled relay you could theoretically use but it would require a custom firmware flash and a bit of hacking.


This would be great! I would probably place one behind every light switch in my home. Unfortunately the sonoff touch doesn't look good in some rooms...

Yes it's possible. There is already an existing switch in sonoff module for manual switching. U can solder that switch with 2 wires and use a manual pulse switch( the one we use in door bells). See the Picture.
(659 KB)

1 person likes this

Deepesh Golani, your method require change all common switch. Is it possible to run sonoff wifi switch while existing light switch is remain? Is there anyway make use of GPiO and Gnd pin?

@thiyagu Unfortunately there is no way of using the existing switch. You have to buy a new bell/pulse switch in order for it to work since it simulates the small manual black button present on the sonoff module. Otherwise if you really want to use existing switch, you can connect it with the two wires in the picture after soldering. then after connecting, you have turn it on and then turn it off again in one second in order to make it similar to the bell switch.
As this is a pulse switch, am I right in thinking that you can wire 2x pulse switches into one single unit to give a 2 way lighting setup as these switches aren't creating an open circuit like a normal light switch? Also can you wire a pulse switch to the rf version to give a fixed wired switch, a rf remote switch and WiFi switching options?
@John Yes you can easily! These pulses require 0 or very low (negligible) amount of voltage to work. Give it a try. I have 6 devices connected to single pulse switches for operating lights,air conditioning,geyser etc it's been around 5 months and they're all working well.
Can you dim lights using this and the ewelink app or is there a dimmable version of the basic or rf unit. I don't have dimmers at the moment but would like this feature if possible. OR buy a Phillips hue or a similar wifi controlled light to dim or change color

ITEAD, any news regarding a in-wall sonoff? :)

+1 LED dimmer to fit inside EU sockets! :)

Try this, I saw it on YouTube and eBay (India). "E77 wall switch connectivity module for sonoff". I would like to get some the but can't find them anywhere else.
Login or Signup to post a comment