Hue Light Alert
ActionStep Reference » Home Automation » Philips Hue » Light » Hue Light Alert
The Hue Light Alert ActionStep configures the light to display an alarm effect, based on a set frequency of light signals alternating between on and off states.
- Open the Home Automation node in the Workspace Explorer.
- Open the Philips Hue node.
- In the Light node, select the Hue Light Alert ActionStep.
Parameters:
The ActionStep 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 light.
Allowed Context Scope [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Result, Enum] |
Alert
|
The frequency of light signals.
Allowed Values: None, Once, Multiple Allowed Context Scope [Fixed] |
Results:
The ActionStep returns the following results:
name
|
description
|
---|---|
Alert
|
The set frequency of the light signals.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Example 1 (Run alarm effect when the timer ends):
This example creates two local variables, ElapsedTime and AlertCount, with Number as data type. It then runs a timer with Stopwatch Start and sets the time from the ElapsedTime variable. When the timer ends, a loop blinks the light three times with 3 seconds interval per blink. A notice is then sent as voice message in Speech Output.
Example 2 (Run alarm effect when the sensor is on):
This example toggles the motion sensor and turns on the hue light multiple times when the state of the sensor is "On". The hue light is then turned off after a specified time and a voice message is sent via Speech Output.