Envisalink integration

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

PDGN
Posts: 5
Joined: Saturday 02 January 2016 20:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Envisalink integration

Post 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.
Zoekm
Posts: 20
Joined: Friday 18 November 2016 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post by Zoekm »

I would like this Envisalink integration as well and willing to help to develop, but have little programming experience...
Zoek
kyle4269
Posts: 1
Joined: Wednesday 08 February 2017 3:31
Target OS: Linux
Domoticz version:
Contact:

Re: Envisalink integration

Post by kyle4269 »

I agree! Everything else works perfect for me. Would love to see my Alarm panel connected.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Envisalink integration

Post by madrian »

User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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?
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
andis
Posts: 5
Joined: Friday 27 April 2018 8:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
andis
Posts: 5
Joined: Friday 27 April 2018 8:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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 :)
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
lazara007
Posts: 14
Joined: Monday 30 March 2015 14:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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.
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
randytsuch
Posts: 90
Joined: Sunday 20 March 2016 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: LA, Ca USA
Contact:

Re: Envisalink integration

Post 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
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
andis
Posts: 5
Joined: Friday 27 April 2018 8:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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.
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo »

@andis,

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

Did you sort out the arming issue?
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
andis
Posts: 5
Joined: Friday 27 April 2018 8:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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: ''
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post 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?
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
andis
Posts: 5
Joined: Friday 27 April 2018 8:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Envisalink integration

Post 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.
acefx
Posts: 5
Joined: Thursday 14 February 2019 22:05
Target OS: -
Domoticz version:
Contact:

Re: Envisalink integration

Post 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
stlsparky
Posts: 9
Joined: Thursday 02 June 2016 1:12
Target OS: Linux
Domoticz version:
Contact:

Re: Envisalink integration

Post by stlsparky »

Your work looks fantastic for DSC users! Any plans for supporting Honeywell panels? Or advice for us? Thanks for any help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest