Security Keypad script

I am working on the same type of project, but for HS and NetRemote. Below is the HS script that I am using to handle input from my NR client as well as handling basic alarm control/monitoring. Maybe it can of be of use to you guys as well. It does contain several references to the hsGirder/NR interface which I would imagine would need to be modified for use with MainLobby. Eventually the script will be able to provides status information on each sensor configured in the alarm and when attemping to arm the system with a sensor not in the proper state will notify the user.

Portion of the .ini file for the script.

[Alarm]
StateDevice=Alarm Alarm Status
Codes=4
Code0=0625
Code1=0922
Code2=1218
Code3=0319
CurrentStatus=Armed
DevCount=2
Name0=House Contact - Garage Door
Name1=House Contact - Front Door

[House Contact - Garage Door]
Monitored=True

[House Contact - Front Door]
Monitored=True

BTW the script is still not 100% complete. If the script is of any use to anyone, I will post modifications as I progress.
 

Attachments

Back
Top