Tasmota/Sonoff switch all 3 connected relays

My Generic Sonoff Module flashed with Tasmota switches 3 relays. I am using the switch node from node-red-contrib-tasmota and I manage to switch the first relay (Relay1 on D1/GPIO5). So far so good...

Does anyone know how I can switch the other 2 relays with this?

flow

[{"id":"2b2a8e18.386cb2","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"f815bd72.6f9cb","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":110,"y":140,"wires":[["5aade1eb.eac8f"]]},{"id":"453bcff4.e5129","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":110,"y":60,"wires":[["5aade1eb.eac8f"]]},{"id":"5aade1eb.eac8f","type":"Tasmota Switch","z":"2b2a8e18.386cb2","broker":"d89d906b.7da19","device":"Sonoff213","name":"","outputs":1,"uidisabler":false,"fullTopic":"%topic%/%prefix%/","cmndPrefix":"","statPrefix":"","telePrefix":"","qos":1,"retain":false,"x":330,"y":100,"wires":[[]]},{"id":"d89d906b.7da19","type":"tasmota-mqtt-broker","name":"Tasmota Broker","broker":"192.168.2.160","port":"1883","clientid":"","usetls":false,"keepalive":"60","cleansession":true}]

I don't know about that node, I use MQTT to communicate with tasmota devices. If you know the MQTT topics then that is very easy.

Hi Colin. I have no preference, so using MQTT is good for me too. Below the output of the Tasmota console after pressing the three buttons in the Tasmota screen. Do you see the MQTT topics you mean in that output?

14:35:50 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:35:50","Uptime":"4T21:35:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:36:29 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:37:29 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:38:06 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:39:19 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:40:08 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:40:34 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:40:36 MQT: Sonoff213/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:24:42","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"External System","Uptime":"4T21:40:35","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:06","MqttCount":1,"BootCount":82,"SaveCount":2586,"IPAddress":"192.168.2.213","RSSI":"82","LoadAvg":19}
14:40:50 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:40:50","Uptime":"4T21:40:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:41:36 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:42:32 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:45:08 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:45:36 MQT: Sonoff213/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:24:42","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"External System","Uptime":"4T21:45:35","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:06","MqttCount":1,"BootCount":82,"SaveCount":2586,"IPAddress":"192.168.2.213","RSSI":"86","LoadAvg":19}
14:45:50 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:45:50","Uptime":"4T21:45:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:48:02 MQT: Sonoff213/stat/RESULT = {"Command":"Unknown"}
14:50:36 MQT: Sonoff213/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:24:42","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"External System","Uptime":"4T21:50:35","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:06","MqttCount":1,"BootCount":82,"SaveCount":2586,"IPAddress":"192.168.2.213","RSSI":"84","LoadAvg":19}
14:50:50 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:50:50","Uptime":"4T21:50:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":84,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:55:36 MQT: Sonoff213/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:24:42","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"External System","Uptime":"4T21:55:35","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:06","MqttCount":1,"BootCount":82,"SaveCount":2586,"IPAddress":"192.168.2.213","RSSI":"90","LoadAvg":19}
14:55:50 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:55:50","Uptime":"4T21:55:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:30 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:30","Uptime":"4T21:59:29","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:30 MQT: Sonoff213/stat/RESULT = {"POWER1":"ON"}
14:59:30 MQT: Sonoff213/stat/POWER1 = ON
14:59:30 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:30","Uptime":"4T21:59:29","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":35,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":88,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:30 MQT: Sonoff213/stat/RESULT = {"POWER1":"OFF"}
14:59:30 MQT: Sonoff213/stat/POWER1 = OFF
14:59:33 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:33","Uptime":"4T21:59:32","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":30,"POWER1":"OFF","POWER2":"ON","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":84,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:33 MQT: Sonoff213/stat/RESULT = {"POWER2":"ON"}
14:59:33 MQT: Sonoff213/stat/POWER2 = ON
14:59:34 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:34","Uptime":"4T21:59:33","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":45,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":90,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:34 MQT: Sonoff213/stat/RESULT = {"POWER2":"OFF"}
14:59:34 MQT: Sonoff213/stat/POWER2 = OFF
14:59:37 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:37","Uptime":"4T21:59:36","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":24,"POWER1":"OFF","POWER2":"OFF","POWER3":"ON","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:37 MQT: Sonoff213/stat/RESULT = {"POWER3":"ON"}
14:59:37 MQT: Sonoff213/stat/POWER3 = ON
14:59:37 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T14:59:37","Uptime":"4T21:59:36","Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":34,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":88,"LinkCount":1,"Downtime":"0T00:00:06"}}
14:59:37 MQT: Sonoff213/stat/RESULT = {"POWER3":"OFF"}
14:59:37 MQT: Sonoff213/stat/POWER3 = OFF
15:00:37 MQT: Sonoff213/tele/HASS_STATE = {"Version":"6.6.0(release-sonoff)","BuildDateTime":"2019-07-06T13:24:42","Core":"2_3_0","SDK":"1.5.3(aec24ac9)","Module":"Generic","RestartReason":"External System","Uptime":"4T22:00:36","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:06","MqttCount":1,"BootCount":82,"SaveCount":2590,"IPAddress":"192.168.2.213","RSSI":"86","LoadAvg":23}
15:00:51 MQT: Sonoff213/tele/STATE = {"Time":"2021-05-17T15:00:51","Uptime":"4T22:00:50","Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":1,"SSId":"TIS","BSSId":"2C:91:AB:A0:A6:C0","Channel":6,"RSSI":86,"LinkCount":1,"Downtime":"0T00:00:06"}}

