---
title: "Example of PhilipsHue"
canonical: "https://docs.cuesystem.com/space/CVCDD/447971367/Example%20of%20PhilipsHue"
format: markdown
---
# Archive Content

- Project file HueTest.cvcp
- Device driver Philips_Bridge_Hue_Zigbee_IP_Bridge_Tcp_Client_1.0.cvcd
- Device driver Philips_Hue_Bulb_Extended_Color_Light_Other_1.0.cvcd
- Device driver Philips_Hue_Bulb_ Color_Light_Other_1.0.cvcd
- Device driver Philips_Hue_Bulb_ Dimmable_Light_Other_1.0.cvcd
- Philips Hue CUE Device Driver User Guide

# Configuration

Project configuration contains the following items:

1. touchCUE-7 (CS0451)
2. Hue Zigbee IP Bridge device driver
3. Hue Extended Color Light Bulb
4. Hue Color Light Bulb
5. Hue Dimmable Light Bulb

The items in the project are connected as follows.

![image](media://f38c9e36-0e8a-43ec-81a5-27acf16a4c99)

# Bridge Properties

Change IP **Address **and **Port **number to match the real values of your physical Hue Zigbee IP Bridge unit. For how to get these data, see the section [Getting Started](https://cue.atlassian.net/wiki/spaces/CVCDD/pages/447348758).

![image](media://d5891e57-2c96-4144-b261-32f666435838)

# Bulb Properties

Change **Id **of the bulb to match the real value of your physical Hue bulb. The ID of Philips Hue Bulb is assigned by Philips Hue ZigBee IP Bridge. See Hue mobile app for your bulb IDs.

![image](media://799e198c-a90a-4d9a-957d-7c98e81e3222)

# Design

Touch panel design contains one page with three light sections. Light 1 represents Extended Color Light bulb and in addition to On / Off / Status buttons has brightness (bri), hue, saturation (sat) and color temperature (ct) slider controls.

![image](media://13a15e3f-5fb9-4187-b54a-09d3823a73b2)

Light 2 and Light 3 control elements control Color Light and Dimmable Light bulb respectively.

At the very beginning it is necessary to create a user. Modify the parameter *username *of the function Bridge1.Hue1.CreateUser(…) to suit your needs. Do not forget to fill out the same user name in the properties table of Hue Zigbee IP Bridge device driver. Press the link button on the bridge and then run the application and push the Create User button once. From now on, the new user is authorized to operate the Hue equipment.

# Resources

- Philips Hue personal wireless lighting system [http://www.meethue.com](http://www.meethue.com/)
- Philips Hue developer website [http://www.developers.meethue.com](http://www.developers.meethue.com/)
- HSL and HSV color space representations [http://en.wikipedia.org/wiki/HSL_and_HSV](http://en.wikipedia.org/wiki/HSL_and_HSV)
- Colortemperature [http://en.wikipedia.org/wiki/Color_temperature](http://en.wikipedia.org/wiki/Color_temperature)