[OBSOLETE] Honeywell / Ademco Vista 20P Integration

For this solution to work, you will need the EVL. The panel needs to be addressable on your local network through the EVL module.

Based on this post, it looks like you can either use the onboard IP module of the Vista21iP or the EVL… not both: http://forum.eyez-on.com/FORUM/viewtopic.php?f=6&t=575#p5170

Trying to get this working with a Vista 15P. Has anyone had luck getting it to run on a 15P? I have everything up and running but Smartthings app won’t discover my devices…

Should work just fine… As long as the 15p is setup right with the EVL you should be good.

Did you run through the EVL setup instructions and get it connected? Are you trying to do auto-discovery or did you manually define the zones in the config.json?

I have a 15P and I manually setup my zones and devices are showing up. I screenshotted above.

thanks @redloro. I got it working yesterday after uninstalling and reinstalling the smartapp! Very cool integration.

I just want to say thank you to redloro for this integration. It works wonderfully. It saves me a lot of money and has great potential. This is coming from someone who didn’t know what a node is or a single code in js. I had a really hard time dealing with the config.json script. For those newbies like me who wants a crack at this. http://www.jsoneditoronline.org/ is like a spell check, hope this helps.

I have everything setup, but I cannot get updates to zones. It’s like smarthings isn’t polling nodeproxy, and Envisalink isn’t pushing to nodeproxy either. When I login to the eyez-on web dashboard it shows all the events in near real time, but nothing in Smartthings.

In the /root/.forever log the last event i get is Completed panel discovery.

Connected to Envisalink at 192.168.0.204:4025
192.168.0.206 GET /subscribe/192.168.3.206:39500
192.168.0.206 GET /plugins/envisalink/config/192.168.0.204:4025:pass:1234
192.168.0.206 GET /plugins/envisalink/config/192.168.0.204:4025:pass:1234
192.168.0.206 GET /plugins/envisalink/discover
Completed panel discovery

Thoughts?

Yeah - the EVL is not communicating with the STNP. Let’s forget about SmartThings until we get comms working between the EVL and STNP.

Let’s try the following:

  1. Stop SmartThings Node Proxy
  2. Using a browser go to: http://192.168.0.204 and login (assume that you’re using default user/user)
  • Click the Network tab and check “Envisalink TPI Status”… it should say OFFLINE or something like that.
  1. Check the config.json and make sure that envisalink.password is set to the same password you used in Step 2.
  2. Start SmartThings Node Proxy and check logs… if it’s connected you should start to see status messages with zone changes… ie motion trigger, door opened, etc
  3. Go back to the browser and refresh the Network tab… the “Envisalink TPI Status” should say ONLINE with “Client” set to the IP of the machine that is running the STNP.

If none of this helps identify the issue, send me your config.json file and I’ll send a debug version to help get to the bottom.

I keep getting the following error when trying to run this on both my windows and Mac machines… Making me crazy.

Anyone have any idea of what i’m doing wrong?

Error: Error parsing your configuration file: [./config.json]: Unexpected token Y
at File.loadSync (C:\smartthings-nodeproxy\node_modules\nconf\lib\nconf\stores\file.js:160:11)
at Provider.add (C:\smartthings-nodeproxy\node_modules\nconf\lib\nconf\provider.js:137:23)
at Provider.file (C:\smartthings-nodeproxy\node_modules\nconf\lib\nconf\provider.js:63:15)
at Object. (C:\smartthings-nodeproxy\server.js:23:7)
at Module._compile (module.js:409:26)
at Object.Module._extensions…js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)

@Brett_Weeden looks like a problem with the config.json. Have you checked it against the online editor that @Joe_D posted?? You can also PM me your config file and I can help get things sorted out.

That worked great, the online editor. Thanks for all of your work and help!!!

Trying to PM you @redloro but it looks like my account is too new and I don’t have permission. I am now able to get it partially working but the phone app isn’t updating. I tried all of the steps that you outlined already to @Ken_A and I’m not getting logs because the start.me doesn’t work. Really sorry for all of the questions. Here is the error that I’m getting from trying to run the restart.me
C:\smartthings-nodeproxy\restart.me:2
forever stop server.js
^^^^

