Hey there, @louloulepou ! Hope you’re well
To answer your general question:
From my usage, the delay is < 1 second for both short and long presses; I would say between using the remote through this blueprint versus just the native Hue hub itself the delay is basically indistinguishable.
Here are some potential configuration differences that could be causing issues:
- Using HomeAssistant versions Pre 2021.12
- The 2021 December release introduced support for Hue API V2, which supports event-based messaging instead of the previous polling mechanism. This improves both performance of the Hue bridge as well as Home Assistant’s response to changes (e.g. dimmer remote button presses!)
- Having a very large amount of devices on the Hue bridge
- Pretty much self-explanatory. The bridge only has so many resources so if there are a ton of devices connected to it that could affect performance and user experience
- Home Assistant server resource overload
- Just like the Hue hub, whatever you’re running Home Assistant on could be bogged down by having too many processes, entities, etc., running on it at once.
For debugging this, I would just try disabling automations created with this blueprint and hooking up a scene/light in the Hue app. If it’s faster there then the issue can be narrowed down to most likely limited resources on Home Assistant. If it’s still slow there, then you’ll know it’s the Hue hub itself.
For the second part, take a look at the following from Hue V2 API:
There is a 1 second rate limit on the amount of event containers the Bridge will send. If the same property has changed twice within that timeframe, you only get the last state. If multiple resources have changed within that timeframe, then you will get multiple events grouped in a single container.
Reference (requires sign up/login): Hue V2 API section on events.
If triggering multiple events within < 1 second, only the last event will actually make it into Home Assistant. This could potentially cause an issue if attempting to run more events than the rate-limit will throttle. In this case there’s not much that can be done, since Home Assistant will be receiving events after the throttle.
Recommendation: if you need to support sub-second presses of different buttons, use a different method to connect the remote (e.g. manually connecting to a zigbee radio that’s directly connected to Home Assistant). Or, potentially a workaround involving a different approach via software.
On the software front: if you want to just have a repeat action with a single button, check out the blueprint addition from @lksnyder0 ; just be sure to not have long-press actions set up for a given button simultaneously! It also gets throttled due to the outline integration limitation… but it’s much easier to use than button-mashing!