Test build of 1.5.9.
🐛 Fixed
- A failed setup no longer leaves its websocket connected. While the cloud did not answer at start-up, each retry of the setup left one more websocket open, and pushes went to connections that no longer belonged to anything. The failed attempt now closes its connection. (#82, found in #81)
- A command the cloud refuses now shows an error. A switch or setting the cloud answered with an error code used to flip back with nothing said; it now reports "Error sending command to … : code N". (#82)
- A slow cloud no longer stops the setup. A cloud request now gets 30 seconds instead of 10: some accounts wait longer than 10 seconds at times, and setup kept failing for them. A request that never gets an answer still ends, and the entities go unavailable after 270 seconds at most. (#85, pybluetti 0.2.10)
🔧 Changed
- Debug logging includes the cloud requests and the code of every answer. "Enable debug logging" now also logs each request to the BLUETTI cloud, its HTTP status and the cloud's answer code (
msgCode), through pybluetti. (#82, #83)
Full Changelog: 1.5.8...1.5.9.b3