Detach Switches with relay - Tasmota

Buttons -

SetOption73


Detach buttons from relays and send multi-press and hold MQTT messages instead 0 = disable (default) 1 = enable Example message: {"Button1":{"Action":"SINGLE"}}

Switches -

SetOption114~

When SetOption114 1 all switches are detached from their respective relays and will send MQTT messages instead in the form of {"Switch<x>":{"Action":"<state>"}}.

SwitchMode 15~

With command SwitchMode<x> 15 you can decouple Switch<x> from its power output and it will instead send MQTT messages in the following format:

MQT: tele/tasmota/SENSOR = {"Time":"2021-01-01T00:00:00","Switch1":"OFF"}
MQT: tele/tasmota/SENSOR = {"Time":"2021-01-01T00:00:01","Switch1":"ON"}

Comments