Im trying to get my Hue smart Buttons to function properly i HA, however i am experiencing some quite significant delay when using the button.
When i add the button through the Hue App, i get aroung 3-6 sec delay i HA from when i press the button to HA “seeing” the press.
If i setup the button in the Hue app, events triggers instantly. The same is true if i add the button through deconz.
Does anyone have any idea on why there is this delay when using smart buttons added through the Hue App?
The Hue API doesn’t support push, so the hub has to be polled to get events/state updates. Home Assistant polls the hub every 5 seconds, so things like button presses will take up to 5 seconds for home assistant to know about them. If you connect the hub via HomeKit controller the hub will push state updates. However, support for button press events hasn’t made it to HomeKit controller in the stable version of home assistant yet, but it very well might make it in 0.116 since it’s been merged into dev.
Is it possible to use the Hue Smart Button to trigger a Home Assistant script? I’m looking for a small, aesthetically pleasing z-wave button. I don’t want to deploy zigbee or build an esphome device at this time.
My HA script turns on backyard lights for 30 minutes while the dogs “do their business” and then turns the lights back off. These backyard lights are not Hue compatible. I have the script exposed via the HomeKit component, but would like to just leave a smart button on the coffee table vs powering up my phone or iPad.