Block Unit

Blocks the unit in the current state or value and will not allow other scripts to change the state or value of the unit until it is unblocked.

Usage:

block unit (name of unit)

Optional Parameters:

in (integer, creates a scheduled event to block the unit in this many seconds)
for (integer, creates a scheduled event to unblock the unit in this many seconds)

Examples:

block unit "bedroom motion" for 2 * hours

Notes:

This verb allows a script to prevent any other script from issuing a command to either a single unit/address or a group of units. Thus, scripts can be written for sensors which always turn on lights or sound alarms regardless of other conditions. You then write scripts which block or unblock units or grops according to time of day, daylight, password entry, etc.

the “force on/off” verbs are specifically provided to override the blocking function.

dictionary/unitcontrol/block.txt · Last modified: 2009/09/27 15:32 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0