Skip to content
ggodart edited this page Jan 1, 2021 · 1 revision

Concept

See original

SYNOPSIS

None

DESCRIPTION

This is a MisterHouse module for handling input from the Concept alarm system made by Inner Range. Details on the alarm system can be found at https://www.innerrange.com/ At the moment the model expects the alarm system to be connected to one of the serial ports on the computer. The computer, which looks like a printer to the alarm system, will scan the lines received looking for key strings and take the appropriate action if one is found.

The module will log everything recieved to; {data_dir}/logs/ConceptYYYY_MM.log where YYYY is the year and MM is the month

This module is based on the DSC_Alarm module writen by Danal Estes

  • 20020601 - Nick Maddock - Creation day
  • 20020609 - Nick Maddock - Tiedied up a lot of things
  • 20020609 - Nick Maddock - Put handling to occupied in
  • 20020609 - Nick Maddock - Put in change of logs every day

Still to do

  • Handler for over alarm things
  • Migrate to a better communication standard
  • Handling for alarm auxiliaries
  • Activation, Deactivation (???) of the alarm system

INHERITS

Generic_Item

METHODS

Method Description
serial_startup Create serial port(s) according to mh.ini Register hooks if any ports created.

INI PARAMETERS

Concept_serial_port = COMx    # The serial port alarm system is on /dev/sttyx
Concept_baudrate = [1200, 4800, 9600]   # The baudrate of the port
debug = Concept    # Will turn debugging information on if present

AUTHOR

SEE ALSO

None

ConceptZone

SYNOPSIS

None

DESCRIPTION

None

INHERITS

Concept

METHODS

Method Description
new Creates a new object of one of the alarm types. Takes:
Class - The object class, well it's automatically passed
Zone Name - The zone name associated with this object
Idle Timer - The amount of time the object should be restored for before it is considered to be restored, this is for occupancy on the motion sensors
zone_name Returns the Zone Name that the object is interested in this routine is used by the parent object so that it can find the correct instance when it receives and alarm or restore
alarm Called by the parent function when an alarm is received for this object. This function should change the state to alarmed and stop the timer if it is running
restore Called by the parent object when a restore is received for this input, This should change the state to not alarmed and start a timer to clear the occupied flag
timer_expired This routine is run when the timer expires it rests the occupied flag to indicate that the room isn't occupied any longer
state returns the current state of the zone object
occupied returns the current occupied state of the zone

INI PARAMETERS

None

AUTHOR

SEE ALSO

None

Clone this wiki locally