Hi, I have a problem with mqtt and one ws2812 LED.
I built a LED strip into a picture frame as a status indicator. The LEDs are controlled by a nodeMCU and tasmota 6.41.
Now I have now and then a wildly shining LED. Apparently without a reason an LED lights up in any color. Maybe it’s a tasmota problem. But it only appeared after the pimatic update yesterday. I have changed from 0.9.42 to 0.9.47, with node 4.6.2 and npm 2.15.11.
Everything else obviously runs without problems. Thanks @mwittig.
Now I looked at the problem in the terminal with mosquitto_sub.
pi@rpistrech:~ $ mosquitto_sub -v -t cmnd/node1/led12
cmnd/node1/led12 000000
cmnd/node1/led12 true
cmnd/node1/led12 false
cmnd/node1/led12 true
cmnd/node1/led12 false
First he shows me the right attitude. After some time I get the output “true”. A little later he shows me “false”. With “false” this LED goes on. I have set this LED to 000000 via a terminal and sent retain with it. Even without success.
Can someone help me and tell me why that is. And how I can change it.
Edit:
Also in the console of tasmota he shows me this change. But I don’t know where it comes from. I don’t have a rule that sets this LED to this color.
17:50:00 MQT: stat/node1/RESULT = {"Led12":"FA0000"}
17:50:25 MQT: stat/node1/RESULT = {"Led12":"000000"}
19:28:09 MQT: stat/node1/RESULT = {"Led12":"000000"}
19:28:25 MQT: stat/node1/RESULT = {"Led12":"FA0000"}
19:30:11 MQT: stat/node1/RESULT = {"Led12":"000000"}
19:30:40 MQT: stat/node1/RESULT = {"Led12":"FA0000"}