Paid request - intergration with Elk M1 security panel


(Brent Crotts) #121

Same here. Returned 9 zones.


(Sturgeon637) #122

This evening I will try to set up the serial and log things.

Again thanks for your effort!!!


(Sturgeon637) #123

Below is the serial and web results

192.168.1.80/getzonenames web page results for the getzonename.

{“namedzonesenrolled”:9,
“maxzoneid”:9,
“zones”:[
{“zoneid”:1,
“zonename”:“Bathroom Window”,
“zonetype”:“Motion”},
{“zoneid”:2,
“zonename”:“Living Rm Widows”,
“zonetype”:“Motion”},
{“zoneid”:3,
“zonename”:“Front Door”,
“zonetype”:“Motion”},
{“zoneid”:4,
“zonename”:“Dinning Window”,
“zonetype”:“Motion”},
{“zoneid”:5,
“zonename”:“Int Garage Door”,
“zonetype”:“Motion”},
{“zoneid”:6,
“zonename”:“Side Kitchen Dr”,
“zonetype”:“Motion”},
{“zoneid”:7,
“zonename”:“Kitchen Wnds”,
“zonetype”:“Motion”},
{“zoneid”:8,
“zonename”:“Deck Doors”,
“zonetype”:“Motion”},
{“zoneid”:9,
“zonename”:“Office Windows”,
“zonetype”:“Motion”},
]}

Serial log for the

Valid message: XK3611213310718110000
Ethernet test message
Sending: 06xk0057

Valid message: XK0612213310718110000
Ethernet test message
Sending: 06xk0057

Valid message: ST102120000
Temperature information detected - sensor 2�� is 0F
Valid message: ZC0039090
Zone change for
Creating JSON string
Valid message: AS000000000111111100000000000
Alarm Status change detected - Disarmed
Creating JSON string
Valid message: AM000000000
Message not understood yet
Valid message: KC0100000000040000000000
Message not understood yet
Valid message: ZC0032020
Zone change for
Creating JSON string
Valid message: AS000000001111111100000000000
Alarm Status change detected - Disarmed
Creating JSON string
Valid message: AM000000000
Message not understood yet
Sending: 0Bsd000010066

Valid message: SD00001Bathroom Window 0 0
Processing zone name response
Zone 1 is called Bathroom Window
Sending: 0Bsd000020065

Valid message: SD00002Living Rm Widows0s0
Processing zone name response
Zone 2 is called Living Rm Widows
Sending: 0Bsd000030064

Valid message: SD00003Front Door 0 0
Processing zone name response
Zone 3 is called Front Door
Sending: 0Bsd000040063

Valid message: SD00004Dinning Window 0 0
Processing zone name response
Zone 4 is called Dinning Window
Sending: 0Bsd000050062

Valid message: SD00005Int Garage Door 0 0
Processing zone name response
Zone 5 is called Int Garage Door
Sending: 0Bsd000060061

Valid message: SD00006Side Kitchen Dr 0 0
Processing zone name response
Zone 6 is called Side Kitchen Dr
Sending: 0Bsd000070060

Valid message: SD00007Kitchen Wnds 0 0
Processing zone name response
Zone 7 is called Kitchen Wnds
Sending: 0Bsd00008005F

Valid message: SD00008Deck Doors 0 0
Processing zone name response
Zone 8 is called Deck Doors
Sending: 0Bsd00009005E

Valid message: SD00009Office Windows 0 0
Processing zone name response
Zone 9 is called Office Windows
Sending: 0Bsd000100066

Valid message: SD00010Family Rm Window0w0
Processing zone name response
Zero zone received (i.e. end of zone list reached)
Valid message: XK3612213310718110000
Ethernet test message
Sending: 06xk0057

Valid message: ST102121010
Temperature information detected - sensor 2�� is 1F
Valid message: XK0613213310718110000
Ethernet test message
Sending: 06xk0057

Valid message: XK3613213310718110000
Ethernet test message
Sending: 06xk0057

Valid message: XK0614213310718110000
Ethernet test message
Sending: 06xk0057


(cjcharles) #124

That is seriously strange. Can you try updating the firmware once more with my github/Dropbox version and it should give an extra debug print to confirm Im not going mad…

Thanks


(Sturgeon637) #125

I don’t know where to get the Node bin from the github site. I always get it from Dropbox.


(cjcharles) #126

Sorry I mean Dropbox. My brain was obviously thinking of something else at the time!


(Sturgeon637) #127

Just updated from Dropbox.

{“ip_for_st”:“192.168.1.16”,
“port_for_st”:“39500”,
“ip_for_alarm”:“192.168.1.2”,
“port_for_alarm”:“2101,
“alarm_username”:”",
“alarm_password”:“001234”,
“device_firmware_date”:“Aug 1 2018 - 08:35:17”,
“device_firmware_date”:“1.0.1”}

Zone Names results 9 out of 14
{“namedzonesenrolled”:9,
“maxzoneid”:9,
“zones”:[
{“zoneid”:1,
“zonename”:“Bathroom Window”,
“zonetype”:“Motion”},
{“zoneid”:2,
“zonename”:“Living Rm Widows”,
“zonetype”:“Motion”},
{“zoneid”:3,
“zonename”:“Front Door”,
“zonetype”:“Motion”},
{“zoneid”:4,
“zonename”:“Dinning Window”,
“zonetype”:“Motion”},
{“zoneid”:5,
“zonename”:“Int Garage Door”,
“zonetype”:“Motion”},
{“zoneid”:6,
“zonename”:“Side Kitchen Dr”,
“zonetype”:“Motion”},
{“zoneid”:7,
“zonename”:“Kitchen Wnds”,
“zonetype”:“Motion”},
{“zoneid”:8,
“zonename”:“Deck Doors”,
“zonetype”:“Motion”},
{“zoneid”:9,
“zonename”:“Office Windows”,
“zonetype”:“Motion”},
]}

Serial

��P9>�*WM:
*WM: AutoConnect
*WM: Connecting as wifi client…
*WM: Using last saved values, should be faster
*WM: Connection result:
*WM: 3
*WM: IP Address:
*WM: 192.168.1.80
WiFi Server Started
Starting SSDP
Connected to Alarm
Sending: 06as0066

Valid message: AS000000001111111100000000000
Alarm Status change detected - Disarmed
Creating JSON string
Valid message: XK2344074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK5344074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK2345074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK5445074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK2446074010818110000
Ethernet test message
Sending: 06xk0057

Sending: 0Bsd000010066

Valid message: SD00001Bathroom Window 0 0
Processing zone name response
1�� - 1
Zone 1 is called Bathroom Window
Sending: 0Bsd000020065

Valid message: SD00002Living Rm Widows0s0
Processing zone name response
2�� - 2
Zone 2 is called Living Rm Widows
Sending: 0Bsd000030064

Valid message: SD00003Front Door 0 0
Processing zone name response
3�� - 3
Zone 3 is called Front Door
Sending: 0Bsd000040063

Valid message: SD00004Dinning Window 0 0
Processing zone name response
4�� - 4
Zone 4 is called Dinning Window
Sending: 0Bsd000050062

Valid message: SD00005Int Garage Door 0 0
Processing zone name response
5�� - 5
Zone 5 is called Int Garage Door
Sending: 0Bsd000060061

Valid message: SD00006Side Kitchen Dr 0 0
Processing zone name response
6�� - 6
Zone 6 is called Side Kitchen Dr
Sending: 0Bsd000070060

Valid message: SD00007Kitchen Wnds 0 0
Processing zone name response
7�� - 7
Zone 7 is called Kitchen Wnds
Sending: 0Bsd00008005F

Valid message: SD00008Deck Doors 0 0
Processing zone name response
8�� - 8
Zone 8 is called Deck Doors
Sending: 0Bsd00009005E

Valid message: SD00009Office Windows 0 0
Processing zone name response
9�� - 9
Zone 9 is called Office Windows
Sending: 0Bsd000100066

Valid message: SD00010Family Rm Window0w0
Processing zone name response
0�� - 0
Zero zone received (i.e. end of zone list reached)
Valid message: XK5446074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK2447074010818110000
Ethernet test message
Sending: 06xk0057

Valid message: XK5447074010818110000
Ethernet test message
Sending: 06xk0057


(cjcharles) #128

Ok, yet another firmware file to try please, hoping this different way of doing it might solve some of the issues…
Thanks


(Sturgeon637) #129

Great!! You got all 14 Zones but now I noticed the ZoneType could be wrong. All 14 zones are magnetic contacts. I have no motion sensors.

Thanks Again!!

{“namedzonesenrolled”:14,
“maxzoneid”:14,
“zones”:[
{“zoneid”:1,
“zonename”:“Bathroom Window”,
“zonetype”:“Motion”},
{“zoneid”:2,
“zonename”:“Living Rm Widows”,
“zonetype”:“Motion”},
{“zoneid”:3,
“zonename”:“Front Door”,
“zonetype”:“Motion”},
{“zoneid”:4,
“zonename”:“Dinning Window”,
“zonetype”:“Motion”},
{“zoneid”:5,
“zonename”:“Int Garage Door”,
“zonetype”:“Motion”},
{“zoneid”:6,
“zonename”:“Side Kitchen Dr”,
“zonetype”:“Motion”},
{“zoneid”:7,
“zonename”:“Kitchen Wnds”,
“zonetype”:“Motion”},
{“zoneid”:8,
“zonename”:“Deck Doors”,
“zonetype”:“Motion”},
{“zoneid”:9,
“zonename”:“Office Windows”,
“zonetype”:“Motion”},
{“zoneid”:10,
“zonename”:“Family Rm Window”,
“zonetype”:“Motion”},
{“zoneid”:11,
“zonename”:“Basement Windows”,
“zonetype”:“Motion”},
{“zoneid”:12,
“zonename”:“Basement Door”,
“zonetype”:“Motion”},
{“zoneid”:13,
“zonename”:“Lexus Garage Dr”,
“zonetype”:“Motion”},
{“zoneid”:14,
“zonename”:“Ford Garage Dr”,
“zonetype”:“Motion”},
]}


(cjcharles) #130

One step at a time! Its impossible to tell what type of sensor a thing is, from the Elk panel itself, so I just set everything as a motion sensor. If we get everything working I might change things around, but its quite a lot of code to do that, and provides only minimal benefit. So long as you have the sensors you can choose what attribute you look for (e.g. Active=closed) and then take an action from that.

Do you now also get ST updating with alarm status?


(Sturgeon637) #131

Unfortunately the ST app does not update completely. image below

The web status does!
{“stat_str”:“Arm Home”}


(cjcharles) #132

I suggest you remove the device from ST and then re-follow the ST instructions from the start as clearly something is not set correctly. Hopefully that fixes things.
The code which is used for that function is an exact clone of the code for my other alarm integration (for my own alarm) so I know that it works…


(Sturgeon637) #133

I’ll give it a try but I just noticed the “Recently” page on the ST app is updating the status of the zones. (image below)


(cjcharles) #134

Yes, but that is a request ST makes to the Node, rather than a message that the Node sends to ST on its own timing.
It’s the latter that contains the zone status messages (active/inactive) and the alarm status messages (disarmed…). You can trigger the alarm status manually too, but the whole point is that it is automatic!


(cjcharles) #135

Ok, I have now setup full instructions and created a proper Release thread for this integration. You can find it here so please continue the discussion here if you have followed the instructions there.


(Hemant Gupta) #136

Thanks so much for your help on all this. I did say when I started this thread that I would be happy to pay for it, so let me know how I can.

Thanks!


(cjcharles) #137

I have added a link for donations in my linked thread, Im pleased to have helped but looking forward to getting back to coding that helps me again!!! Any donations to beer would clearly be appreciated :slight_smile:


(Brent Crotts) #138

I know this is the old thread but I didn’t think this issue should be on the new one. My ESP is totally unreachable. I can’t get to it using its reserved ip address or the 192.168.4.1. I have tried to connect it as an AP and can’t. It has 1 blue light flashing. Any help would be greatly appreciated


(cjcharles) #139

Are you sure it isnt already connected to your WiFi network? If you have already connected it to your WiFi network from before then it will keep all details saved from before the firmware update. If so then its IP address will be assigned by your router. You can normally see this in your router dashboard or in Network places in Windows.


(Brent Crotts) #140

I can’t see it in my network places. Fing app also shows it as offline.