Create a Device Status Feedback Loop in Homebridge using Event Messages #303
JasonGoldenDDT
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I continue to struggle with LG's servers providing timely responses to requests. I've had to disable this plugin because I can't rely on it to control my LG window AC.
In researching alternatives, I found a reference to "Device Events" in their development documentation and I'm wondering if this plugin could be modified to allow a user to subscribe to these event messages and create a feedback loop with other homebridge plugins.
https://thinq.developer.lge.com/en/cloud/docs/thinq-connect/api-reference/event-api/#22
Example: I use Broadlink RM Pro to send IR commands to the AC, providing local control over LG's server reliant solution.
However the biggest challenge with this setup is keeping the device in sync with automation. If the IR command is blocked or not picked up for what ever reason then Homebridge/Homekit falls out of sync.
Ideally this plug in could allow me to subscribe to device event messages, when the device says "I turned on" I can see this status in homebridge/homekit and use it to keep things in sync.
Given much of these message appear in the logs under normal operation of the plugin, can they be exposed as a "sensor" I can tie HomeKit automations to? A switch that turns on / off when an event message is received?
Thank you for your work on this plugin and considering this idea.
Beta Was this translation helpful? Give feedback.
All reactions