SecuritySystem

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 3: Line 3:
 
= Zones =
 
= Zones =
 
There is no fixed assignment of sensors into zones, like in other systems. In agocontrol you trigger a zone by sending the command "triggerzone" to the securitycontroller device. It takes a "zone" parameter. Usually this command is sent from an action in an event handler. This gives endless possibilities, as you can use arbitrary criteria in your events.  
 
There is no fixed assignment of sensors into zones, like in other systems. In agocontrol you trigger a zone by sending the command "triggerzone" to the securitycontroller device. It takes a "zone" parameter. Usually this command is sent from an action in an event handler. This gives endless possibilities, as you can use arbitrary criteria in your events.  
 +
 +
[[File:Triggerzoneevent.png]]
 
= Housemodes =
 
= Housemodes =
 
Different housemodes define the state of zones. A zone can be either "inactive", or be set to a specific delay value in seconds per housemode.
 
Different housemodes define the state of zones. A zone can be either "inactive", or be set to a specific delay value in seconds per housemode.
 
= Triggering =
 
= Triggering =
 
When a zone is triggered, the zone state in the current housemode is evaluated. If it is not "inactive", a countdown will start with the set value (with a delay of "0" there will be instant alarm)
 
When a zone is triggered, the zone state in the current housemode is evaluated. If it is not "inactive", a countdown will start with the set value (with a delay of "0" there will be instant alarm)
[[File:Triggerzoneevent.png]]
+
 
 
= Alarm and countdown =
 
= Alarm and countdown =
 
The countdown start will be announced with an event, and a follow-up event will be sent every second with the remaining time. If the countdown is not cancelled, an alarm event will be sent. An event handler can be used to take action, like firing an alarm scenario (switching on a siren, sending SMS, turning on the lights, ...)
 
The countdown start will be announced with an event, and a follow-up event will be sent every second with the remaining time. If the countdown is not cancelled, an alarm event will be sent. An event handler can be used to take action, like firing an alarm scenario (switching on a siren, sending SMS, turning on the lights, ...)
 +
= Arming the system =
 +
Arming is done by setting a specific housemode which has active zones. This can be done with the "sethousemode" command or via the web interface:
 +
 +
[[File:Sethousemode.png]]

Revision as of 13:22, 24 February 2015

Contents

General

The agocontrol security system is implemented in the "agosecurity" component. It provides a "securitycontroller" device to the system. This is used to interface with the security system, like changing the house mode, cancelling an alarm and triggering zones.

Zones

There is no fixed assignment of sensors into zones, like in other systems. In agocontrol you trigger a zone by sending the command "triggerzone" to the securitycontroller device. It takes a "zone" parameter. Usually this command is sent from an action in an event handler. This gives endless possibilities, as you can use arbitrary criteria in your events.

Triggerzoneevent.png

Housemodes

Different housemodes define the state of zones. A zone can be either "inactive", or be set to a specific delay value in seconds per housemode.

Triggering

When a zone is triggered, the zone state in the current housemode is evaluated. If it is not "inactive", a countdown will start with the set value (with a delay of "0" there will be instant alarm)

Alarm and countdown

The countdown start will be announced with an event, and a follow-up event will be sent every second with the remaining time. If the countdown is not cancelled, an alarm event will be sent. An event handler can be used to take action, like firing an alarm scenario (switching on a siren, sending SMS, turning on the lights, ...)

Arming the system

Arming is done by setting a specific housemode which has active zones. This can be done with the "sethousemode" command or via the web interface:

Sethousemode.png

Personal tools