Hi @redloro, thanks for the SmartThings Node Proxy. The first time I finally managed to get everything working, the STNP seemed to work flawlessly, reporting status, door openings and closings, etc., via PuTTY. When server.js was closed and then restarted, however, it seemed to be immediately disconnected every time it contacted my EVL4:
pi@raspberrypi:~/STnodeproxy $ node server.js
[2017-03-21T20:51:56.538Z] [stnp] SmartThings Node Proxy listening at http://:::8080
[2017-03-21T20:51:56.584Z] [stnp] Loaded plugin: envisalink
[2017-03-21T20:51:56.593Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:51:56.644Z] [evl3] Envisalink connection closed.
[2017-03-21T20:52:00.659Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:52:00.700Z] [evl3] Envisalink connection closed.
I have tried reformatting the microSD card and reinstalling system (using 2017-03-02-raspbian-jessie.zip), and nodejs (using node-v6.10.0-linux-armv6l.tar.xz) on the RPi3, and resetting the EVL4 (by power off). The first time I installed the Honeywell Security smartapp, it worked well until the connection was closed. The last time I reinstalled everything, using only the envisalink plugin, I received the above result. I then removed the Honeywell Security smartapp, chose again to install it, filled in all the information, but did not hit ‘done.’ I then restarted server.js, and when I hit ‘done’ on the smartapp configuration, this was the result:
pi@raspberrypi:~/STnodeproxy $ node server.js
[2017-03-21T20:29:08.059Z] [stnp] SmartThings Node Proxy listening at http://:::8080
[2017-03-21T20:29:08.105Z] [stnp] Loaded plugin: envisalink
[2017-03-21T20:29:08.114Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:29:08.164Z] [evl3] Envisalink connection closed.
[2017-03-21T20:29:12.175Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:29:12.209Z] [evl3] Envisalink connection closed.
[2017-03-21T20:31:50.956Z] [stnp] ::ffff:192.168.0.100 GET /subscribe/192.168.0.100:39500
[2017-03-21T20:31:51.107Z] [stnp] ::ffff:192.168.0.100 GET /plugins/envisalink/config/192.168.0.102:4025:_:
[2017-03-21T20:31:52.560Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:31:52.598Z] [evl3] Envisalink connection closed.
[2017-03-21T20:31:53.241Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:31:53.278Z] [evl3] Envisalink connection closed.
[2017-03-21T20:31:53.911Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:31:53.948Z] [evl3] Envisalink connection closed.
[2017-03-21T20:31:55.359Z] [stnp] ::ffff:192.168.0.100 GET /plugins/envisalink/discover
[2017-03-21T20:31:55.405Z] [evl3] Completed panel discovery
[2017-03-21T20:31:56.601Z] [evl3] Connected to Envisalink at 192.168.0.102:4025
[2017-03-21T20:31:56.638Z] [evl3] Envisalink connection closed.
So the smartapp added all the contacts to my ‘things,’ but since shows as not ready. I am new to the Raspberry Pi and to Raspbian, and cannot think of anything else to try. I cannot understand why it seemed to work so well on first try, but never again. If you have the time, could you steer me in the right direction?