Page 1 of 2

Envisalink integration

Posted: Saturday 31 December 2016 12:54
by PDGN
Hi,

This Envislink module is relatively popular as there are many alarm systems which can be connected to this just like DSC, Honeywell/Ademco. Although there are some python/perl script which works/worked, but there is not available any easy solution for those who are not programmers. The alarm system could be used for many home-automation like controlling HVAC, etc
http://www.eyezon.com/?page_id=176

A Third Party Interface is available for the module through LAN.

Scripts are available in this thread:
(although pearl does not work anymore with the new mojolicious - even with the proper guide - and python version is a bit challenging)
viewtopic.php?f=23&t=3183

Many home-automation system supports this module somehow (HA, openHAB, Vera, etc) and there are a lot of solutions on the github as well but those are still not obvious to be implemented for the beginners (like me...) (MQTT, Nodered, Node, etc)
https://github.com/search?utf8=%E2%9C%93&q=envisalink

I think this would be a great addition to domoticz.

Re: Envisalink integration

Posted: Saturday 14 January 2017 12:50
by Zoekm
I would like this Envisalink integration as well and willing to help to develop, but have little programming experience...
Zoek

Re: Envisalink integration

Posted: Wednesday 08 February 2017 3:41
by kyle4269
I agree! Everything else works perfect for me. Would love to see my Alarm panel connected.

Re: Envisalink integration

Posted: Thursday 20 April 2017 20:26
by madrian

Re: Envisalink integration

Posted: Wednesday 11 April 2018 5:54
by Dnpwwo
I just fired up my new EnvisaLink 4 yesterday attached to a DSC PC1616 and have started work on a Python Plugin to talk to it.

Has anyone on this thread given any thought as to what functionality they would like to see?

Re: Envisalink integration

Posted: Friday 27 April 2018 9:03
by andis
Hi,

I've lost hope that anyone would make fully funcionall integration. More than a year ago I bought my Envisalink 3 and the only thing I need is integration with my automated home using domoticz. The most important for me is to use motion detectors and ability to arm or disarm the alarm. But the more, the better :) I'm looking forward for... anything. As a little hint, great integration with android has DscServer app I'm using now. Something like this would be just fine :D

Re: Envisalink integration

Posted: Friday 27 April 2018 10:27
by Dnpwwo
@andis,

Have a look at https://github.com/dnpwwo/Domoticz-DSCEnvisalink-Plugin, I've only tested an Envisalink 4 but a 3 should work. Currently tested against PC1616 but should work with other DSC alarms as per Envisalink doco.

Under Key Features there is some guidence around motion sensors, they work in the current version.

I haven't sent Arm/Disarm commands to my Alarm yet, I'm still understand the partition status details that I get but it won't be hard.

Interested in any feedback

Re: Envisalink integration

Posted: Monday 30 April 2018 20:35
by andis
@Dnpwwo,

I had a little problem with python on RasPi, but now it works and I've tested your plugin with my Envisalink 3, PC1616 and zone expander PC5108. What is most important motion sensors work great, partition status too. But I also have connected to DSC gas detector and remote arm using something like RA-100. I can't see any activity using these devices.

Looking forward for next versions :)

Re: Envisalink integration

Posted: Sunday 13 May 2018 7:42
by Dnpwwo
@andis,

The plugin can only report on what the Envisalink reports to it. If you turn debug logging for messages on and post the log I can have a look and see if your other devices show up.

I'm currently looking at allowing plugins to integrate with the Domoticz Security Panel so that disarming requires entry of a passcode.

Re: Envisalink integration

Posted: Sunday 13 May 2018 10:12
by lazara007
Hello,

Have a look at this:

https://flows.nodered.org/node/node-red ... envisalink

This node allows you to listen to state changes in your DSC alarm as well as sending commands such as arming and disarming of your alarm.

Works well for me at least a year.

@Dnpwwo,
I have just found your solution, thanks for your hard work.

Re: Envisalink integration

Posted: Friday 18 May 2018 13:26
by Dnpwwo
Plugin updated to include optional integration with Domoticz Security Panel.

Arm Home, Arm Away and Disarm (with passcode) now available. Requires very recent beat (~3.94xx or greater).

Instructions here: https://github.com/dnpwwo/Domoticz-DSCE ... /README.md

Re: Envisalink integration

Posted: Friday 18 May 2018 21:46
by randytsuch
Very cool, thanks for this.

I've been on the fence for a long time getting an envisalink, this may push me to get one.

I was just looking at the page, and it wasn't obvious to me how notification works?

I have dzvents scripts already, so wondering if I can create a dzvents script to send a message if the alarm goes off?
Really just need to be able to set a dummy switch or something similar. I have scripts that send me messages for events like leaving the garage open for too long.

Randy

Re: Envisalink integration

Posted: Saturday 19 May 2018 6:10
by Dnpwwo
@randytsuch,

I've added an example section to the github page that shows the partition, zones and devices created to give you a better idea.

Changes in these devices mirror what happens on the alarm itself in near real time and trigger Domoticz events just like any other Domoticz device so Lua (incl. dzVents) or Python scripts will run. Only you can know if you need additional dummy devices to achieve what you need but I suspect not from what you have said.

Re: Envisalink integration

Posted: Sunday 20 May 2018 15:58
by andis
@Dnpwwo
Yesterday I changed my raspi OS to stretch and actually everything works fine but every 4 minutes I get an error message like this:
2018-05-20 15:08:53.489 Error: (Alarm DSC) Error processing time synchronization: '1508052018'. Skipping.
2018-05-20 15:12:53.509 Error: (Alarm DSC) Error processing time synchronization: '1512052018'. Skipping.
2018-05-20 15:16:53.063 Error: (Alarm DSC) Error processing time synchronization: '1516052018'. Skipping.
2018-05-20 15:20:53.081 Error: (Alarm DSC) Error processing time synchronization: '1520052018'. Skipping.
2018-05-20 15:24:53.116 Error: (Alarm DSC) Error processing time synchronization: '1524052018'. Skipping.
2018-05-20 15:28:53.111 Error: (Alarm DSC) Error processing time synchronization: '1528052018'. Skipping.
and so on...
in domoticz error logs.

When I tried to arm the alarm I got message:
2018-05-20 23:57:40.112 Error: (Alarm DSC) EnvisaLink returned unhandled message: '900', ignored. Data: ''

One problem solved. I removed python 3.5.3 and installed 3.4.4 and no more problems with time synchronization.
I'm still tying to figure out what's the problem with arming the DSC.

Re: Envisalink integration

Posted: Sunday 10 June 2018 3:58
by Dnpwwo
@andis,

Push a new version of the plugin today that resolves the time sync message.

Did you sort out the arming issue?

Re: Envisalink integration

Posted: Monday 18 June 2018 22:42
by andis
@Dnpwwo,

Unfortunately I did't :( When I try arming it looks like this:


2018-06-18 22:12:16.805 Status: (Alarm DSC) onSecurityEvent called for Level 1: Description 'Armed Home', Connected: True
2018-06-18 22:12:16.805 Status: (Alarm DSC) Requesting partition Armed Stay

2018-06-18 22:12:17.207 Error: (Alarm DSC) EnvisaLink returned unhandled message: '900', ignored. Data: ''

Re: Envisalink integration

Posted: Tuesday 19 June 2018 0:04
by Dnpwwo
@andis,

You alarm is expecting a code to be entered to arm it (and mine does not). The API guide for a 900 message states:
Code Required
This command will tell the API to enter an access code. Once entered,
the 200 command will be sent to perform the required action. The code
should be entered within the window time of the panel.
can you set your panel so it doesn't?

Re: Envisalink integration

Posted: Wednesday 20 June 2018 16:24
by andis
@Dnpwwo,

I discovered it some time ago and I know that my alarm expecting a code but I don't know where and what to change.
I filled everything in Domoticz tabs properly, as I think. Mayby I should change something in the alarm system itself ?

Everything works fine. I just needed to change one option in my DSC alarm (using DLS5) and now I also can arm and disarm the DSC. Great respect for your work.

Re: Envisalink integration

Posted: Thursday 14 February 2019 22:13
by acefx
@Dnpwwo

Hello and well done for your plugin, i've just installed on a DSC1832 + envisalink 3
Everything work like a charm but.... i have 64Zone on my alarm ( 56 to be precise ) i have 2 extenders + wireless module.

Is possible to add more zone to your plugin ?

Ok i just forked and simply added the partition ---->8 Zone -----> 64
https://github.com/Adefx/Domoticz-DSCEnvisalink-Plugin
Working on my domoticz with 64 zones

maybe need to figureout the Offset for the zone bypass.. not sure to understand this part
If you want to merge !


Thanks so much
Adrien

Re: Envisalink integration

Posted: Sunday 17 February 2019 17:42
by stlsparky
Your work looks fantastic for DSC users! Any plans for supporting Honeywell panels? Or advice for us? Thanks for any help!