You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work on the component, but I was wondering if you had given any thought on using the linktap callback feature for state updates.
I've been playing around with this:
You could allow an optional config on adding a gateway, which would register a webhook. I am not positive if there is a local http api to SET that but I would imagine so if its being set in the web interface. The json data coming in from the webhook is identical to that from polling but almost instant and does not require any polling or retrying.
Just a first pass to setup the webhook is what I came up with below, but would still need to connect it to the coordinator for updates
Hello there,
Great work on the component, but I was wondering if you had given any thought on using the linktap callback feature for state updates.
I've been playing around with this:
You could allow an optional config on adding a gateway, which would register a webhook. I am not positive if there is a local http api to SET that but I would imagine so if its being set in the web interface. The json data coming in from the webhook is identical to that from polling but almost instant and does not require any polling or retrying.
Just a first pass to setup the webhook is what I came up with below, but would still need to connect it to the coordinator for updates
The text was updated successfully, but these errors were encountered: