matttw / honeyalarmserver Goto Github PK
View Code? Open in Web Editor NEWEnvisalink 2DS/3 Alarm Server for Honeywell or Ademco Vista Security Systems
Envisalink 2DS/3 Alarm Server for Honeywell or Ademco Vista Security Systems
Im seeing an issue where zone that are physically open they are reported open to smartthings but then 10-15 seconds later they are reported closed when they are still physically open.
Sat, 12 Dec 2015 10:42:26 DEBUG A (zone 17) Last Closed 15 seconds ago
�
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG RX < %00,01,0008,17,00,FAULT 17 GARAGE DOOR $
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG RX < %00,01,0008,17,00,FAULT 17 GARAGE DOOR $
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:33 DEBUG RX < %00,01,0008,17,00,FAULT 17 GARAGE DOOR $
Sat, 12 Dec 2015 10:42:33 DEBUG ----------------------------------------
Sat, 12 Dec 2015 10:42:35 DEBUG ----------------------------------------
Mike
Can you create an indigo installer package ? I’d really like to install your indigo plugin for ademco / envisalink but I’m not proficient enough in python to know which files I need and where to put them.
There is a problem with alarmserver.py line 573
return returnItems
This line is indented to far, which prevents the "for" loop from looping through all "inputItems". Currently it will only return results for the first zone. If the extra idents are removed to place it even with the "for" statement, it correctly loops through all the zones (i.e. inputItems).
Can someone post a how-to on getting this running on a Synology box?
thx!
Thanks for your efforts on this, truly appreciate all the fine work!
Having an issue with this, I can see Panel status in SmartThings using the plugin, and it dynamically changes based on zone faulting, going from ready to not ready.
However, HoneyAlarmServer doesn't appear to be picking up the zone faults at all. If I look in the API it shows the following. I've attached a copy of the debug log as well. I can submit the url manually and open the sensor which shows up, so I'm wondering if for some reason the script is not reading the zone status change.
I am running this with a Vista 20P panel, the only wrinkle is that it's the new EnvisaLink EVL-4 module. It appeared from their documentation that there were no changes to the TPI, but maybe there's something different. Any thoughts or ideas? Be glad to help in any way I can.
Thanks,
Rick
JSON API Output:
{
zone: {
1: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Front Door",
lastfault: "Last Closed longer ago than I can remember"
},
2: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Kitchen Door",
lastfault: "Last Closed longer ago than I can remember"
},
3: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Basement Door",
lastfault: "Last Closed longer ago than I can remember"
},
4: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Dining Room Motion",
lastfault: "Last Closed longer ago than I can remember"
},
5: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Fire Detectors",
lastfault: "Last Closed longer ago than I can remember"
},
9: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Garage Door",
lastfault: "Last Closed longer ago than I can remember"
},
10: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Family Room Slider",
lastfault: "Last Closed longer ago than I can remember"
},
11: {
status: {
fault: false,
alarm: false,
open: false,
tamper: false
},
lastevents: [ ],
name: "Family Room Glass",
lastfault: "Last Closed longer ago than I can remember"
},
lastevents: [ ]
},
partition: {
1: {
status: {
alarm_fire_zone: false,
fire: false,
armed_stay: false,
armed_bypass: false,
ac_present: true,
alpha: "FAULT 01 FRONT DOOR ",
ready: false,
chime: false,
trouble: false,
armed: false,
alarm_in_memory: false,
beep: "off",
alarm: false,
armed_away: false,
armed_zero_entry_delay: false
},
lastevents: [ ],
name: "Home",
lastfault: "Last Closed longer ago than I can remember"
},
lastevents: [ ]
},
disarm: false,
version: 0.2,
cancel: false,
arm: true
}
DEBUG FILE OUTPUT:
Mon, 12 Oct 2015 16:51:07 INFO <root alarmserver > Alarm Server Starting
Mon, 12 Oct 2015 16:51:07 INFO <root alarmserver > Currently Supporting Envisalink 2DS/3 only
Mon, 12 Oct 2015 16:51:07 INFO <root alarmserver > Tested on a Honeywell Vista 15p + EVL-3
Mon, 12 Oct 2015 16:51:07 INFO Starting factory <main.EnvisalinkClientFactory instance at 0x00000000021898C8>
Mon, 12 Oct 2015 16:51:07 DEBUG Started to connect to Envisalink...
Mon, 12 Oct 2015 16:51:07 INFO Site starting on 8111
Mon, 12 Oct 2015 16:51:07 INFO Starting factory <twisted.web.server.Site instance at 0x0000000002189AC8>
Mon, 12 Oct 2015 16:51:07 DEBUG TCP connection estblished to envisalink:4025
Mon, 12 Oct 2015 16:51:07 DEBUG resetting connection delay
Mon, 12 Oct 2015 16:51:07 DEBUG searching plugins.basePlugin
Mon, 12 Oct 2015 16:51:07 DEBUG searching plugins.smartthings
Mon, 12 Oct 2015 16:51:07 DEBUG Found subclass: SmartthingsPlugin
Mon, 12 Oct 2015 16:51:07 INFO Connected to envisalink:4025
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:07 DEBUG RX < Login:
Mon, 12 Oct 2015 16:51:07 DEBUG TX > password
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:07 DEBUG RX < OK
Mon, 12 Oct 2015 16:51:07 INFO Password accepted, session created
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:07 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:11 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:11 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:11 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:15 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:15 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:15 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:19 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:19 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:19 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:23 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:23 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:23 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:27 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:27 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:27 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:31 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:31 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:31 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:35 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:35 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:35 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:39 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:39 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:39 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:43 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:43 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:43 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:47 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:47 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:47 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:51 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:51 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:51 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:55 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:55 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:55 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:59 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:51:59 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:51:59 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:03 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:03 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:03 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG TX > ^02,$
Mon, 12 Oct 2015 16:52:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG RX < ^02,00$
Mon, 12 Oct 2015 16:52:07 DEBUG Envisalink response: Command Accepted
Mon, 12 Oct 2015 16:52:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:07 DEBUG RX < %FF,FEFFE4B40000B8FD0000000000000000B6FD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000$
Mon, 12 Oct 2015 16:52:07 DEBUG Front Door (zone 1) Last Closed 10 seconds ago
Mon, 12 Oct 2015 16:52:07 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/1?access_token=&access-token
Mon, 12 Oct 2015 16:52:07 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/1?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:10 DEBUG Kitchen Door (zone 2) Last Closed 1 day, 2 hours, 42 minutes ago
Mon, 12 Oct 2015 16:52:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/2?access_token=&access-token
Mon, 12 Oct 2015 16:52:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/2?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:10 DEBUG Basement Door (zone 3) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:52:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/3?access_token=&access-token
Mon, 12 Oct 2015 16:52:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:11 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/3?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:11 DEBUG Dining Room Motion (zone 4) Last Closed 48 minutes, 40 seconds ago
Mon, 12 Oct 2015 16:52:11 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/4?access_token=&access-token
Mon, 12 Oct 2015 16:52:11 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:11 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/4?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:11 DEBUG Fire Detectors (zone 5) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:52:11 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/5?access_token=&access-token
Mon, 12 Oct 2015 16:52:11 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:12 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/5?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:12 DEBUG Garage Door (zone 9) Last Closed 48 minutes, 50 seconds ago
Mon, 12 Oct 2015 16:52:12 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/9?access_token=&access-token
Mon, 12 Oct 2015 16:52:12 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:12 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/9?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:12 DEBUG Family Room Slider (zone 10) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:52:12 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/10?access_token=&access-token
Mon, 12 Oct 2015 16:52:12 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:13 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/10?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:13 DEBUG Family Room Glass (zone 11) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:52:13 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/11?access_token=&access-token
Mon, 12 Oct 2015 16:52:13 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:52:13 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/11?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:52:13 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:13 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:13 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:13 DEBUG Partition or status was empty, skipping this event. NOTE: This may be an error, if so we need to get a proper status for whatever even this is to fix it
Mon, 12 Oct 2015 16:52:13 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:15 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:15 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:15 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:19 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:19 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:19 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:22 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:22 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:22 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:26 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:26 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:26 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:30 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:30 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:30 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:34 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:34 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:34 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:38 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:38 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:38 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:42 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:42 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:42 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:46 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:46 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:46 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:50 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:50 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:50 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:54 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:54 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:54 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:58 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:52:58 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:52:58 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:02 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:02 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:02 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:06 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:06 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:06 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:07 DEBUG TX > ^02,$
Mon, 12 Oct 2015 16:53:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:07 DEBUG RX < ^02,00$
Mon, 12 Oct 2015 16:53:07 DEBUG Envisalink response: Command Accepted
Mon, 12 Oct 2015 16:53:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:07 DEBUG RX < %FF,FEFFD8B40000ACFD0000000000000000AAFD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000$
Mon, 12 Oct 2015 16:53:07 DEBUG Front Door (zone 1) Last Closed 10 seconds ago
Mon, 12 Oct 2015 16:53:07 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/1?access_token=&access-token
Mon, 12 Oct 2015 16:53:07 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:07 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/1?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:07 DEBUG Kitchen Door (zone 2) Last Closed 1 day, 2 hours, 43 minutes ago
Mon, 12 Oct 2015 16:53:07 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/2?access_token=&access-token
Mon, 12 Oct 2015 16:53:07 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:08 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/2?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:08 DEBUG Basement Door (zone 3) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:53:08 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/3?access_token=&access-token
Mon, 12 Oct 2015 16:53:08 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:08 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/3?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:08 DEBUG Dining Room Motion (zone 4) Last Closed 49 minutes, 40 seconds ago
Mon, 12 Oct 2015 16:53:08 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/4?access_token=&access-token
Mon, 12 Oct 2015 16:53:08 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:09 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/4?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:09 DEBUG Fire Detectors (zone 5) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:53:09 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/5?access_token=&access-token
Mon, 12 Oct 2015 16:53:09 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:09 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/5?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:09 DEBUG Garage Door (zone 9) Last Closed 49 minutes, 50 seconds ago
Mon, 12 Oct 2015 16:53:09 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/9?access_token=&access-token
Mon, 12 Oct 2015 16:53:09 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/9?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:10 DEBUG Family Room Slider (zone 10) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:53:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/10?access_token=&access-token
Mon, 12 Oct 2015 16:53:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/10?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:10 DEBUG Family Room Glass (zone 11) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:53:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/11?access_token=&access-token
Mon, 12 Oct 2015 16:53:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:53:11 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/11?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:53:11 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:11 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:11 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:11 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:14 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:14 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:14 DEBUG Partition or status was empty, skipping this event. NOTE: This may be an error, if so we need to get a proper status for whatever even this is to fix it
Mon, 12 Oct 2015 16:53:14 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:18 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:18 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:18 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:22 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:22 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:22 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:26 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:26 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:26 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:30 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:30 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:30 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:34 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:34 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:34 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:38 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:38 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:38 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:42 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:42 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:42 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:46 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:46 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:46 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:50 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:50 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:50 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:54 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:54 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:54 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:57 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:53:57 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:53:57 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:01 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:01 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:01 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:05 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:05 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:05 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:07 DEBUG TX > ^02,$
Mon, 12 Oct 2015 16:54:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:07 DEBUG RX < ^02,00$
Mon, 12 Oct 2015 16:54:07 DEBUG Envisalink response: Command Accepted
Mon, 12 Oct 2015 16:54:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:07 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:07 DEBUG RX < %FF,FDFFCCB40000A0FD00000000000000009EFD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000$
Mon, 12 Oct 2015 16:54:07 DEBUG Front Door (zone 1) Last Closed 15 seconds ago
Mon, 12 Oct 2015 16:54:07 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/1?access_token=&access-token
Mon, 12 Oct 2015 16:54:07 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:08 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/1?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:08 DEBUG Kitchen Door (zone 2) Last Closed 1 day, 2 hours, 44 minutes ago
Mon, 12 Oct 2015 16:54:08 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/2?access_token=&access-token
Mon, 12 Oct 2015 16:54:08 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:08 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/2?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:08 DEBUG Basement Door (zone 3) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:54:08 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/3?access_token=&access-token
Mon, 12 Oct 2015 16:54:08 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:08 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/3?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:08 DEBUG Dining Room Motion (zone 4) Last Closed 50 minutes, 40 seconds ago
Mon, 12 Oct 2015 16:54:08 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/4?access_token=&access-token
Mon, 12 Oct 2015 16:54:08 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:09 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/4?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:09 DEBUG Fire Detectors (zone 5) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:54:09 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/5?access_token=&access-token
Mon, 12 Oct 2015 16:54:09 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:09 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/5?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:09 DEBUG Garage Door (zone 9) Last Closed 50 minutes, 50 seconds ago
Mon, 12 Oct 2015 16:54:09 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/9?access_token=&access-token
Mon, 12 Oct 2015 16:54:09 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/9?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:10 DEBUG Family Room Slider (zone 10) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:54:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/10?access_token=&access-token
Mon, 12 Oct 2015 16:54:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/10?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:10 DEBUG Family Room Glass (zone 11) Last Closed longer ago than I can remember
Mon, 12 Oct 2015 16:54:10 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/app-id/panel/610/11?access_token=&access-token
Mon, 12 Oct 2015 16:54:10 INFO <requests.packages.urllib3.connectionpool connectionpool _new_conn> Starting new HTTPS connection (1): graph.api.smartthings.com
Mon, 12 Oct 2015 16:54:10 DEBUG <requests.packages.urllib3.connectionpool connectionpool _make_request> "GET /api/smartapps/installations/app-id/panel/610/11?access_token=&access-token HTTP/1.1" 200 0
Mon, 12 Oct 2015 16:54:10 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:10 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:10 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:10 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:13 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:13 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:13 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:17 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:17 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:17 DEBUG Partition or status was empty, skipping this event. NOTE: This may be an error, if so we need to get a proper status for whatever even this is to fix it
Mon, 12 Oct 2015 16:54:17 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:21 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:21 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:21 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:25 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:25 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:25 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:29 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:29 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:29 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:33 DEBUG ----------------------------------------
Mon, 12 Oct 2015 16:54:33 DEBUG RX < %00,01,0008,01,00,FAULT 01 FRONT DOOR $
Mon, 12 Oct 2015 16:54:33 DEBUG
I'm using a Raspberry Pi 3 Model B as a homebridge server, and would like to install HoneyAlarmServer and homebridge-ademco on it if possible. Has anybody here been successful in doing this? Could you please tell me how ? I'm an absolute noob when it comes to Linux, and need step by step instructions :(
Thank you so much in advance!
I was trying to get this set up and I am getting the following error, any idea what is causing this?
$ python alarmserver.py
Traceback (most recent call last):
File "alarmserver.py", line 18, in
from twisted.internet import ssl, reactor
File "/usr/lib/python2.7/site-packages/twisted/internet/ssl.py", line 25, in
from OpenSSL import SSL
File "/home/Sean/.local/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/home/Sean/.local/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg/OpenSSL/rand.py", line 11, in
from OpenSSL._util import (
File "/home/Sean/.local/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg/OpenSSL/_util.py", line 3, in
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
Have you thought of implementing a pushbullet plugin?
Will it work with a Vista 128?
Jeff
Copied file pushbullet.py from samples into /plugins. Edit pushbullet.py with my API KEY. Relaunched alarmserver.py.
got this from output.log:
Wed, 26 Apr 2017 19:46:21 INFO <twisted.internet.tcp.Connector instance at 0x761de7b0> will retry in 2 seconds
Wed, 26 Apr 2017 19:46:21 INFO Stopping factory <main.EnvisalinkClientFactory instance at 0x761de710>
Wed, 26 Apr 2017 19:46:24 INFO Starting factory <main.EnvisalinkClientFactory instance at 0x761de710>
Wed, 26 Apr 2017 19:46:24 ERROR Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 619, in _doReadOrWrite
why = selectable.doWrite()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 592, in doConnect
self._connectDone()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 606, in _connectDone
self.protocol = self.connector.buildProtocol(self.getPeer())
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1071, in buildProtocol
return self.factory.buildProtocol(addr)
File "./alarmserver.py", line 153, in buildProtocol
self.envisalinkClient = EnvisalinkClient(self._config)
File "./alarmserver.py", line 195, in init
pluginClasses = BasePlugin.find_subclasses("./plugins/")
File "/root/HoneyAlarmServer-master/plugins/basePlugin.py", line 55, in find_subclasses
subclasses.extend(cls.look_for_subclass(modulename))
File "/root/HoneyAlarmServer-master/plugins/basePlugin.py", line 63, in look_for_subclass
module = import(modulename)
File "/root/HoneyAlarmServer-master/plugins/pushbullet.py", line 6, in
from pushbullet import Listener
exceptions.ImportError: cannot import name Listener
Wed, 26 Apr 2017 19:46:24 INFO <twisted.internet.tcp.Connector instance at 0x761de7b0> will retry in 3 seconds
Wed, 26 Apr 2017 19:46:24 INFO Stopping factory <main.EnvisalinkClientFactory instance at 0x761de710>
thanks for helping !
In setting a "Stay" mode and then triggering an alarm, a partition status of ALARM_IN_MEMORY was generated. This seems to me like the equivalent of IN_ALARM. I believe it can be added to the dscCodes array as status 654.
Also, the following change (starting around line 84) should remove the error:
dscCodes = {
'READY': 650,
'NOT_READY': 651,
'IN_ALARM': 654,
'EXIT_ENTRY_DELAY': 656,
'ARMED_STAY': 652,
'ARMED_AWAY': 652,
'ARMED_MAX': 652,
'READY_BYPASS': 702
}
# Better error handling..
try:
dscCodes[status]
except:
logging.debug("Status code we received was not in the map, please add it and map to a proper number if you want to act on it")
return
@MattTW Kudos to your plugin system, it made writing the Smartthings plugin very easy.
On that note we were discussing a plugin style system in the juggie/AlarmServer repo to add things like this (Smartthings in particular) instead of my hacked branch that currently exists in that repo.
Any chance you would want to port your plugin system over to the juggie/AlarmServer repo?
Hi @kholloway ,
I updated the code using the latest posted here.
There appears to be an issue when a zone is triggered, its not reporting to Smartthings.
Here is an example:
Issue Overview:
Question: When or why would the zone URL get created?
Note: I can change the zone with the test URL, which makes we believe the issue is here.
hu, 14 Aug 2014 14:52:35 DEBUG RX < %00,01,0028,20,00,FAULT 20 $
Thu, 14 Aug 2014 14:52:37 DEBUG Parition 1 is in state READY
Thu, 14 Aug 2014 14:52:37 DEBUG {"zone": {"2": {"status": {"fault": false, "alarm": false, "open": fa
lse, "tamper": false}, "lastevents": [], "name": "Front_Door", "lastfault": "Last Closed longer ago than I can remember"}, "3": {"status": {"fault": f
alse, "alarm": false, "open": false, "tamper": false}, "lastevents": [], "name": "LR_Windows", "lastfault": "Last Closed longer ago than I can remembe
r"}, "4": {"status": {"fault": false, "alarm": false, "open": false, "tamper": false}, "lastevents": [], "name": "DR_Windows", "lastfault": "Last Clos
ed longer ago than I can remember"}, "5": {"status": {"fault": false, "alarm": false, "open": false, "tamper": false}, "lastevents": [], "name": "Kitc
hen_Windows", "lastfault": "Last Closed longer ago than I can remember"}, "6": {"status": {"fault": false, "alarm": false, "open": false, "tamper": fa
lse}, "lastevents": [], "name": "BST_Windows", "lastfault": "Last Closed longer ago than I can remember"}, "17": {"status": {"fault": false, "alarm":
false, "open": false, "tamper": false}, "lastevents": [], "name": "Garage_Door", "lastfault": "Last Closed longer ago than I can remember"}, "lasteven
ts": [], "18": {"status": {"fault": false, "alarm": false, "open": false, "tamper": false}, "lastevents": [], "name": "Back_door", "lastfault": "Last
Closed longer ago than I can remember"}, "19": {"status": {"fault": false, "alarm": false, "open": false, "tamper": false}, "lastevents": [], "name":
"FR_Windows", "lastfault": "Last Closed longer ago than I can remember"}, "20": {"status": {"fault": false, "alarm": false, "open": false, "tamper": f
alse}, "lastevents": [], "name": "Foyer_Motion", "lastfault": "Last Closed longer ago than I can remember"}}, "partition": {"lastevents": [], "1": {"s
tatus": {"alarm_fire_zone": false, "fire": false, "entry_delay": false, "armed_stay": false, "armed_bypass": false, "ac_present": true, "alpha": "FAUL
T 20 ", "ready": true, "chime": true, "trouble": false, "armed": false, "exit_delay": false, "alarm_in_memory": false, "beep":
"off", "alarm": false, "armed_away": false, "armed_zero_entry_delay": false}, "lastevents": [], "name": "Home", "lastfault": "Last Closed longer ago t
han I can remember"}}, "disarm": false, "version": 0.2, "cancel": false, "arm": true}
Thu, 14 Aug 2014 14:52:37 DEBUG URL: https://graph.api.smartthings.com/api/smartapps/installations/e204d268-af72-4e
23-89d4-9704491ec45d/panel/650/1?
Ok, not sure if this is appropriate to ask for help here.
I have an EVL-3 on a vista 20P and a IPDATATEL CBAT.
Getting same result on WIN 8 (snip below) and a Raspberry Pi
Help appreciated.
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
================================ RESTART ================================
Using configuration file alarmserver.cfg
Config option pollinterval not set in [envisalink] defaulting to: '0'
Config option zonedumpinterval not set in [envisalink] defaulting to: '60'
Config option keypadupdateinterval not set in [envisalink] defaulting to: '60'
Config option commandtimeout not set in [envisalink] defaulting to: '30'
Config option kpeventtimeout not set in [envisalink] defaulting to: '45'
Wed, 21 Oct 2015 20:26:50 INFO <root alarmserver > Alarm Server Starting
Wed, 21 Oct 2015 20:26:50 INFO <root alarmserver > Currently Supporting Envisalink 2DS/3 only
Wed, 21 Oct 2015 20:26:50 INFO <root alarmserver > Tested on a Honeywell Vista 15p + EVL-3
Wed, 21 Oct 2015 20:26:50 INFO Starting factory <main.EnvisalinkClientFactory instance at 0x02F7D2D8>
Wed, 21 Oct 2015 20:26:50 DEBUG Started to connect to Envisalink...
Wed, 21 Oct 2015 20:26:50 INFO Site starting on 8111
Wed, 21 Oct 2015 20:26:50 INFO Starting factory <twisted.web.server.Site instance at 0x02FAB148>
Wed, 21 Oct 2015 20:26:51 DEBUG TCP connection estblished to 192.168.1.225:4025
Wed, 21 Oct 2015 20:26:51 DEBUG resetting connection delay
Wed, 21 Oct 2015 20:26:51 DEBUG searching plugins.basePlugin
Wed, 21 Oct 2015 20:26:51 INFO Connected to envisalink:4025
Wed, 21 Oct 2015 20:26:51 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:51 DEBUG RX < Login:
Wed, 21 Oct 2015 20:26:51 DEBUG TX > user
Wed, 21 Oct 2015 20:26:51 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:51 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:51 DEBUG RX < OK
Wed, 21 Oct 2015 20:26:51 INFO Password accepted, session created
Wed, 21 Oct 2015 20:26:51 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:52 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:52 DEBUG RX < %00,01,0028,06,00,FAULT 06 KITCHENGARAGE DOOR $
Wed, 21 Oct 2015 20:26:52 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:55 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:55 DEBUG RX < %00,02,1C08,08,00,2 DISARMED Ready to Arm $
Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 101, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 84, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 149, in _doReadOrWrite
why = getattr(selectable, method)()
File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 209, in doRead
return self._dataReceived(data)
File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 215, in _dataReceived
rval = self.protocol.dataReceived(data)
File "C:\Python27\lib\site-packages\twisted\protocols\basic.py", line 454, in dataReceived
self.lineReceived(line)
File "C:\Users\Patrick\Documents\GitHub\HoneyAlarmServer\alarmserver.py", line 327, in lineReceived
handlerFunc(data)
File "C:\Users\Patrick\Documents\GitHub\HoneyAlarmServer\alarmserver.py", line 372, in handle_keypad_update
ALARMSTATE['partition'][partitionNumber]['status'].update({'alarm': bool(flags.alarm), 'alarm_in_memory': bool(flags.alarm_in_memory), 'armed_away': bool(flags.armed_away),
exceptions.KeyError: 2
Wed, 21 Oct 2015 20:26:56 CRITICAL Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 101, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 84, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 149, in _doReadOrWrite
why = getattr(selectable, method)()
File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 209, in doRead
return self._dataReceived(data)
File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 215, in _dataReceived
rval = self.protocol.dataReceived(data)
File "C:\Python27\lib\site-packages\twisted\protocols\basic.py", line 454, in dataReceived
self.lineReceived(line)
File "C:\Users\Patrick\Documents\GitHub\HoneyAlarmServer\alarmserver.py", line 327, in lineReceived
handlerFunc(data)
File "C:\Users\Patrick\Documents\GitHub\HoneyAlarmServer\alarmserver.py", line 372, in handle_keypad_update
ALARMSTATE['partition'][partitionNumber]['status'].update({'alarm': bool(flags.alarm), 'alarm_in_memory': bool(flags.alarm_in_memory), 'armed_away': bool(flags.armed_away),
exceptions.KeyError: 2
Wed, 21 Oct 2015 20:26:56 INFO Disconnected from envisalink:4025, reason was 2
Wed, 21 Oct 2015 20:26:56 DEBUG Ending Envisalink client connection...
Wed, 21 Oct 2015 20:26:56 DEBUG Lost connection to Envisalink. Reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.KeyError'>: 2
]
Wed, 21 Oct 2015 20:26:56 INFO <twisted.internet.tcp.Connector instance at 0x02F7D300> will retry in 2 seconds
Wed, 21 Oct 2015 20:26:56 INFO Stopping factory <main.EnvisalinkClientFactory instance at 0x02F7D2D8>
Wed, 21 Oct 2015 20:26:58 INFO Starting factory <main.EnvisalinkClientFactory instance at 0x02F7D2D8>
Wed, 21 Oct 2015 20:26:58 DEBUG Started to connect to Envisalink...
Wed, 21 Oct 2015 20:26:58 DEBUG TCP connection estblished to 192.168.1.225:4025
Wed, 21 Oct 2015 20:26:58 DEBUG resetting connection delay
Wed, 21 Oct 2015 20:26:58 DEBUG searching plugins.basePlugin
Wed, 21 Oct 2015 20:26:58 INFO Connected to envisalink:4025
Wed, 21 Oct 2015 20:26:58 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:58 DEBUG RX < Login:
Wed, 21 Oct 2015 20:26:58 DEBUG TX > user
Wed, 21 Oct 2015 20:26:58 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:58 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:26:58 DEBUG RX < OK
Wed, 21 Oct 2015 20:26:58 INFO Password accepted, session created
Wed, 21 Oct 2015 20:26:58 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:27:00 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:27:00 DEBUG RX < %00,01,0028,06,00,FAULT 06 KITCHENGARAGE DOOR $
Wed, 21 Oct 2015 20:27:00 DEBUG ----------------------------------------
Wed, 21 Oct 2015 20:27:04 DEBUG ----------------------------------------
Whenever i have chime enabled on my alarm i noticed that alarmserver is sending this response back
Wed, 09 Mar 2016 21:19:55 ERROR Data for
mat invalid from Envisalink, ignoring...�
Hi,
I am trying to use the API call to change the partition as documented :
http://ip_address:8111/api/partition?changeTo=2
And I am getting that:
web.Server Traceback (most recent call last): exceptions.KeyError: 'changeto' /usr/lib/python2.7/dist-packages/twisted/web/server.py:189 in process 188 self._encoder = encoder 189 self.render(resrc) 190 except: /usr/lib/python2.7/dist-packages/twisted/web/server.py:238 in render 237 try: 238 body = resrc.render(self) 239 except UnsupportedMethod as e: /usr/lib/python2.7/dist-packages/twisted/web/resource.py:250 in render 249 raise UnsupportedMethod(allowedMethods) 250 return m(request) 251 ./alarmserver.py:702 in render_GET 701 elif myPath == '/api/partition': 702 changeTo = query_array['changeto'][0] 703 if not changeTo.isdigit(): exceptions.KeyError: 'changeto'
Everything else works perfectly... please help.
thanks
David
Is it possible to use this to program the vista panel (set up new zones, etc)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.