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.
Post Reply
PDGN
Posts: 5
Joined: Saturday 02 January 2016 21:40
Target OS: Raspberry Pi
Domoticz version:
Location: Hungary
Contact:

Envisalink integration

Post by PDGN » Saturday 31 December 2016 13:54

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: 25
Joined: Friday 18 November 2016 12:34
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Envisalink integration

Post by Zoekm » Saturday 14 January 2017 13:50

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 4:31
Target OS: Linux
Domoticz version:
Contact:

Re: Envisalink integration

Post by kyle4269 » Wednesday 08 February 2017 4:41

I agree! Everything else works perfect for me. Would love to see my Alarm panel connected.

madrian
Posts: 240
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Envisalink integration

Post by madrian » Thursday 20 April 2017 20:26


User avatar
Dnpwwo
Posts: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Wednesday 11 April 2018 5:54

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
Domoticz version:
Contact:

Re: Envisalink integration

Post by andis » Friday 27 April 2018 9:03

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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Friday 27 April 2018 10:27

@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
Domoticz version:
Contact:

Re: Envisalink integration

Post by andis » Monday 30 April 2018 20:35

@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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Sunday 13 May 2018 7:42

@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: 16
Joined: Monday 30 March 2015 14:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Envisalink integration

Post by lazara007 » Sunday 13 May 2018 10:12

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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Friday 18 May 2018 13:26

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: 100
Joined: Sunday 20 March 2016 19:56
Target OS: Raspberry Pi
Domoticz version: Beta
Location: LA, Ca USA
Contact:

Re: Envisalink integration

Post by randytsuch » Friday 18 May 2018 21:46

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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Saturday 19 May 2018 6:10

@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
Domoticz version:
Contact:

Re: Envisalink integration

Post by andis » Sunday 20 May 2018 15:58

@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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Sunday 10 June 2018 3:58

@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
Domoticz version:
Contact:

Re: Envisalink integration

Post by andis » Monday 18 June 2018 22:42

@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: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Envisalink integration

Post by Dnpwwo » Tuesday 19 June 2018 0:04

@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
Domoticz version:
Contact:

Re: Envisalink integration

Post by andis » Wednesday 20 June 2018 16:24

@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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests