ESP12E + Tasmota + Node-Red

Hello Everybody,

I have installed Tasmota fw on ESP12E and i am using n.4 outputs, then I configured mqtt server on Hassio and I am able to turn on/off the outputs using Hassio dashboard.
Now, I installed node-red and tasmota “node-red-contrib-sonoff-tasmota”, I configured the sonoff node to activate output 4 but it doesn’t work. I am not able to understand how to compile the data.

The topic reported to the sonoff webpage is “sonoff”. I know that in Tasmota fw the output 4 is mqtt POWER4.

The string should be cmnd/sonoff/POWER4 = ON . Am I wrong?

.

Is there anybody that can help me to urderstand what i did wrong?

Have you considered using the SetOption command from the tasmota interface console to turn on Home Assistant auto-discovery for MQTT?

Do you mean SetOption19 1? Yes, I did it. Using Hassio-Tasmota everything works fine. The problem is that I am not able to create a node-red flow that can activate a Tasmota output.

Do you know how to set-up the tasmota output on red-node?

Haven’t done that yet.

Sorry, I don’t understand… What do you mean?