I meant the topics you need to use to tell the device to drive the relays.

Those are probably a clue. You possibly need to use the cmnd versions of those. I imagine the tasmota wiki has all that information on it.

I can't find them Colin so I couldn't make it work that way. Hence I didn't communicate via MQTT but tried with that node from node-red-contrib-tasmota.

Maybe someone else has a solution, please let me know!

node-red-contrib-tasmota uses MQTT. So anything it can do you can do using MQTT directly.
I see the Generic node in that package of nodes can send arbitrary MQTT messages, but that won't help you if you don't know what topics to use.

Is the topic not Sonof213/cmnd/ as shown in the admin screen of Tasmota:

Then when I watch with MQTT-FX I see Sonoff213/ cmnd/POWER1 to Sonoff213/cmnd /POWER3:

I (also) tried that topic, unfortunately without succes. If the topic is indeed Sonof213/cmnd/, do you know how to use it in Node-RED to switch the 3 separate relays?

OK first of all - looks like you are using an embedded node from the HA version of Node Red.

Secondly - it is EXTREMELY old build of Tasmota - i would update the image on the unit first.

Lastly - if you are using a Sonoff basic - i assume you realise that it only has 1 relay on the board - the other pins have to be wired up/soldered to - to enable you to access them for switching etc ?

Craig

You can't use the Sonoff node anymore because you flashed your Sonoff device with Tasmota, you have to use now MQTT or http

To send a command to Tasmota over MQTT you always need to use the cmnd topic, not the tele or state topic.

So in your case you have to send payload ON to the Sonoff213/cmnd/power1 topic for relay 1.

have you tried

topic = Sonof213/cmnd/POWER2
payload= "ON" or 1

Now I am using a Wemos D1 Mini with Tasmota latest version and 3 LEDs on D1, D2 and D3. The topic set in Tasmota is now "Zonnescherm" and no longer "Sonoff213". This all works well from the Tasmota screen, I can switch all the LEDs individually.

I have followed the advice to switch with the MQTT node. Unfortunately, it still does not work, not even with the advice you have advised.

Any help is welcome!

