What's Changed
- Fixed crash "WebSocket was closed before the connection was established".
- Fixed reconnects failing permanently after the access token expired.
- Fixed 15s keepalive timer that kept running after Homebridge shutdown.
- Fixed stalled TCP handshake on initial connection.
- Fixed undetected half-open connections where the plugin appeared connected while silently receiving no device updates. Ping/pong monitoring now detects this and reconnects.
Special thanks to @mpatfield for diagnosing this issue in #120
Full Changelog: v4.3.0...v5.0.0