XenoGuard Documentation

Hue Light On/Off

Actions » Home Automation » Philips Hue » Light » Hue Light On/Off 

The action Hue Light On/Off toggles a light of the Hue as either turned on or turned off.


[-] Hide
  1. Open the Home Automation node in the Workspace Explorer.
  2. Open the Philips Hue node.
  3. In the Light node, select the Hue Light On/Off action.

Parameters:

The action has the following input parameters:


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

Allowed Context Scope [Fixed]
Light Name

The name of the hue light.

Allowed Context Scope [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Result, Enum]

State
The state of the light to set.

Allowed Values: On, Off

Allowed Data Type [Boolean]
Allowed Context Scope [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Result, Enum]

Results:

The action returns the following results:


name
description
State
The set state of the light.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Result]

Example 1 (Turn on the Hue light):

This example activates and outputs the state of the light. If the State of the light is "True", a voice message that the light is turned on is executed in the "Then" branch via Speech Output otherwise the voice message in the "Else" branch is executed.


See other Philips Hue Light operations: