Skip to main content

iRidi for Philips HUE

A toolkit for creating control interfaces for Philips HUE equipment

Documentation updated 01.01.2024

iRidi for Philips HUE is a toolkit for creating a home or office control interface based on equipment using the Philips HUE protocol.

Tested equipment:

  • Philips HUE Bridge 324131201801,
  • Lamp: LCT007, LCT001.
Important

Not all Philips HUE bulbs support the full color palette. The tested bulbs listed above work only within the following color range:

PhilipsHUE6.png

Connection​

iRidi-based devices connect to Philips HUE devices over TCP. Commands are sent as HTTP requests.

Philips HUE configuration​

To connect to the equipment:

  1. Switch on the bulbs;
  2. Switch on the hub;
  3. Open the Philips HUE mobile application;
  4. Add the bulbs to the hub (press the button on the hub during scanning);
  5. Add rooms/zones and the required scenes within them in the application, and assign bulbs to the zones/rooms;
  6. Run scanning in Studio (press the button on the hub during this scan as well).

Configuration in iRidi Studio​

Create a new project and add the Philips HUE driver using the scanner:

Scanning devices​

  1. Create a Panel Project or a server project.

  2. On the Devices tab, open Scanner / Import and select Philips Hue Scanner .

PhilipsHUE1.png

  1. In Philips Hue Scanner, select the search type: Search type - Direct to search by IP address, or leave Search type - Auto to search the local network automatically. Click OK in Studio and press the button on the Philips Hue Bridge.
Note

If the buttons on 2 Hue Bridges are pressed at the same time, the first one to send a response packet is found. The scanner automatically retrieves lamp, room, zone and scene names from the Hue App settings. Scene names include the name of the room/zone in which they are configured, for example: "Bedroom Osaka".

PhilipsHUE2.png PhilipsHUE02.png

  1. Add the required discovered devices to the project.

PhilipsHUE3.png

Synchronization​

You can synchronize the Philips Hue Network driver to change the subdevice list, for example to add or remove a lamp or update subdevice information after renaming it in Hue App.

  1. Select Philips Hue Network in the device tree

  2. Click the synchronization button

Philips_Hue_Syncs01.png

  1. Select the search type in Philips Hue Scanner

  2. Click OK in Studio and press the button on the Philips Hue Bridge

  3. Select the subdevices to add or update and click OK

Philips_Hue_Syncs02.png

Note

Note: Renamed and synchronized subdevices are added to the device tree as new devices.

Philips_Hue_Syncs03.png

All links configured for the subdevice under its old name are retained. Links are not transferred automatically to the renamed subdevice.

Philips_Hue_Syncs04.png

You can manually change the links by selecting the synchronized subdevice as the new destination, then safely delete the subdevice with the old name.

Connection settings​

After scanning the devices, the Philips Hue Network driver is added to the project. All driver settings are taken from the Philips HUE application by default. You can change Host, Log Level and SSL for the Philips Hue Network device if needed

The following driver settings are available:

PhilipsHUE4.png

  • Log Level - logging level;
  • Host - Philips HUE Bridge IP address;
  • Password - password, populated automatically by the scanner;
  • SSL - encryption method;
  • Keep Alive - TCP connection check interval. If a Keep Alive request receives no response, the driver is forcibly disconnected;
  • Driver Version - 1.

PhilipsHUE5.png

Subdevice settings:

  • Name - the subdevice name;
  • Driver Type is the driver type;
  • Device ID - individual device ID (populated automatically by the scanner);
  • Device Type - the device type.

Commands and status feedback​

SendRecieve.png

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.

For more information about graphical items, see Graphical item types.

The available command and feedback channel settings are shown below:

Lamp​

Command:

ChannelValue *Description
On/Off1/0Switch the bulb on / off.
Brightness0 - 100Bulb brightness
Color Temperaturefrom 2000 to 6500Color warmth.
ColorColor value converted to decimalBulb light color (both RGB and RGBA values are processed).
  • Value - specify this when dragging the command onto a graphical item.

Feedback:

ChannelValue *Description
On/Off1/0Bulb status (on/off).
Brightness0 - 100Bulb brightness
Color Temperaturefrom 2000 to 6500Color warmth.
ColorRGBColor value in decimalRGB bulb light color.
ColorRGBAColor value in decimalRGBA bulb light color.
  • Value - the value received from the equipment.

Scene​

Command:

ChannelValue *Description
Call Static Sceneany valueActivate a static scene.
Call Dynamic Sceneany valueActivate a dynamic scene (bulb colors cycle between the colors configured for the scene in the HUE application).
  • Value - specify this when dragging the command onto a graphical item.

Zone​

Command:

ChannelValue *Description
Zone name + On/Off1/0Switch the bulbs in the zone on and off.
  • Value - specify this when dragging the command onto a graphical item.

Feedback:

ChannelValue *Description
Zone name + On/Off1/0Status of the bulbs in the zone (feedback returns 1 if at least 1 bulb in the zone is on).
  • Value - the value received from the equipment.

Room​

Command:

ChannelValue *Description
Room name + On/Off1/0Switch the bulbs in the room on and off.
  • Value - specify this when dragging the command onto a graphical item.

Feedback:

ChannelValue *Description
Room name + On/Off1/0Status of the bulbs in the room (feedback returns 1 if at least 1 bulb in the room is on).
  • Value - the value received from the equipment.