I have one ESP that sometimes hang, and need some love then. But an other ESP is running with an 7dgt on it showing the temperature. Now it shows continue the old value untill received new data. Thought I had an solution with rules but I can't get it to work. On startup showing boot till first data received works fine. Here my code:
Code: Select all
on MQTT#Buiten do
timerSet,1,90
endon
On Rules#Timer=1 do
7dtext,lost
timerSet,1,0
endon
The "on MQTT#Buiten do" and "7dtext,lost" are the only lines i know for sure they work, because they work in a other rule.
Can someone help me please?