Hi,
Using node-red version v1.3.5 on a raspberry PI, I have a problem with a Tasmota device (Shelly) which I connected to node-red:
On startup of the device, and sometimes during the day the devices turns off both power switches due to an invalid command:
10:10:22.704 SRC: MQTT
10:10:22.707 CMD: Grp 0, Cmd 'BACKLOG POWER1 ON; PWÔWER2 ON', Idx 1, Len 1, Pld 1, Data '1'
10:10:23.001 MQT: stat/BoilerAnbau/RESULT = {"Command":"Unknown"}
10:10:23.042 SRC: MQTT
10:10:23.044 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 22, Pld -99, Data 'POWER1 OFF; POWER2 OFF'
10:10:23.092 SRC: Backlog
10:10:23.094 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 3, Pld 0, Data 'OFF'
10:10:23.098 MQT: stat/BoilerAnbau/RESULT = {"POWER1":"OFF"}
10:10:23.101 MQT: stat/BoilerAnbau/POWER1 = OFF
10:10:23.103 SRC: MQTT
10:10:23.105 CMD: Grp 0, Cmd '', Idx 1, Len 9, Pld -99, Data 'POWER1 ON'
10:10:23.110 MQT: stat/BoilerAnbau/RESULT = {"Command":"Unknown"}
10:10:23.142 SRC: MQTT
10:10:23.144 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 3, Pld 0, Data 'OFF'
10:10:23.149 MQT: stat/BoilerAnbau/RESULT = {"POWER1":"OFF"}
10:10:23.152 MQT: stat/BoilerAnbau/POWER1 = OFF
10:10:23.193 SRC: MQTT
10:10:23.195 CMD: Grp 0, Cmd 'POWER', Idx 2, Len 1, Pld 0, Data '0'
10:10:23.201 MQT: stat/BoilerAnbau/RESULT = {"POWER2":"OFF"}
10:10:23.203 MQT: stat/BoilerAnbau/POWER2 = OFF
10:10:23.426 SRC: Backlog
10:10:23.428 CMD: Grp 0, Cmd 'POWER', Idx 2, Len 3, Pld 0, Data 'OFF'
10:10:23.433 MQT: stat/BoilerAnbau/RESULT = {"POWER2":"OFF"}
10:10:23.437 MQT: stat/BoilerAnbau/POWER2 = OFF
10:10:25.232 QPC: Reset
Problem is the expression "PWÔWER2" in the 2nd line above. I suspect that this wrong command is somewhere cached in node-red. I experimented with this command once and apparently made typo, but then later removed it everywhere.
Here is what I already tried:
- re-create all "BoilerAnbau" nodes -> no success
- re-create the mqtt server -> no success
- searched ALL flows for the wrong command above -> not found
- factory reset of the tasmota device -> no success
- stopped node-red (using node-red-stop) and restarted tasmota device -> error still shows in the console
- disabled mqtt in tasmota device -> error does not show
- intentionally configured a wrong MQTT IP address in Tasmota device -> error does not show
It seems strange to me, that the error shows up, when I stopped node-red, but not when a wrong IP adress was configured!
Is there anybody who can help with that problem?
Thanks
Heinz