Page 1 of 2

HoneyWell AlarmServer on GitHub

Posted: Mon May 26, 2014 9:16 am
by MattTW
Hi -

I have created an alarm server app for Ademco/Honeywell alarm systems that use Envisalink. It is a GitHub project that is based on the DSC AlarmServer project that is also on Github that was written by others. The APIs between the DSC And Honeywell/Ademco versions are so different that it did not make sense to try to keep them both in a single project.

The main things the AlarmServer can do are keep track of state and provide an easy to use HTTP API for clients to use. It also implements a plugin system that receives system arm/disarm as well as alarm triggered/cleared events for integrating with other systems. I have included examples of integrating with Pushover, the Indigo Home Automation Server, and Synology Diskstations.

There is still work to do, but it is usable. I use the example plugins in my home setup. I have written a simple iOS app that uses the HTTP API, although that app is not yet published.

If anyone tries it out, I'm interested in hearing any feedback or contributions.

Thanks!
Matt

Re: HoneyWell AlarmServer on GitHub

Posted: Wed May 28, 2014 3:46 pm
by ashman5
Thank you! I will be looking at this soon to use with Synology.

Re: HoneyWell AlarmServer on GitHub

Posted: Tue Jun 03, 2014 6:14 pm
by mikep
http? That might be a bit of a security exposure. Not a problem as long as all automation is done in-house of course.

Re: HoneyWell AlarmServer on GitHub

Posted: Fri Jun 06, 2014 9:05 am
by MattTW
You can do SSL if you create and set up the server keys correctly, it is documented in the project readme. That is how I have it for my setup.

Which brings up a good point, that is another value add of this kind of solution, contrast this with the "native" TPI interface that isn't encrypted at all.

Thanks,
Matt

Re: HoneyWell AlarmServer on GitHub

Posted: Fri Jun 06, 2014 4:40 pm
by mikep
Very true, and the envisalink's internal web server should not be exposed outside of the firewall either as without SSL these interfaces are not encrypted.

Re: HoneyWell AlarmServer on GitHub

Posted: Tue Jun 24, 2014 10:30 am
by SStozki
Hi Matt,

I have been trying to get this code up and running. I will say that I am new to python, but I have been have a hard time getting this code running.

I believe the issue I am facing is related to the OpenSSL based on this error:

File "build\bdist.win32\egg\OpenSSL\rand.py", line 11, in <module>
File "build\bdist.win32\egg\OpenSSL\_util.py", line 3, in <module>
ImportError: No module named cryptography.hazmat.bindings.openssl.binding

This is the latest error I am getting when I try to run alarmserver.py
Since I am on a Windows 7 PC, I tried to install pyOpenSSL, however I don't think that installed correctly, since I am getting the error.

Any guidance or help you can provide would be greatly appreciated. So you know my goal here is to have this connected to my Smartthings home automation.

Thanks,
SS
EDIT: I try to use Cygwin to get this install. I was able to create a key and cert, however I am still getting the same error when trying to run alarmserver.py
ImportError: No module named cryptography.hazmat.bindings.openssl.binding

Re: HoneyWell AlarmServer on GitHub

Posted: Fri Jul 18, 2014 12:17 am
by Steve Jenkins
Count me in as an interested party here. I've got an EnvisaLink 2DS and a SmartThings hub.

Having them "talk to each other" would be awesome. You could use alarm motions sensors as event triggers for lights when you walk into a room!

Re: HoneyWell AlarmServer on GitHub

Posted: Wed Jul 23, 2014 12:02 pm
by mckaycr
Why did it take me so long to find this? I was about to re-invent the wheel. I also run synology at home, and I will be looking into this project asap.

Thanks for your work, let me know if I can help.

UPDATE:Loaded on my synology lastnight. Through putty I confirmed a good connection to the envisalink, and I was getting status.

The web gui only shows the bar at the top with zero functionality.

My next task is to figure out how to get the NAS to start the script on boot, and leave it running and to figure out why the gui isn't working properly.

Great job on the scripts. I haven't read through them yet, so as far as I know you now have access to my alarm system ;)

I have programming experience but not in python, but I'm sure I will understand the gist of it all. Might even make some adjustments of my own.

Re: HoneyWell AlarmServer on GitHub

Posted: Wed Jul 30, 2014 3:45 pm
by MattTW
Yeah the Web UI is only half working at best. The type of data that the Honeywell/Ademco alarm can provide isn't really compatible with what was originally created for the DSC version of the Web UI. So some basic rework is necessary in what/how info is shown in the UI. I have started making updates to get the UI partially working, but there is still plenty of work left to do, both in the Web Tier as well as the server side that creates the state data that the UI uses.

It has been on my to-do list, but I have a simple personal native iOS app working as a client - which was the itch that I wanted to scratch - so I haven't gotten to getting the Web UI working yet.

Any assistance with moving the app forward would be appreciated. Thanks!

Matt

Re: HoneyWell AlarmServer on GitHub

Posted: Thu Oct 01, 2015 8:54 pm
by jcordeiro
Hi

I'm new to alamserver and I would appreciate help from one expert.
I have succesfully installed honeyalarmserver and I have connection with EVL3.
I'm not able to connect to http 8111 (no such child error) and I would like to have honeyalarmserver push notifications (with curl or other API) to my openhab systems.

Can someone please help me.

Thanks in advance.