github grzegorz914/homebridge-melcloud-control v4.10.13

5 hours ago

Fixed

  • RESTful / MQTT: after a network or power restart, the REST server returned "This data is not available at this time." for all endpoints and never recovered without a manual plugin restart; root cause: each retry attempt created a new Express server on the same port — the second and subsequent servers silently failed to bind (port already in use, no error handler), leaving restFulConnected = false, so all update() calls were skipped even after the device successfully reconnected; fixed by creating RestFul/MQTT instances lazily per device on the first successful registerDevice call and reusing them across all retry attempts via a deviceStates Map; the 'set' handler is attached once via an activeDevice reference updated only after a successful connect; applies to DeviceAta, DeviceAtw and DeviceErv

Full Changelog: v4.10.12...v4.10.13

Don't miss a new homebridge-melcloud-control release

NewReleases is sending notifications on new releases.