Network Appliance and SmartThings integration

General Discussion

Re: Network Appliance and SmartThings integration

Postby kevin » Mon Oct 24, 2016 7:58 pm

We sell a DC Power adapter that powers from the panel from the battery (added benefit of battery backup when power outage). It comes with a 3 foot cable + power adapter by default unless you order the DC adapter. The "cable" is replaceable, just a micro-usb cable, so if you need more length then that is an option.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Network Appliance and SmartThings integration

Postby jasonsf » Mon Oct 24, 2016 8:33 pm

kevin wrote:We sell a DC Power adapter that powers from the panel from the battery (added benefit of battery backup when power outage). It comes with a 3 foot cable + power adapter by default unless you order the DC adapter. The "cable" is replaceable, just a micro-usb cable, so if you need more length then that is an option.


Thanks, I just ordered it. Wish I had understood this beforehand so I could have ordered it all at once. Oh well, just a few more days of waiting :-)

In the meantime, the appliance came today. I have it configured (on wifi) and will wire it up when the DC adapter arrives.
jasonsf
Senior Nut
Senior Nut
 
Posts: 60
Joined: Sun Oct 16, 2016 2:43 pm

Re: Network Appliance and SmartThings integration

Postby kevin » Tue Oct 25, 2016 9:00 am

Got it - it will be going out today.

To be fair, the Network Appliance product description does say:

"THIS DOES NOT COME WITH DC POWER ADAPTER - IF YOU WISH TO RUN OFF DC POWER, PLEASE BUY A DC POWER ADAPTER HERE"

with a link directly to the DC Power Adapter
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Network Appliance and SmartThings integration

Postby jasonsf » Tue Oct 25, 2016 9:07 am

kevin wrote:Got it - it will be going out today.

To be fair, the Network Appliance product description does say:

"THIS DOES NOT COME WITH DC POWER ADAPTER - IF YOU WISH TO RUN OFF DC POWER, PLEASE BUY A DC POWER ADAPTER HERE"

with a link directly to the DC Power Adapter


Yep, not faulting you. The only thing that didn't click in my head was DC Power = Alarm board power. My brain was thinking wall wart = AC->DC converter so DC power = wall wart. I'm not living in the hardware hacking / electronics world so I didn't put 2 and 2 together.

Anyway, looking forward to implementing this and thanks again for your responsiveness.

Jason
jasonsf
Senior Nut
Senior Nut
 
Posts: 60
Joined: Sun Oct 16, 2016 2:43 pm

Re: Network Appliance and SmartThings integration

Postby jasonsf » Fri Oct 28, 2016 2:47 pm

Just a quick follow-up. I have everything working. I added extra zones in the code to handle my actual system. When uninstalling and reinstalling the service manager to initialize the new zones, I had problems rediscovering the alarm decoder device in SmartThings. I rebooted the device but it didn't help. I finally read through the docs to manually install the web app and saw the instructions to restart nginx and gunicorn. I did that and it kicked back in. Here are the logs from the web app just in case they can help you out. It looks like there were errors upon boot that weren't there after the service restart.

Code: Select all
2016-10-28 20:48:52,071 INFO: AlarmDecoder Webapp booting up - v0.6.2-0-g6558799 [in /opt/alarmdecoder-webapp/ad2web/decoder.py:193]
2016-10-28 20:48:52,139 ERROR: Error [in /opt/alarmdecoder-webapp/ad2web/app.py:142]
Traceback (most recent call last):
File "/opt/alarmdecoder-webapp/ad2web/app.py", line 135, in init_app
app.decoder.init()
File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 213, in init
self._discovery_thread = DiscoveryServer(self)
File "/opt/alarmdecoder-webapp/ad2web/discovery.py", line 59, in __init__
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
File "<string>", line 1, in setsockopt
error: [Errno 19] No such device
2016-10-28 20:56:16,486 INFO: AlarmDecoder device was opened. [in /opt/alarmdecoder-webapp/ad2web/decoder.py:315]
2016-10-28 21:44:10,097 INFO: AlarmDecoder Webapp booting up - v0.6.2-0-g6558799 [in /opt/alarmdecoder-webapp/ad2web/decoder.py:193]
2016-10-28 21:44:10,150 INFO: Discovery running: loc=192.168.11.149:5000, uuid=cad3f9ca-9a59-11e6-959b-b827eb395772 [in /opt/alarmdecoder-webapp/ad2web/discovery.py:69]
2016-10-28 21:44:10,153 INFO: Attempting to reconnect to the AlarmDecoder [in /opt/alarmdecoder-webapp/ad2web/decoder.py:452]
2016-10-28 21:44:10,229 INFO: AlarmDecoder device was opened. [in /opt/alarmdecoder-webapp/ad2web/decoder.py:315]
jasonsf
Senior Nut
Senior Nut
 
Posts: 60
Joined: Sun Oct 16, 2016 2:43 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron