ESP8266 WIFI do not re-connect to raspberry after supply interrupt
I use my project of watermeter with NodeMCU, raspberry Pi3 and Domoticz :
That work well during long time, it's reliable and and connect quickly to the RPi3 when the RPi3 is running normally.
BUT if after a power outage for the whole house, the RPi3 reboots and at the same time the NodeMCU also, then WiFi communication is not done. I have to restart the NodeMCU separately when RPi3 is in normal operation again.
It's necessary to change setup in my sketch but where ...?
NodeMCU ESP 12E
Philippe ... newbie (!)
@marsault6 you are running an old mySensors installation.
You could try upgrading to the latest 2.3.1 and see if things improve.
Could be related to https://github.com/mysensors/MySensors/issues/788
This post is deleted!
@marsault6 OK, in fact I re-install Arduino IDE 1.8.8 (latest) with Mysensors 2.3.1 and that compile now without errors ....:!
Next step, I will test to see if ESP8266 recovers after AP shutdown ...
@marsault6 I prepared a pr, referenced from the issue, that fixes the crash at my setup. It's not the optimal solution, but seems to do the trick.
If you're handy with installing your own libraries you could give that a try.
Update: the fix has now been merged into development: https://github.com/mysensors/MySensors/tree/development