User Tools

Site Tools


Sidebar

dictionary:unitcontrol:turnoff

Turn Off

Turns off a real unit, group or pseudo.

Usage:

turn off “name of the unit”
turnoff is OK too.

Optional Parameters:

in (integer, number of seconds)
at (date, like the in parameter, an applescript date when you would like the unit to turn off)

for (integer, number of seconds)
until (date, like the for parameter, an applescript date when you like the unit to return to it’s current state)

with no script (stops the ON or OFF script from running)
with no transmit (updates the database but doesn't actually send the command)
rate (integer, if supported by the device this ramp rate will be included in the command)

Examples:

--send an off for Kitchen Overhead right now
turnoff "Kitchen Overhead"
--create a scheduled event that will turn off the light in 30 minutes
turnoff "Kitchen Overhead" in (30 * minutes)

Notes:

The command will do nothing if the unit is Blocked.

When using the “for” or “until” parameters the unit will return to it’s current state when this command was issued. If the unit is already off when you send this then the second event created will also turn the unit off. For more information on using these commands see the Motion Controlled Light tutorial.

dictionary/unitcontrol/turnoff.txt · Last modified: 2017/10/15 16:03 by James Sentman