SyntaxError: Unexpected identifier
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions…js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3
PS C:\smartthings-nodeproxy>

when I run server.js directly then I’m getting this error after a minute or so and my phone app never updates with the zones.

PS C:\smartthings-nodeproxy> node server.js
SmartThings Node Proxy listening at http://:::8088
Loaded plugin: envisalink
Connected to Envisalink at 192.168.1.57:4025
{“type”:“partition”,“partition”:1,“state”:“ready”,“alpha”:“DISARMED CHIME Ready to Arm”}
::1 GET /favicon.ico
Authentication error

Can you PM me where I can respond to you? Since I don’t have permission to start a PM yet and I will forward the files over.

And Thanks again for your help

Yeah forever is optional but allows you to run the nodejs app as a service… if you just run node server.js and then close that window, it’ll kill the app. Looks like you may have a problem getting the SmartApp to authenticate with the SmartThings Node Proxy service.

I’ve just sent you a PM.

Hello, after a lot of work and a friend of mines help that is in IT, I finally got this working; however, the only way I can tell the Honeywell app seems to integrate for both automation like Away & Stay; as well, SmartTiles is thru “Home Monitoring.” Initially when I set up home monitoring, it was controlling my alarm panel, but then when I add home automation schedules, for some reason it stopped working. I have tried removing home monitoring and reinstalling, enabled and disabled “integrate with Smart Home Monitor” within app to no avail.

Any suggestions?

I have been able to get everything to work (super cool), except have Smart Home Monitor Arm/Disarm EVL. EVL events will change the Smart Home Monitor. It looks like a few others have noted the same challenge.

In my case it appears the problem is the alarmHandler subscription never happens. Putting logging out in alarmHandler(evt) never logs any output. From what I can tell, not really being a coder, there is nothing wrong with the syntax. I cobbled together a sample app that uses the same methods to subscribe to Smart Home Monitor events and it works.

Any ideas?

@azbutz yeah I’ve also seen weird behavior with SHM… but integration with SHM is still not officially supported: Subscribe to security armed status event in Smart Home Monitor?

To be clear, when you arm the system from the Honeywell Security Thing, it sets the SHM to Armed?
But when you set the SHM to Armed, it doesn’t do anything with the actual system?
And you put your debug logging on line 193 above if (!settings.enableSHM) {?

Just tested it again on my phone and it’s all working as expected, I can arm/disarm from either the SHM or the Thing. The code is pretty straightforward, it subscribes to the system event "alarmSystemStatus" and if you aren’t getting any notifications then ST is not working right… you may want to power cycle the ST Hub… pull out the power plug and the backup battery… let it sit for a minute and then plug it all back together.

Keep us posted.

Thanks for your reply.

Yes, when I arm from the Honeywell wall panel, SHM changes to armed. From what I can tell that indicates the lanResponseHandler subscription is functioning correctly.

Yes, when I set SHM to Armed, it doesn’t do anything.

Yes, I put debug logging above the boolean evaluation on line 193.

Yes, I did pull the power, and batteries to see if that would help. It didn’t.

I’ve removed the SmartApp and re-added, amongst other tests. I agree the code for the subscription is fairly straightforward, as a newb I was able take some snippets of code and test a SMH subscription in a basic SmartApp, and it works fine… the SMH alarmhandler fires. I’m running out of ideas.

I have it working. I’m not sure exactly why. Smart Home Monitor event changes now arm/disarm my Honeywell Vista 20p alarm through the EVL-3 module.

I removed the SmartApp from my phone, and from the IDE. I re-added from the repository, and reinstalled on my phone. I gave the SmartApp a different name under “Assign a name”, and left "Set for a specific mode(s) un-configured. Everything discovered properly and works as expected now.

Loving this new app and features!!! Thanks for all your help redloro!!!

Wonder if someone on this post could explain how I can get Amazon Alexa to set the alarm by voice command? I understand the issue with disarming by voice, but can’t see the issue with having her set alarm either away or stay? Would this be done setting up a virtual switch? If so, can someone walk me thru the process? I have seen other posts on how to do this and it looks pretty easy, looking for more specific on switch type and that sort of thing.

Thanks in advance!!!

Great to hear… I wasn’t sure what the heck was going on but glad you got it resolved.