Treatlife 3 Way Switch SS01 SS02 Setup

TreatLife SS01 SS02 3 Way Switch

Tasmota Setup Commands (copy and paste each section to one line in the Tasmota Console)

template {"NAME":"Moes/Treatlife 3-Way","GPIO":[21,255,157,255,56,53,0,0,30,10,9,255,255],"FLAG":0,"BASE":18}

module 0

Console will Reboot. Wait for it.

backlog switchtopic 0 ; switchmode1 2 ; switchmode2 5 ; setoption32 7 ; setoption34 1 ; rule1 1

(this is all one line below!)
rule1 on power1#boot=0 do backlog nodelay ; var1 TOGGLE; var2 ""; ledpower1 0 ; ledpower2 0 endon on power1#boot=1 do backlog nodelay ; var2 TOGGLE; var1 ""; ledpower1 1 ; ledpower2 1 endon on power1#state=0 do backlog nodelay ; var1 TOGGLE; var2 ""; ledpower1 0 ; ledpower2 0 endon on power1#state=1 do backlog nodelay ; var2 TOGGLE; var1 ""; ledpower1 1 ; ledpower2 1 endon on event#ON do power2 %var1% endon on event#OFF do power2 %var2% endon

Currently the Red LED is on while the light is off and the White LED is on while the lights is on.  If you want this reversed, go to Configuration, Configure Template and change Led1i to Led1, and Led2 to Led2i.  Click Save.

NOTE: You CANNOT use Auto Discovery with this switch at this time due to the split config.  Please use the configuration below.  Do not manually toggle the ON/OFF buttons in the Tasmota GUI to manually toggle the switch as one of them is load sensor.  Issue an "event on" or "event off" on the Tasmota Console to toggle the switch.

Sample Home Assistant Config

- platform: mqtt
  name: "Hallway 3-Way"
  state_topic: "stat/MyHallWay/POWER1"
  command_topic: "cmnd/MyHallWay/EVENT"
  availability_topic: "tele/MyHallWay/LWT"
  payload_on: "ON"
  payload_off: "OFF"
  payload_available: "Online"
  payload_not_available: "Offline"

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

Thanks for machination for the new set of rules that do not write to flash memory!

Internal Pictures


  1. I have several of these 3-way switches installed; all but one of them behaves properly from within Home Assistant. The one strange one will only properly report the state of the light if the 'dumb' switch is down; when the 'dumb' switch is up, the light can be toggled but the state is not updated. Have you run into this situation before? I've tried re-configuring everything about a dozen times and it's the same behavior every time.

  2. I've only run into this when the light load wasn't not enough for the switch to detect the change.

    1. But it's able to detect the load when the dumb switch is in one position; wouldn't the load be the same when the dumb switch is in the opposite position?

    2. Does it change states properly with the smart switch changing? If so then it could be a traveler issue.

    3. When the dumb switch is up, I can turn the lights on/off from the smart switch, but the led indicator stays off. When the dumb switch is down, I can turn the lights on/off from the smart switch but the led is off when the lights are off, and turns on after about two seconds when I turn the lights on. My other switches have the led indicator on when the lights are off (about 0.5 second delay), and off when the lights are on.

    4. Look at the Tasmota console. The indicator on the left, is it changing from ON to OFF etc when toggling?

    5. Weirdly, it seems to depend on whether the second toggle is ON or not. If the 2nd toggle is OFF, I do see the first toggle changing between OFF and ON when I flip the dumb switch up and down. But if I go over and press the smart switch once, which turns toggle 2 to ON, then I go over and flip the dumb switch up and down, toggle 1 stays OFF the entire time, even though the lights are turning on and off. Also, I'm not using the tasmota GUI to change anything, only the physical dumb and smart switch. The only difference I can think of here compared to all the other 3-ways installed, is that my great room had two separate 3-way switches for the front lights and back lights, which I asked my electrician to combine into a single switch that controlled both rows of lights. I also configured a second Treatlife SS02 and put it in the wall and I see the exact same behavior.

    6. Sounds like you have a wiring issue going on and the switch can't read the load is on.


Post a Comment