Hueblog: New API makes interaction with Philips Hue faster

New API makes interaction with Philips Hue faster

Developers have to make adjustments

A lot has happened at Philips Hue in the past weeks and months. For users, this was primarily visible through the much-discussed update of the Philips Hue app, but a lot has also happened in the background. Philips Hue has comprehensively revised the API, the interface for requests and responses to the Hue Bridge.

In particular, the response times have been significantly improved. What exactly is meant by this can be explained with a simple example: If you switched a lamp on or off with a Hue switch, it used to take a few seconds until the current status was displayed in the Hue app.


New Hue API offers push message instead of pull command

The previous API could not tell you when the status of a light had changed. Instead, it was always necessary to ask whether something had changed. For example, an app previously had to send a request to the bridge every five seconds: “Has the status of the light changed?” The answer used to be “No”, or “Yes, the light in the kitchen is now on.” This method naturally led to certain delays.

With the introduction of the new API, this has changed. Now the Hue Bridge can send messages to apps and other smart home systems. For example, an app no longer has to ask every few seconds if something has changed. Instead, it receives a message from the Hue Bridge immediately after the change: “The light in the kitchen is now on.”

Developers of apps or smart home systems first have to integrate the new API. But you can already see how quickly the Hue Bridge communicates changes in the new Hue app. There, it only takes a moment for the status of the light to be displayed correctly after you have changed it via a switch.


In den letzten Jahren habe ich mich zu einem echten Experten in Sachen Hue & HomeKit entwickelt. Mittlerweile habe ich über 50 Lampen und zahlreiche Schalter im Einsatz. In meinem kleinen Blog teile ich meine Erfahrungen gerne mit euch.

Comments 2 replies

  1. Do you have a source for this information? Would love to play with the new API.

    I know there are rumors for quite some time now, about that Philips is about to release a new API, but I haven’t seen any official announcement yet. Also there is no mention of this in the official Hue developer documentation. Officially, polling seems still to be the only way to get updates.

    The fact that the new app is using already a new version of the API is likely, but big question is when others can (officially) use it.

    1. What I think for the moment is that the new API is not yet public, seems that there are some developers with early access at the moment.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2021 hueblog.de