Processing of Events etc only every second?

Hi Guys,

I’m relatively new to HA. I have been a long time user of OH and I am making the switch for various Reasons.

So far my HA experience has been a blast. The functionality of the iOS App alone blew my mind.

Now there is one thing that needs clarification for me. Working with the Hue Integration lead me to a thread where it was mentioned that the lowest possible polling rate is 1Hz because that’s the precision that HA works with and Events are only fired once a second. Is this true for everything? Automations, updating of groups etc?

Let’s take an example: I am now getting push updates from my hue sensors via the HomeKit Controller Integration. Two of those Sensors are combined in a group template which does fire a light automation.

Now if everything always just happens with an update frequency of 1Hz at the start of a new second the following would be true:

Hue Motion Sensor push : 10:15:00,01 -> update of group template-> 10:15:01-> firing of Automation- 10:15:02.

This would be a huge delay. Am I completely misunderstanding something?

I’m by no means an expert, but as the Hue integration is a local polling integration i assume it only polls at a frequency of 1 second.

Home Kit is local push so will update HA as it gets an event.

There is no delay in HA. As soon as HA has the info, the automation is triggered.

Apparently the Hue integration polls every 4 seconds but you can decrease it to every one second with HACS add-ons. But for some reason you can’t poll it more often. OH for example polls Hue Sensors every 500ms. Local push of course is the better Solution hence why i now use HomeKit for the sensors.

But it’s good to know that automations are triggered right away. Even if it first needs to update the group template?