Blynk Connection

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
segallis
Posts: 2
Joined: Tue Feb 09, 2021 8:01 pm

Blynk Connection

Post by segallis » Sat Feb 20, 2021 1:01 am

I am using an ESP8266 as an IOT controller. All is working, but I need to make it bulletproof. If my local blynk server is down whne the ESP8266 powers up, it exits micropython with an error.

I'm looking for a way it will loop/wait indefinitely for the blynk server to come up (without overloading the stack like my recursive try/except loop does).

I would also like a similar indefinite loop/wait if the server goes down at a later time.

Any help would be much appreciated!

-Greg

Post Reply