nVuln / homebridge-lg-thinq

A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
https://github.com/nVuln/homebridge-lg-thinq
Apache License 2.0
196 stars 49 forks source link

Fix the frequency of AC temperature update #292

Closed aabdellah closed 6 months ago

aabdellah commented 6 months ago

This PR fixes an issue with the temperature update where it takes a lot of time to update sometime up to hours or days without opening the LG app. The correct endpoint to send MQTT commands to the device is /control not /control-sync as implemented on this fix.

The fix implements the following as well:

Please review and let me know if things could be implemented in a better way and I would be happy to update as needed.