tuyapi icon indicating copy to clipboard operation
tuyapi copied to clipboard

Device Reconnect

Open kraineff opened this issue 3 years ago • 1 comments

It would be nice to add an option in the constructor for Reconnect on "error" or "disconnected" states!

kraineff avatar Dec 15 '21 00:12 kraineff

If you're using the event-based API I believe the current approach is to let you handle this yourself. I would be willing to accept a PR that attempts to reconnect after a disconnected event.

codetheweb avatar Dec 18 '21 17:12 codetheweb