Closed Spartan-II-117 closed 3 years ago
talking to a python dev co-worker, I might have figured out a way to make this a bit cleaner, I will try tonight
the changes i could think of had no effect. I welcome improvements from anyone else, this code does work, but with each restart starts showing "WARNING asyncio socket.send() raised exception." it does reconnect successfully and continues to pass reports to MQTT
@Spartan-II-117 i've done it bit differently but similiar to your solution, thanks
I have been having frequent wifi dropouts on my VTO, and many of them restart on a schedule. so i hacked on this until i could get it to reconnect. if someone knows how to do this properly, please feel free to reject this and do it right.