[OBSOLETE] Honeywell / Ademco Vista 20P Integration

No, thank YOU! You did all the work, I just installed it. :grinning:

Is there a way to change mode based on alarm armed or disarmed status? That would be handy.

I didn’t see any easy way to use that status as a trigger, so I assume I’ll have to do something else like a virtual switch of some kind?

If you’re referring to switching modes through routines, you can have the alarm arm/disarm through SmartHome Monitor. If you want to do it the other way around, you could use a virtual switch or maybe even CoRE?

ok, redloro. I’ve set up the smartthings-proxy on my pi 3, and I have the Envisalink 4 connected to my panel and working. I can log into the Eyezon account and control the setting on my panel with my phone with out a problem. However, when I attempt to connect the Envisalink 4 to my Pi 3 B I get an error when running the Server.js. the error I’m getting is,

[2017-03-31T05:44:21.755Z] [stnp] SmartThings Node Proxy listening at http://:::8080

[2017-03-31T05:44:21.802Z] [stnp] Loaded plugin: envisalink
[2017-03-31T05:44:21.856Z] [evl3] Envisalink connection error: undefined
[2017-03-31T05:44:21.863Z] [evl3] Envisalink connection closed.

I’m sure the envisalink 4 is connected correctly as it works just fine when I connect it to my windows labtop via Ethernet. So I must have made a mistake when setting up the server on the Raspberry pi. I followed the directions on your youtube video, however did receive an error message when attempting to install the dependencies. I’ve been at this 13hrs now. I may shelf this project for a day or two to recover. I find this really fun, but I have no idea what I’m doing, haha. I admire all you knowledge on this topic :).

I thank you in advance, and please let me know what you need to help point me in the right direction.

@Blue2swing have you done a manual test with telnet to see if you can connect to the EVL using the EVL IP, port and password? Refer to post 347… and let us know if you have any questions!

Also feel free to share your config.json via pm.

I was able to telnet into the Envisalink 4 via my Windows computer using PuTTY (however, I kept getting errors until I changed the settings in PuTTY to Telnet negotiation mode ā€œpassiveā€). I connected using the Ip assigned to the EVL-4 by my router (via Ethernet), port 4025, and my updated password for the EVL-4. All status updates where then showing in PuTTY just fine. However, I had to disconnect the EVL-4 from the router in order to connect it to the Raspberry pi with the STNP. The raspberry pi is connected to the internet via Wi-Fi. But it looks like the raspberry pi is not allowing the EVL-4 to connect to the internet with or with-out the STNP running, as every time I connect the two the ā€œonlineā€ and ā€œnetā€ led’s on the EVL-4 turn off. Im pm’ing you my config.json file to see if you see any obvious mistakes Iv made. I’m really clue-less as to what I’m doing but find the entire process to be really fun :). Thanks again and hope to hear back with good new hopefully!

Hey… dumb question but why are you connecting the EVL to the RPi? I think what you want to do is have both of them connected to your router unless you’re doing something special.

Haha, not a dumb question at all, and possibly the correct solution to my problem. I misunderstood how things are to be connected and took it to be connected in a Dixie-chain format from

Panel->EVL->(via Ethernet)raspberry->(via usb)smartthings hub->(via Ethernet)router.

I’ll reconnect as

Panel->EVL->(via Ethernet)router,
Raspberry->(via usb)smartthings hub->(via Ethernet)router??

Ok… now we’re getting somewhere… BOTH the EVL and the RPi should be connected directly to your router. And for that matter, your SmartThings Hub should also be connected directly to the router.

Panel --> EVL --> Router/Switch
RPi ------------> Router/Switch
ST Hub ---------> Router/Switch

That was exactly it!! A BIG THANK YOU! Now that they’re all individualy connected to the router (and NOT Dixie chained) the STNP is community with the EVL4 beautify. I’ll get started on the SmartAPP and Device Handlers today.

I still have no idea what I’m doing but I’m having a lot of fun doing it :).

Awesome! Great to hear… and btw it’s daisy chained… not dixie! :wink:

Let us know if you have any other questions.

I was specifically thinking that it would be nice if any time I set the alarm to Armed - Away, that the ST mode should change to Away automatically.

