I had created an infinity mirror clock a few years back, and recently decided to upgrade it with an ESP8266 - basically to get time from an NTP server and some basic MQTT control.
Unfortunately, I’m running into a small problem. Every time my router is down, or reboots - the clock does not connect again until I physically switch if off and on. Here is the code I’m using:
Any help would be appreciated