Skip to content

Zone

Used to find information about a particular zone.

Forms

currentzone Zone

Retrieves the current zone information

zone Zone[N]

Retrieves information about a zone by zone ID. If this zone is the current zone, then this will return currentzone.

zone Zone[shortname]

Retrieves information about a zone by short name. If this zone is the current zone, then this will return currentzone.

Examples

/echo ${Zone.Type}

Returns an integer representing the zone you are currently in.

/echo ${Zone.Indoor}

Returns TRUE if you're indoors, FALSE if not.

/echo ${Zone[zonename].ID}

Returns the ID of zonename, even if you aren't in the zone.

/echo ${Zone[zoneid].ShortName}

Returns the short name of the zone with ID zoneid.