Amazing!! Everything is showing up on my Smartthings app, and I have full functionality of the keypad through my phone (minus the ability to program). I have a 6059 home keypad which, when in programing, displays the numeric for the field that you are in only and not the full text description. This obviously makes programing very difficult. However, When I enter into programing mode on my home keypad the smartthings Honeywell security tab will display the full text in real time. In a way acting like a higher model keypad made for programing!! So programing is now much easier if I use a combination of the two (enter programing commands on my home keypad, while using my phone smartthings app as an external programing display). This is good news for me as I have multiple door/window sensors attached to the same zone and am planning on installing a zone expansion module to split up each sensor into their own individual zone. And then programing each zone to function properly.

Thanks again for all your help and the hard work you and your contributors have provided on this project. Its been a long 4 days for me… Yes, this project took me the majority of 4 days, but then again I am not a programmer, haha. But I had a lot of fun doing it. Now to reward myself with some good live MLB in San Francisco. Thanks!!

I would like to use Motion Sensors and SmartThings to turn lights on in the middle of the night when motion is triggered and the alarm is in INSTANT or READY mode. Since I am not a developer, I am struggling on how to implement this in the code.

What I think needs to be added is an attribute in the config.json for the Motion Sensor serial number, so it maps to the Zone number in SmartThings.

Then, the AD2USB.js/envisalink.js files would need to be updated to listen to only the Motion Sensor triggered event (80). Since the motion sensor is immediately restored after 1 second on the alarm panel, the restore event (00) is irrelevant. However, the code would need to automatically reset the sensor in SmartThings to ā€œNo Motionā€ after 1 second to match the alarm panel. I have seen some instances (1 out 20) where the (00) message is not logged, so the motion sensor would be stuck in the triggered state if it was not automatically reset.

I know multiple people have been asking for this, so it would be great to have this functionality. If there is anything I can do to help, please let me know.

Thanks!

-----SmartThings Node Proxy Logs (Status = DISARMED and ARMED INSTANT (ARMED STAY is probably the same message as well)-----
-----MOTION TRIGGERED-----
[2017-04-02T03:43:14.131Z] [ad2] RX < !RFX:0222002,80

-----MOTION RESTORED-----
[2017-04-02T03:43:17.086Z] [ad2] RX < !RFX:0222002,00

I also have the full logs from the SmartThings-Node Proxy as well as the AlarmDecoder GUI app if you need them.

Links and additional info:
http://www.alarmdecoder.com/wiki/index.php/Protocol

RFX
"…The other option is to listen to the !RFX messages directly which could then be used to tell your home automation system that the zones are faulted.

Examples
Example of a 5800Micra sensor faulting and restoring:

!RFX:0180036,80 --Triggered
!RFX:0180036,00 --Restored

!RFX Format
Header Serial Number Data
!RFX 0180036 80

Serial Number
This is the 7-digit serial number of the device the message originated from.

Shouldn’t be a problem to add… the EVL doesn’t do this… looks like something unique to the AlarmDecoder… I’ll send you a new ad2usb.js plugin to test.

Awesome, looking forward to it!

That is a great idea and request from Chris. It would be neat if EVL4 comes out with something similar in the future as added feature.

Hi, I just got my Envisalink 4 in the mail after reading this (and related) threads so that I can finally integrate my Vista 20p panel with SmartThings. Quick noob question: do I need to register my EVL4 with Eyezon (as they instruct you to in the manual)? I’m assuming the answer is no since, if I’m understanding correctly, the goal here is to do the integration via the LAN so that the outside world has no knowledge of the EVL4 or my Vista panel. (other than via smartthings) Thanks in advance!

Good question… I’m actually not sure cause I registered my EVL years before I built this. At a minimum, you’ve got to configure the EVL according to the manual so that it works… you should be able to access the internal web page for the EVL and verify that everything is setup and working.

If you have a Honeywell panel, you have to register the EVL4 to get the correct firmware downloaded (it ships with DSC firmware).
Even if you didn’t absolutely have to, I would recommend registering it regardless, since it costs nothing and gives you one more avenue for troubleshooting, not to mention firmware upgrades.