I have an x10 system in part of my home that controls outlets that are on separate circuits from the wall x10 wall switches. I would like to put wifi outlet plugs in the existing outlets (removing the x10 receivers) and replace the wall x10 transmitter switches with wifi switches. This would allow me to control the outlets with voice, phone, or the wall switch. I have only found 1 wall mounted wifi switch/controller that will control wifi outlets- the Leviton DW4BC-1BW. Unfortunately they run nearly $100 each. I would need 8 of them, so ouch. Anyone aware of a similarly functioning product, maybe something from China, that would be cheaper? Thanks!

  • Do you really need Wi-Fi? You’ll probably have a lot more choice in the Zigbee world.
    – jcaron
    Oct 14, 2021 at 17:47
  • would like to stick with wifi.
    – chris
    Oct 14, 2021 at 19:11

1 Answer 1


SonOff has "Smart Wall Switches" that can be used as you describe and is also powered by mains.

They can also be re-programmable with other firmware like tasmota or with your own code as it is a ESP8266 MCU inside the device.

I have two "TX Series" that I have loaded Tasmota firmware on and that I have configure it to send the state of the buttons to a MQTT broker.

Then I have Node-Red and it is doing the logic control like: if button is pressed then do send toggle state to wallswitch.

The MQTT broker (mosquitto) is then sending the commands to the SonOff devices that is controlling light bulbs and blinds.

So the "TX Series" is the one I am referring to.

  • Thanks for your reply. Do you have a model number? The only SonOff wall switches I can find are hardwired to the outlets they control- they don't allow control of smart plugs as far as I can tell.
    – chris
    Oct 19, 2021 at 13:06
  • I have updated my answer, but see the "TX Series" as two parts. One is the button that can send its state to "something" (in my case a MQTT broker). Two is the output part that can control a electric load like a light bulb. And then it has a local rule that say "push button = toggle state on the output". NOTE I use an alternative software/firmware on the SonOff device called Tasmota since the chip inside the SonOff devices is either a ESP8266 or ESP32 that you can program yourself if you would like to.
    – MatsK
    Oct 20, 2021 at 16:56
  • Ok, thanks. A little more involved than what I am looking for...
    – chris
    Oct 21, 2021 at 18:07
  • Perhaps it can be done with the standard firmware, but that I don't know anything about.
    – MatsK
    Oct 21, 2021 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.