The “droplit-plugin-philips-hue” plugin allows control of Philips Hue light bulbs.
Philips Hue light bulbs use a special bridge proxy called the Hue bridge. The Hue bridge works with any light that uses ZigBee Light Link, such as the CREE LED bulb.
As a security measure, the Hue bridge will only work with devices that have registered with it. In order for this plugin to work, it must therefore register the Edge with the Hue bridge.
Use the following process to register the bridge:
- When the Edge starts running, it will discover the Hue bridge. The “BasicAuthBridge.authenticated” property will be “false”.
- Press the “Link” button on the physical Hue bridge.
- Call the “BasicAuthBridge.register” method. This method must be called within 30 seconds of pressing the “Link” on the physical bridge.
- This should register the bridge. If successful, a property changed notification will appear. This notification should indicate that “BasicAuthBridge.authenticated” is “true”.
Once this registration process is complete, the Edge will start discovering Hue bulbs.
Register the Edge server with the Hue bridge.
Switch a device on or off.
Set the color temperature warmer or cooler.
Set the brightness of a switch.
Set the light color using HSV values.