Hi. I am using Blynk on a RP2040 running micropython. I need to stick to micropython for this project. Using the Blynk library from here: https://github.com/vshymanskyy/blynk-library-python/tree/master with a small modification to be able to run with asyncio (another requirement of my project).
If wifi is available and an internet connection is available all works great. However, how do I handle:
- No wifi network available? I can check when the code first runs for wlan.status() != 3, and set some flag. But even flagging out all the Blynk code my application does not run (not really sure why)
- Wifi network is turned off after initial connection made
- Wifi network connects, but no internet available
I would guess these are common scenarios, but unfortunately I cant find any solution. Blynk is the ‘icing on top’ for my project - so it is important it still runs with no wifi / internet / Blynk connection available.
Thanks for any help!