Home Assistant has some built in functionality for generating a new user and connecting to a Hue system. The built-in api debugger for a Philips Hue bridge Register Home Assistant with the Philips Hue bridge This username can then be used in the API-calls. The response from the request returns a guid-like username. A new user resource is generated by the API if you press the button on the bridge and then make a special post request to the API. The operations through the Philips Hue API require a valid user-token. Philips Hue and Home Assistant Authorization ![]() My bulbs are the least expensive: warm white lights that can be dimmed. The more advanced have can shift color or change the type of white light that is emitted. There are different types of Philips Hue bulbs. A Philips Hue bridge and two warm white smart E27 bulbs The Hue system can be extended with light switches, dimmers and sensors (that are connect with Zigbee), but I use only software for controlling my lights. Another benefit with Zigbee bulbs compared to WiFi bulbs is that Zigbee bulbs can have a better operating range as they use a mesh network that can relay signals from other Zigbee nodes. As the light bulbs are using Zigbee and are not WiFi connected, the power consumption for the bulbs while they are idle is quite low. The bridge communicates with the light bulbs with Zigbee signals. The Hue bridge has a REST api that is used by different apps (like the official Hue app) for controlling the lights. The Philips Hue system consists of a LAN-attached bridge and a set of light bulbs. I was surprised at how straightforward it was to configure the system and after testing that the light bulbs worked fine in in sub-zero temperatures, I decided to invest in Hue light bulbs for all of my so-far-not-remotely-controlled outdoor light sources. I started out with two warm white Philips Hue bulbs and a Philips Hue bridge. I considered mounting Qubino Z-wave relays but as I don’t like messing around with 220V cables I decided to try out some remote-controlled light bulbs instead. The indoor- and garden lights are automated by 433MHz outlets as described in this post: Home Assistant – integrating RESTful switches, but the lights sources mounted on the outside of the house and the garage (7 in total) had no automation until a few weeks ago. To remedy Darkness, we have many light sources that brighten up the garden, garage and the house. We love the peace of living close to nature, but during a few months of the year it’s really pitch black outside for most of the day. We live in the countryside – no street lights and with neighbours quite far away. ![]() In an upcoming post I will describe how you can make your own web app for interacting with the light sources via the Hue API. In this post I will show how I have configured Home Assistant for controlling my Philips Hue lights with automation. There is a large set of 3rd party apps that can be used for interacting with the Hue system, but as my home automation system is based on Home Assistant, I use HA as the main controller for Hue. With the Philips Hue app it is very easy to set up a new system and adding new light sources is a breeze. Philips Hue is a line of wireless light bulbs that are controlled with Zigbee signals from a LAN-attached Philips Hue bridge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |