User Guide
Standard NetLinx API (SNAPI) R 1.8.0
70
Component Functions:
Name: Channel: Level: Command: Constant: Notes:
getLightLevel(index) ?LIGHTLEVEL-<index> Query for the level of a light for the light at index <index>, responds with LIGHTLEVEL-
<index>,<level> where <level> is 0-255. This command is relevant for light loads only.
isLightOn(1) ?LIGHTSTATE-1 Query status of Light Preset 1
isLightOn(10) ?LIGHTSTATE-10 Query status of Light Preset 10
isLightOn(11) ?LIGHTSTATE-11 Query status of Light Preset 11
isLightOn(12) ?LIGHTSTATE-12 Query status of Light Preset 12
isLightOn(13) ?LIGHTSTATE-13 Query status of Light Preset 13
isLightOn(14) ?LIGHTSTATE-14 Query status of Light Preset 14
isLightOn(15) ?LIGHTSTATE-15 Query status of Light Preset 15
isLightOn(16) ?LIGHTSTATE-16 Query status of Light Preset 16
isLightOn(17) ?LIGHTSTATE-17 Query status of Light Preset 17
isLightOn(18) ?LIGHTSTATE-18 Query status of Light Preset 18
isLightOn(19) ?LIGHTSTATE-19 Query status of Light Preset 19
isLightOn(2) ?LIGHTSTATE-2 Query status of Light Preset 2
isLightOn(20) ?LIGHTSTATE-20 Query status of Light Preset 20
isLightOn(3) ?LIGHTSTATE-3 Query status of Light Preset 3
isLightOn(4) ?LIGHTSTATE-4 Query status of Light Preset 4
isLightOn(5) ?LIGHTSTATE-5 Query status of Light Preset 5
isLightOn(6) ?LIGHTSTATE-6 Query status of Light Preset 6
isLightOn(7) ?LIGHTSTATE-7 Query status of Light Preset 7
isLightOn(8) ?LIGHTSTATE-8 Query status of Light Preset 8
isLightOn(9) ?LIGHTSTATE-9 Query status of Light Preset 9
isLightOn(index) ?LIGHTSTATE-<index> Query for the state of a light for the light at index <index>, responds with LIGHTSTATE-
<index>,<state> where <state> is ON or OFF. This command is relevant for light loads,
presets, and scenes.
removeLightCompo-
nent(index)
LIGHTREMOVEIDX-<index> Remove the light at index <index>, where <index> is 1 through x and x is the maximum
supported light index (see specific module documentation)
removeLightCompo-
nent(lightAddress)
LIGHTREMOVEADDR-<address> Remove the light with address <address>, where <address> is a light address
setLight-
Level(index,level)
LIGHTLEVEL-<index>,<level> Set the level of a light for the light at index <index>, <level> where <level> is 0-255.
This command is relevant for light loads only.
setLight-
Level(index,level,sec-
onds)
LIGHTLEVEL-
<index>,<level>,<time>
Set the level of a light for the light at index <index> in <time>, <level> where <level> is
0-255 and <time> is in seconds. This command is relevant for light loads only.
setLightOn(index) LIGHTSTATE-<index> Set the light ON at index <index>. This command is relevant for light loads, presets,
and scenes.