True 3-Way Smart Switch w/ Tasmota - No rewiring!

It's here!  A smart switch that works in several different 3 way wiring configurations without any rewiring or other tricks.  Swapping out one of the 3 way switches with this one is the only requirement.  This video also shows the details of using with Tasmota for local MQTT control with Home Assistant.

Moes 3-Way Smart Switch

Additional Parts for Flashing Tasmota if Needed
Soldering Iron Station
Helping Hands(as shown)
Alternative Upgraded Helping Hands
0.015 Solder
Female Jumper Wires
USB FTDI for Flashing

Amazon US Link

Tasmota Backlog Commands

backlog ssid1 NetWorkName;password1 MyPassword

backlog module 18;gpio4 21;gpio5 57;gpio12 30;gpio13 18;gpio14 9;switchtopic 0;switchmode1 0;buttontopic 0;rule1 on event#ON do power2 TOGGLE endon on event#OFF do power2 TOGGLE endon;rule1 1;

Check to make sure the entire backlog took by verifying the rule is configured by typing rule1 after the reboot!

Sample Home Assistant Config

- platform: mqtt
  name: "SW-HallWay"
  state_topic: "stat/SW-HallWay/POWER1"
  command_topic: "cmnd/SW-HallWay/EVENT"
  availability_topic: "tele/SW-HallWay/LWT"
  qos: 0
  payload_on: "ON"
  payload_off: "OFF"
  payload_available: "Online"
  payload_not_available: "Offline"
  retain: false

Take note of the slightly different command topic with the EVENT command.

Additional Links
Excellent guide with various 3 way wiring configurations
Tasmota Releases
Flash ESP8266
Termite Terminal App

Internal Pictures


  1. I followed this to a tee twice with 2 separate switches with the same results. The three way switch works turning off the light from the Moes switch or the dumb switch. I can control it from the HA front end. However, no matter how i turn the light off, from HA or either switch, the stat topic POWER1 toggles on and off repeatedly.
    16:23:40 MQT: stat/Mudroom/RESULT = {"POWER1":"OFF"}
    16:23:40 MQT: stat/Mudroom/POWER1 = OFF
    16:23:40 MQT: stat/Mudroom/RESULT = {"POWER1":"ON"}
    16:23:40 MQT: stat/Mudroom/POWER1 = ON
    16:23:41 MQT: stat/Mudroom/RESULT = {"POWER1":"OFF"}
    16:23:41 MQT: stat/Mudroom/POWER1 = OFF
    16:23:42 MQT: stat/Mudroom/RESULT = {"POWER1":"ON"}
    16:23:42 MQT: stat/Mudroom/POWER1 = ON
    16:23:43 MQT: stat/Mudroom/RESULT = {"POWER1":"OFF"}
    16:23:43 MQT: stat/Mudroom/POWER1 = OFF
    16:23:43 MQT: stat/Mudroom/RESULT = {"POWER1":"ON"}
    16:23:43 MQT: stat/Mudroom/POWER1 = ON
    16:23:44 MQT: stat/Mudroom/RESULT = {"POWER1":"OFF"}
    16:23:44 MQT: stat/Mudroom/POWER1 = OFF
    16:23:45 MQT: stat/Mudroom/RESULT = {"POWER1":"ON"}
    16:23:45 MQT: stat/Mudroom/POWER1 = ON
    16:23:45 MQT: stat/Mudroom/RESULT = {"POWER1":"OFF"}
    16:23:45 MQT: stat/Mudroom/POWER1 = OFF

    Any ideas would be greatly appreciated.
    BTW I love your work and Vids. You are the reason I switched to HA from TUYA. But I am struggling a little.

  2. I bought 4 of these moes switches. There is something wrong with them. I thought it was the flash of Tasmota, but it's not. I just hooked up a new on with stock firmware on it and connected it to the smart life app and it reacts the same way. taht is my post abve BTW.


  3. Hello , in 7.1.2 the toggle 1 is reversed, when light is ON on toggle 2 the toggle 1 shows OFF.

    Would you be able to advise how to fix it?

    1. Fixed with the commands from template repository. Thank you


Post a Comment

Popular posts from this blog

Smart Laundry Notifications with a Sonoff S31 & Home Assistant

Tuya Convert 2 - Flash Tuya Smartlife Devices - No Soldering - Remove the cloud with Tasmota ESPHome