[{"id":"2b2a8e18.386cb2","type":"tab","label":"Tasmota","disabled":false,"info":""},{"id":"453bcff4.e5129","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":130,"y":60,"wires":[["b00c4295.fb856"]]},{"id":"b00c4295.fb856","type":"mqtt out","z":"2b2a8e18.386cb2","name":"","topic":"Zonnescherm/cmnd/POWER1","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e867dbc3.269d78","x":320,"y":60,"wires":[]},{"id":"e867dbc3.269d78","type":"mqtt-broker","name":"MQTT EchtSing","broker":"192.168.2.160","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]

Hello @HaVi ,

what is your %prefix%? You should include it to adress the device via MQTT .

Do you have a MQTT Explorer to check the complete adress and double check the commands to send?

Cheers
Ranki

Hi Ranki, is this screendump as generated by MQTT Explorer helpfull? It shows what happens if I press the 3 Toggle Buttons from the Tasmota screen. As you can see "Zonnescherm" is shown twice (top and bottom).

Hello @HaVi,

I am not at my computer now, but I guess your prefix is Tele and you are sending with prefix = stat. But I do not see why in your flow; have to import it at home. Maybe you can check on your own, if you find stat anywhere (maybe the MQTT-config node?).

What do you see, if you provide a message via node-red? Do you see the „stat“-messages are updating?

Cheers
Ranki

1 Like

The stat-message is indeed being updated and I think I have tried all the topics by now. It is time that I conclude my knowledge of NodeRED and MQTT is insufficient and that I should do this in a different way :upside_down_face:

Anyway thanks for your advice!

[{"id":"2b2a8e18.386cb2","type":"tab","label":"Tasmota","disabled":false,"info":""},{"id":"453bcff4.e5129","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":130,"y":60,"wires":[["b00c4295.fb856"]]},{"id":"b00c4295.fb856","type":"mqtt out","z":"2b2a8e18.386cb2","name":"","topic":"stat/Zonnescherm/POWER1","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e867dbc3.269d78","x":360,"y":100,"wires":[]},{"id":"65890aa.d97c5f4","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":130,"y":120,"wires":[["b00c4295.fb856"]]},{"id":"e867dbc3.269d78","type":"mqtt-broker","name":"MQTT EchtSing","broker":"192.168.2.160","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]

It isn't your knowledge of node red or MQTT that is the problem, it is the fact that you don't know what topic the device requires you to use in order to control the outputs. That is purely a Tasmota question. Have you got a link to the tasmota wiki page where it tells you how to switch the normal relay using mqtt?

Yes Colin switching one relay is no problem, the flow below works and switches the D1 pin of the Wemos:

[{"id":"2b2a8e18.386cb2","type":"tab","label":"Tasmota","disabled":false,"info":""},{"id":"453bcff4.e5129","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":150,"y":60,"wires":[["7db3e2ca.5e038c"]]},{"id":"65890aa.d97c5f4","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":150,"y":120,"wires":[["7db3e2ca.5e038c"]]},{"id":"7db3e2ca.5e038c","type":"Sonoff device","z":"2b2a8e18.386cb2","mode":"0","broker":"e867dbc3.269d78","device":"Zonnescherm","name":"","onValue":"ON","offValue":"OFF","cmdPrefix":"cmnd","statPrefix":"stat","telePrefix":"tele","x":420,"y":100,"wires":[[]]},{"id":"e867dbc3.269d78","type":"mqtt-broker","name":"MQTT EchtSing","broker":"192.168.2.160","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]

It uses the node from node-red-contrib-sonoff-tasmota. Following the above advice of edje11 I did not use this node although it works with one relay / LED (on pin D1).

When you use that to switch the relay, you should see what it is sending in MQTT Explorer.
[Edit] You should see two results in Explorer, you should see the command and then the response from the device showing the new state. It is the command you need, which will likely have cmnd in the topic. My guess is that it will start with cmnd.

1 Like

Below the result (MQTT Explorer) when I toggle button 1 in the Tasmota screen:

explorer

Yes Colin, that was the key to find the right topic. Solved! Thank you very much again.

For those with the same issue, here is the flow:

[{"id":"2b2a8e18.386cb2","type":"tab","label":"Tasmota","disabled":false,"info":""},{"id":"e4d312ed.a4c3a","type":"mqtt out","z":"2b2a8e18.386cb2","name":"D2","topic":"cmnd/Zonnescherm/POWER2","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e867dbc3.269d78","x":270,"y":220,"wires":[]},{"id":"6639171c.b9fbf8","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":110,"y":180,"wires":[["e4d312ed.a4c3a"]]},{"id":"5ef9d1e7.3f50f","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":110,"y":220,"wires":[["e4d312ed.a4c3a"]]},{"id":"36da8e16.52a2b2","type":"mqtt out","z":"2b2a8e18.386cb2","name":"D3","topic":"cmnd/Zonnescherm/POWER3","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e867dbc3.269d78","x":270,"y":360,"wires":[]},{"id":"f5aebae2.560e38","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":110,"y":320,"wires":[["36da8e16.52a2b2"]]},{"id":"aac5bed3.b9118","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":110,"y":360,"wires":[["36da8e16.52a2b2"]]},{"id":"43a121a4.1aaeb","type":"mqtt out","z":"2b2a8e18.386cb2","name":"D1","topic":"cmnd/Zonnescherm/POWER1","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"e867dbc3.269d78","x":270,"y":80,"wires":[]},{"id":"c2988cc2.14b6f","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"ON","payloadType":"str","x":110,"y":40,"wires":[["43a121a4.1aaeb"]]},{"id":"64bb0fcb.a108f","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"OFF","payloadType":"str","x":110,"y":80,"wires":[["43a121a4.1aaeb"]]},{"id":"c973f96b.791758","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"TOGGLE","payloadType":"str","x":120,"y":400,"wires":[["36da8e16.52a2b2"]]},{"id":"c4716bdc.2f0f98","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"TOGGLE","payloadType":"str","x":120,"y":260,"wires":[["e4d312ed.a4c3a"]]},{"id":"6764ec3a.6c7714","type":"inject","z":"2b2a8e18.386cb2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"TOGGLE","payloadType":"str","x":120,"y":120,"wires":[["43a121a4.1aaeb"]]},{"id":"e867dbc3.269d78","type":"mqtt-broker","name":"MQTT EchtSing","broker":"192.168.2.160","port":"1883","clientid":"","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]