XenoGuard Documentation

Hue Bridge Get Devices

Actions » Home Automation » Philips Hue » Bridge » Hue Bridge Get Devices 

The action Hue Bridge Get Devices retrieves the list of lights and sensors registered in the Philips Hue Bridge.

[-] Hide
  1. Open the Home Automation node in the Workspace Explorer.
  2. Open the Philips Hue node.
  3. In the Bridge node, select the Hue Bridge Get Devices action.


The action has the following input parameters:

name Description
Hue Bridge
The control center for all smart-home devices.

Allowed Context Scope [Fixed]


The action returns the following results:

Hue Lights
The list of Hue lights connected to the Hue Bridge.

Allowed Context Scope [Fixed]
Hue Sensors
The list of Hue sensors connected to the Hue Bridge.

Allowed Context Scope [Fixed]

Example 1 (Verify the list of connected devices):

This example gets the list of devices that are connected to the Hue Bridge. It then checks if the list has been retrieved successfully and displays the notice in the "Then" branch via Message Box of the If ActionScript. Otherwise, the action in the "Else" branch is executed.

Example 2 (Display the number of connected lights and sensors):

This example connects to the Hue Bridge and retrieves the list of Hue lights and sensors. Both lists are iterated and incremented by 1 to get the number of lights and sensors. The total count is then displayed via Message Box.

See other Philips Hue operations:

Hue Sensor On/Off
Hue Light On/Off