Chapter 7: Using the CLP Interface
181
Turning an Outlet On
Using the keyword
on
turns the outlet on.
clp:/->
set /system1/outlet<outlet number> powerState=on
where <outlet number> is the number of the outlet.
Turning an Outlet Off
Using the keyword
off
turns the outlet off.
clp:/->
set /system1/outlet<outlet number> powerState=off
where <outlet number> is the number of the outlet.
Querying an Outlet Sensor
The show command with the keyword
Antecedent
queries an outlet's
sensors.
clp:/->
show -d properties=Antecedent /system1/outlet<outlet
number>=>CIM_AssociatedSensor
where <outlet number> is the number of the outlet.
Setting the Sequence Delay
The set command can change the sequence delay for all outlets.
clp:/->
set /system1 powerOnDelay=X
where X represents the number in the time scale of 100ms. For example,
powerOnDelay=2
means the sequence delay is set to 200ms, and
powerOnDelay=10
means the sequence delay is set to 1000ms (1
second).