Light Functions (Cont.)
Name
isLightOn(15)
isLightOn(16)
isLightOn(17)
isLightOn(18)
isLightOn(19)
isLightOn(2)
isLightOn(20)
isLightOn(3)
isLightOn(4)
isLightOn(5)
isLightOn(6)
isLightOn(7)
isLightOn(8)
isLightOn(9)
removeLightComponent(lightAddress)
removeLightComponent(index)
setLightLevel(index,level)
setLightLevel(index,level,seconds)
setLightOn(index)
setLightOn(index,state)
processLightEvent(int,boolean)
processLightEvent(1, boolean)
processLightEvent(10, boolean)
148
Component
Channel Level Command
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponent
ILightComponentListener
ILightComponentListener
ILightComponentListener
Constant
?LIGHTSTATE-15
?LIGHTSTATE-16
?LIGHTSTATE-17
?LIGHTSTATE-18
?LIGHTSTATE-19
?LIGHTSTATE-2
?LIGHTSTATE-20
?LIGHTSTATE-3
?LIGHTSTATE-4
?LIGHTSTATE-5
?LIGHTSTATE-6
?LIGHTSTATE-7
?LIGHTSTATE-8
?LIGHTSTATE-9
LIGHTREMOVEADDR-
<address>
LIGHTREMOVEIDX-
<index>
LIGHTLEVEL-
<index>,<level>
LIGHTLEVEL-
<index>,<level>,<time>
LIGHTSTATE-<index>
LIGHTSTATE-
<index>,<state>
LIGHTSTATE-
<index>,<state>
LIGHTSTATE-1,<state>
LIGHTSTATE-
10,<state>
Notes
Query status of Light Preset 15
Query status of Light Preset 16
Query status of Light Preset 17
Query status of Light Preset 18
Query status of Light Preset 19
Query status of Light Preset 2
Query status of Light Preset 20
Query status of Light Preset 3
Query status of Light Preset 4
Query status of Light Preset 5
Query status of Light Preset 6
Query status of Light Preset 7
Query status of Light Preset 8
Query status of Light Preset 9
Remove the light with address <address>,
where <address> is a light address
Remove the light at index <index>, where
<index> is 1 through x and x is the maxi-
mum supported light index (see specific
module documentation)
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.
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 com-
mand is relevant for light loads only.
Set the light ON at index <index>. This
command is relevant for light loads, pre-
sets, and scenes.
Set the state of a light for the light at index
<index>, where <state> is ON or OFF. This
command is relevant for light loads, pre-
sets, and scenes.
State of a light changed for the light at
index <index>, <state> is ON or OFF
Response to ?LIGHTSTATE-1
Response to ?LIGHTSTATE-10
Standard NetLinx API (SNAPI) R 1.8.0