Note: This documentation refers to Gravio 3.8 or older. For Gravio 4 or newer, please refer to the respective documentation on doc.gravio.com . |
The Gravio Light component allows you to turn Gravio Light on / off and change the colour and brightness.
To use this component, you need to pair Gravio Light in advance.
Component Properties
Light selection formula | Use the “Light selection formula” to define, which light bulb is being operated. This is only used if you have more than one Gravio Light and want to control individual Lights. See below for more details. |
---|---|
Is On | On / Off designation |
Hue | Color specification (select from Red, Yellow, Green, Blue) |
Brightness | Select brightness (select from 0 to 255) |
Light Selection Formula Property
When you are pairing your Gravio Light with the Zigbee dongle, you have the opportunity to give your Gravio Light a name. To do this, click the Edit button in the Zigbee devices overview:
Give it a meaningful name, e.g. for example its purpose and confirm the new name:
Now, you can use Regular Expressions in the Light Selection Property. For example:
^Status Light 1$
will specify the light with the very nameStatus Light 1
from start to end^Status Light
will specify all lights that start withStatus Light
, so potentiallyStatus Light 1
,Status Light 2
,Status Light 3
,Status Light 4
and so on^Status Light [1-3]
will specify all that start withStatus Light
and are followed by the number1
,2
or3
For more details on Regular Expressions, please consult websites such as https://regexr.com/