[RELEASE] Konnected Security 2.0 - Connect Wired Alarm System Sensors and Siren to SmartThings - big update and new name!

dth_security
smartapp_security
esp8266
project_security
project_sensors

(MacTechGenius) #607

I am using Konnected parallel with my alarm system. I am using resistors to drop the panels 12V to 3.3V and I removed the pullup resistor by removing the line GPION.pullup from the applications.lua file.


(Nate Clark) #608

The new Konnected Alarm Panel Interface board will only report the status of sensors to SmartThings. It doesn’t directly communicate back to the traditional alarm panel.

BUT, it will have an output pin that you can use to switch a relay. So what you could if you had a spare zone on your traditional panel is set up a sensor that runs through a Normally Closed relay, and have Konnected open the relay if SHM detects an intrusion. This will then trigger the traditional alarm.

Make sense?


(Neil Oakley) #609

Yes - that’s perfect. So SHM can both monitor my traditional sensors AND trigger my traditional alarm.

But it won’t be able to control the traditional alarm.


(Nate Clark) #610

Yes, that’s correct.


(MacTechGenius) #611

This is great! Any timeline on availability? Would it work on sirens?


#612

I finally got back to troubleshooting my board since our power outage. I still can’t seem to connect to the device.

The board is flashing its blue LED and broadcasting its konnected-security_XXXXX wifi signal. I can connect to the wifi and am able to successfully ping 192.168.4.1. However, I can’t get to the 192.168.4.1 page to setup the wifi using either my phone or PC? I have re-flashed the firmware and re-uploaded the src files, but it didn’t make any difference.

Am I doing something silly?


#613

Can I please get some or all of you to post your Total Uptime and also mention if you think it’s correct or not? Reason being mine seems to reset randomly so either my Wifi is dropping out or something else is wrong. Hopefully it’s not the disconnect with error-11 as I did not see it in ESplorer when I checked and I believe reboot in that case is quite frequent but mine has been up for 3h 19m and it’s 10.49 am here. I did not reboot it 3h ago, It should have been showing more than 36 hours.


(Allan) #614

I’m at 50 days 10 hours. With that said my wireless was completely inoperable a month or so ago since I upgraded my system from a stand along Netgear router to a Ubiquiti setup and it took a couple hours without any internet access or WiFi signal. So that uptime appears to be only powered up and not necessarily connected to WiFi.


#615

Thanks. Wonder why mine rebooted this morning for no reason. At the moment it’s showing. 5h37m and it’s 1.07 pm here. I’ll keep an eye on it.


#616

Mine rebooted again this morning, up time shows 1h 41 mins. seems like it rebooted at the same or similar time time as yesterday around 7.20 or 7.21 a.m!!


#617

I have the same issue. Just like @vseven stated, the problem is tied to the router. I have a Netgear Nighthawk router and spent a ton of time trying to figure this out. Tried updating Netgear firmware and even tried DD-WRT and Tomato firmware. The NodeMCU doesn’t reboot overnight, but when the sensors are in use, eventually it will reboot. Very frustrating! Finally was convinced it was router related when I connected the NodeMCU to my cable modem directly. It doesn’t reboot after that.


#618

So how did you connect directly to the cable modem? I have a FritzBox 7490, do you think it’s the router part of it or wireless? I can try another Wireless Access point if issue is with wireless part of the router. I still need the router to connect to the Fiber ONT. If it’s the router then which one works ok. I have a Fiber Broadband connection so need to connect a router capable of VLAN tagging to ONT.


#619

It’s not the Access Point. Forgot to mention I configured a Linksys router as a wireless access point, leaving the Netgear router in-place and it didn’t address the problem. It was only when I took that Netgear router out of the equation, did it finally go away. The cable modem has built-in routing capabilities. This is how I’m set up now until I can find a compatible router. I’m sure others on this thread can provide suggestions.


(Edward Niedziejko) #620

I’ve had good luck with Asus routers flashed with merlin firmware. As a bonus, the better routers now support mesh networking.

Though, it could be something like QOS or firewall settings that are causing your issue.


#621

Is there new firmware release available? Noticed a different version on github posted 16 hours ago. https://github.com/konnected-io/konnected-security/tree/master/firmware


(Nate Clark) #622

Yes, there are some release notes here:

I’m working on a more detailed announcement to be sent/posted later today by email and social media.


#623

Thanks Nate Please also advise update procedure once ready.


(MacTechGenius) #624

Can I still update the SmartApp/Device Handler, if I don’t upgrade all of my NodeMCU’s?

