HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: BruceS on March 23, 2015, 03:59:42 AM
-
I am new to HG and I am converting an old home automation server. I have an old Ocelot/Adicon 2500 controller that polls the dry contact status of all the doors in my house. I used the HG generic serial example to successfully create the attached program that reads the Ocelot serial port to log and speak the door events. Could someone guide me on how to make each door look like a virtual module so I can view the door status as a widget? Could I then associate a door icon to it?
-
Have a look at the Alarm Sensor code in the attachment from this post.
It does exactly what you look for but for a different alarm system. With some modification the code could be made to work for you.
http://www.homegenie.it/forum/index.php?topic=741.0 (http://www.homegenie.it/forum/index.php?topic=741.0)
-
Thank you for the lead. That was helpful. It took some effort but I've got a test version working based on the Alarm Sensor. I can post my results when I clean up and test my code a bit further.