My emonpi2 will not reconnect to wifi

Hi,

I have an emonpi2, without an ethernet port.

The Wi-Fi connection works fine most of the time, but if the connection drops ( e.g. router is restarted) , the Wi-Fi does not reconnect.

The only way seems to be to power cycle the emonpi2 (or enable ap mode and restart the whole connection process).

Either way it requires physical presence. Is there a config option I have missed to enable it to retry a failed connection. (On the basis that it can’t hurt, as it is just sitting doing nothing).

Thanks

Have you tried a search? I seem to recall seeing similar questions asked quite some time ago, I think the answer was to reset the WiFi with a Cron job, but I can’t remember the details.

I have a very early emonPi with a WiFi USB dongle and when that drops out, unplugging the dongle for 30 s or so is enough. I haven’t got around to finding a permanent solution.