I can probably upgrade a few of my boards…but the other ones aren’t really accessible. Sealed in an exterior box or in the attic.

When the OTA update becomes functional…would this update the firmware?

Thanks


#625

Updated without issues. Hope it won’t reboot now since release notes state that the issue has been fixed. Is that correct?


#626

Since updating firmware I did get couple of reboots and once Siren triggered when I pressed RTS twice in Esplorer after opening port. Logs below and also one HTTP error 46 in logs -
Konnected firmware 2.2
NodeMCU 2.2.0.0 build 20180405 powered by Lua 5.1.4 on SDK 2.2.1(cfd48f3)
Heap: 39888 Initializing Konnected
Heap: 35368 Version: 2.2.0
Heap: 33672 Connecting to Wifi…

Heap: 37520 Wifi connected with IP: 192.168.178.28 255.255.255.0 192.168.178.1
Heap: 37472 UPnP: Listening for UPnP discovery
Heap: 37264 HTTP: Starting server at http://192.168.178.28:8099
Heap: 37096 Loaded: server
Heap: 31992 Initializing sensor pin: 5
Heap: 31960 Initializing sensor pin: 7
Heap: 31960 Initializing sensor pin: 6
Heap: 31960 Initializing sensor pin: 1
Heap: 31960 Initializing sensor pin: 2
Heap: 31960 Initializing actuator pin: 8 Trigger: 1
Heap: 31696 Loaded: application
Heap: 35000 HTTP Call: 204 state 0 pin 5
Heap: 2312 Responded to UPnP Discovery request from 192.168.178.41:56661
Heap: 34376 HTTP Call: 204 state 1 pin 7
Heap: 2352 Responded to UPnP Discovery request from 192.168.178.26:49411
Heap: 34440 HTTP Call: 204 state 1 pin 7
Heap: 34528 HTTP Call: 204 state 0 pin 7
Heap: 34632 HTTP Call: 204 state 1 pin 6
Heap: 34640 HTTP Call: 204 state 0 pin 6
Heap: 34656 HTTP Call: 204 state 1 pin 6
E:M 176
PANIC: unprotected error in call to Lua API (error loading module ‘httpd_res’ from file ‘httpd_res.lc’:
not enough memory)

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 26212, room 16
tail 4
chksum 0xfc
load 0x3ffe8000, len 2340, room 4
tail 0
chksum 0xeb
load 0x3ffe8924, len 136, room 8
tail 0
chksum 0x2b
csum 0x2b
„ãìeÃgä’sƒón|ä$dll`c›ß|r“lœgàƒgã

Konnected firmware 2.2
NodeMCU 2.2.0.0 build 20180405 powered by Lua 5.1.4 on SDK 2.2.1(cfd48f3)
Heap: 39888 Initializing Konnected
Heap: 35368 Version: 2.2.0
Heap: 33672 Connecting to Wifi…

Heap: 37520 Wifi connected with IP: 192.168.178.28 255.255.255.0 192.168.178.1
Heap: 37472 UPnP: Listening for UPnP discovery
Heap: 37264 HTTP: Starting server at http://192.168.178.28:8099
Heap: 37096 Loaded: server
Heap: 31992 Initializing sensor pin: 5
Heap: 31960 Initializing sensor pin: 7
Heap: 31960 Initializing sensor pin: 6
Heap: 31960 Initializing sensor pin: 1
Heap: 31960 Initializing sensor pin: 2
Heap: 31960 Initializing actuator pin: 8 Trigger: 1
Heap: 31696 Loaded: application
Heap: 35216 HTTP Call: 204 state 0 pin 5
Heap: 34656 HTTP Call: 204 state 0 pin 7
Heap: 10544 Responded to UPnP Discovery request from 192.168.178.26:49411
Heap: 34744 HTTP Call: 204 state 0 pin 6
Heap: 34848 HTTP Call: 204 state 0 pin 1
Heap: 6272 HTTP: Index
E:M 544
HTTP client: Disconnected with error: 46
HTTP client: Connection timeout
Heap: 30880 HTTP Call: -1 state 0 pin 2
Heap: 28464 HTTP: Status
Heap: 31856 Responded to UPnP Discovery request from 192.168.178.41:43260
Heap: 28920 HTTP: Index
Heap: 28568 HTTP: Status
Heap: 32584 Responded to UPnP Discovery request from 192.168.178.26:49411
Heap: 27640 HTTP: Settings
Heap: 24336 Wrote: smartthings.lua