more G-Labs products

Author Topic: Extending the Alarm Program - arming by sensor module  (Read 932 times)

December 13, 2015, 11:10:50 PM
Read 932 times

pim555

  • ****
  • Information
  • Sr. Member
  • Posts: 143
Hi,

I am running HG on RPI and have an external alarm system that sends a signal over X10 when it is armed/disarmed. Separate signals exist for home and away arming.

I would like to use these signals to arm/disarm the alarm in HG. This means I would need to extend the existing alarm program such that it can be enabled/disabled by a sensor (the above X10 signals are mapped onto sensor modules).

Anyone can give me some hints on how to do this?

Cheers
Pim

December 14, 2015, 09:08:36 AM
Reply #1

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
To Ping Me at Home program, you can find an auto arm/disarm program.
http://www.homegenie.it/forum/index.php?topic=1174.msg7421#msg7421

You can modify this program to your sensor parameters.
« Last Edit: December 14, 2015, 10:07:32 AM by KaZe »

December 15, 2015, 09:50:34 PM
Reply #2

pim555

  • ****
  • Information
  • Sr. Member
  • Posts: 143
Thanks

Looks like it is also possible via the wizard script. I created a script that triggers on the X10 signal that is sent at arm/disarm.


In the program section I run the secure alarm system program with Control.On command at arm and Control.Off at disarm. This seems to work.

I have 2 different X10 signals, one representing ArmHome and the other ArmAway.

Now I want to distinguish between ArmHome and ArmAway but if I enter this as custom API command (Control.ArmHome), it does not work anymore.

Should this work, ie can you pass custom commands to programs as described above? Anything to take into account?

Regards
Pim