User Guide
69
Standard NetLinx API (SNAPI) R 1.8.0
Light
Component
Name: Light
Interface: ILightComponent
ILightComponent
Component Functions:
Name: Channel: Level: Command: Constant: Notes:
addLightCompo-
nent(index,lightAddress)
LIGHTADD-<index>,<address> Add a light at a given index, where <index> is 1 through x and <address> is a light
address and x is the maximum supported light index (see specific module documenta-
tion)
cycleLight(1) LIGHTSTATE-1,TOGGLE Toggle Light Preset 1
cycleLight(10) LIGHTSTATE-10,TOGGLE Toggle Light Preset 10
cycleLight(11) LIGHTSTATE-11,TOGGLE Toggle Light Preset 11
cycleLight(12) LIGHTSTATE-12,TOGGLE Toggle Light Preset 12
cycleLight(13) LIGHTSTATE-13,TOGGLE Toggle Light Preset 13
cycleLight(14) LIGHTSTATE-14,TOGGLE Toggle Light Preset 14
cycleLight(15) LIGHTSTATE-15,TOGGLE Toggle Light Preset 15
cycleLight(16) LIGHTSTATE-16,TOGGLE Toggle Light Preset 16
cycleLight(17) LIGHTSTATE-17,TOGGLE Toggle Light Preset 17
cycleLight(18) LIGHTSTATE-18,TOGGLE Toggle Light Preset 18
cycleLight(19) LIGHTSTATE-19,TOGGLE Toggle Light Preset 19
cycleLight(2) LIGHTSTATE-2,TOGGLE Toggle Light Preset 2
cycleLight(20) LIGHTSTATE-20,TOGGLE Toggle Light Preset 20
cycleLight(3) LIGHTSTATE-3,TOGGLE Toggle Light Preset 3
cycleLight(4) LIGHTSTATE-4,TOGGLE Toggle Light Preset 4
cycleLight(5) LIGHTSTATE-5,TOGGLE Toggle Light Preset 5
cycleLight(6) LIGHTSTATE-6,TOGGLE Toggle Light Preset 6
cycleLight(7) LIGHTSTATE-7,TOGGLE Toggle Light Preset 7
cycleLight(8) LIGHTSTATE-8,TOGGLE Toggle Light Preset 8
cycleLight(9) LIGHTSTATE-9,TOGGLE Toggle Light Preset 9
cycleLight(index) LIGHTSTATE-<index>,TOGGLE Cycle the state of a light for the light at index <index>. This command is relevant for
light loads and scenes.
getLightComponentAd-
dress(index)
?LIGHTADDR-<index> Query for the address of the light at index <index>, responds with LIGHTADDR-
<index>,<address>
getLightComponentIn-
dex(lightAddress)
?LIGHTIDX-<address> Query for the index of the light with address <address>, responds with LIGHTADDR-
<index>,<address>