Advertisement

Until the release of Home Assistant Core 2021.6, Philips Hue and Home Assistant already had a solid integration that didn’t rely on any cloud services and could function without either being connected to the internet. Using a local API, Home Assistant Core would simply ask the Philips Hue bridge what the state of any connected lights and sensors were. While local control is in any case a good thing and preferable to cloud control, the way the Philips Hue integration was handled thus far wasn’t perfect.

Advertisement

The process just described is called polling, and it can lead to slight delays in response times because the Philips Hue integration with Home Assistant required the latter to check the hub for any changes. The alternative to polling, is pushing. As the name suggests, when pushing is used, the device in question, in this example a Philips Hue hub, will push a state change to Home Assistant as soon as it occurs.

As of Home Assistant Core 2021.6, the Philips Hue integration will support local pushing, a significant upgrade on local polling. From a user’s point of view, this change has no negatives. The configuration does not have to be adjusted, and response times will improve just by updating to the latest version of Home Assistant Core.

Advertisement
Advertisement
Liam Alexander Colman, the author and maintainer of Home Assistant Guides.

About Liam Alexander Colman

Liam Alexander Colman has been using Home Assistant for various projects for quite some time. What started of with a Raspberry Pi quickly became three Raspberry Pis and eventually a full-blown server. I now use Unraid as my operating system and Home Assistant happily runs in a Docker container. My personal setup includes many Zigbee devices as well as integrations with existing products such as my Android TV box. Read on to find out more on how I got started with Home Assistant.

6 thoughts on “The Philips Hue integration with Home Assistant is about to become faster”

  1. Will push only be used for state changes to lights, or will sensor state changes be pushed as well?

    The polling of sensor state is a main reason why people use Zigbee USB sticks instead of the Hue Bridge for sensor automations.

    Reply
    • The way I read it on the HA website, it is available for everything. I’d still rather use Zigbee2MQTT though, as I can connect just about everything to it.

      Reply

Leave a comment

Advertisement