
I'm increasing the number of devices in my network. Two of them has poorly wifi connection.
During boot, node 107 takes almost 10min to establish a connection. Afterwise, it operates smoothly.
I thus have two problems to solve:
1) In case of power failures, 107 is an external light that boots in off state and don't turn on again. I was hopping that retaining flag from MQTT would restore its last state. However, I can't get it to work. Am I wrong, or it MQTT should handle it itself?
2) During those 10min in which ESPEasy is trying to connect, I try to turn the lights on using P2P. However, it doesn't respond to P2P. I try to:
Code: Select all
sentTo 107,"gpio,12,1"
Since this is an external light, I must find a way to get it back on as soon as possible.
Any help is appreciated.
PS: Just to reinforce, since it is an external light, it only turns on during twilight.