AD2Pi and SmartThings integration error

General Discussion

Re: AD2Pi and SmartThings integration error

Postby mathewss » Tue Nov 28, 2017 8:41 pm

Ya I noticed that the UI when changing branches did not seem to reflect reality. When I ran git in the /opt/... folder for the webapp it was correct.

Did you successfully register the AD2?

Best
SM
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: AD2Pi and SmartThings integration error

Postby jasonsf » Tue Nov 28, 2017 8:48 pm

It registered, but the smartthings app isn't responding to zone faults. I need to revert some tweaks I made to the service manager code to handle the null exceptions so I can tell if everything is working right. I'll play around in the dev branch for a little while.

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

Re: AD2Pi and SmartThings integration error

Postby jasonsf » Tue Nov 28, 2017 9:06 pm

mathewss wrote:Ya I noticed that the UI when changing branches did not seem to reflect reality. When I ran git in the /opt/... folder for the webapp it was correct.

Did you successfully register the AD2?

Best
SM


Doesn't seem to be working correctly. Smartthings app isn't updating. Are there any specific logs I can get you?
jasonsf
Senior Nut
Senior Nut
 
Posts: 60
Joined: Sun Oct 16, 2016 2:43 pm

Re: AD2Pi and SmartThings integration error

Postby mathewss » Tue Nov 28, 2017 9:36 pm

Prior posts referred to the logs that were generated when running in a simulator if that helps. I have yet to connect to the web interface and test.

Any logs from the Raspberry PI that would help are in the tcpdump capture done during registering.

Best
SM
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: AD2Pi and SmartThings integration error

Postby jasonsf » Tue Nov 28, 2017 9:54 pm

tcpdump emailed to the support address.

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

Re: AD2Pi and SmartThings integration error

Postby mathewss » Wed Nov 29, 2017 6:45 pm

I was able to reset our V1 Hub and configure per the documents in the READE.md and when I went to step "17 Click the Discover button" it did show both of my AlarmDecoder devices. One is on Dev and one is on Master and both work....

Ok so I do not have a V2 Hub if that is what the issue is. I followed the process although the publish button got pushed a few more times and I am not clear what save vs publish does yet.

Can someone confirm by ssh into the pi what the git info
cd /opt/alarmdecoder
git status && git log -n 1
cd /opt/alarmdecoder-webapp
git status && git log -n 1

Has anyone tried clearing out all the old devices and aps and starting from scratch?

Re
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: AD2Pi and SmartThings integration error

Postby jasonsf » Wed Nov 29, 2017 7:03 pm

mathewss wrote:I was able to reset our V1 Hub and configure per the documents in the READE.md and when I went to step "17 Click the Discover button" it did show both of my AlarmDecoder devices. One is on Dev and one is on Master and both work....

Ok so I do not have a V2 Hub if that is what the issue is. I followed the process although the publish button got pushed a few more times and I am not clear what save vs publish does yet.

Can someone confirm by ssh into the pi what the git info
cd /opt/alarmdecoder
git status && git log -n 1
cd /opt/alarmdecoder-webapp
git status && git log -n 1

Has anyone tried clearing out all the old devices and aps and starting from scratch?

Re
Sean M
Sean, can you fault a zone and see that in the smart things app? Registration works for me in dev but there doesn't seem to be communication between the ad2 and smart things.

Output from git status and git log:

root@alarmdecoder:/# cd /opt/alarmdecoder
root@alarmdecoder:/opt/alarmdecoder# git status && git log -n 1
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
commit 6dd4a96513972d5edee8261bd510aa7932eef2ed
Merge: 36318ed ee756f6
Author: Sean Mathews <coder@f34r.com>
Date: Tue Nov 7 10:25:55 2017 -0800

Merge pull request #17 from TD22057/open_errors

Fix issue #15 - allow multiple calls to open if it fails
root@alarmdecoder:/opt/alarmdecoder# cd ../alarmdecoder
alarmdecoder/ alarmdecoder-webapp/
root@alarmdecoder:/opt/alarmdecoder# cd ../alarmdecoder-webapp/
root@alarmdecoder:/opt/alarmdecoder-webapp# git status && git log -n 1
On branch dev
Your branch is up-to-date with 'origin/dev'.
Untracked files:
(use "git add <file>..." to include in what will be committed)

supervisord.pid

nothing added to commit but untracked files present (use "git add" to track)
commit 3ec3ca5084ef3a0b911b7f9964910edb0f8daa1d
Author: Sean Mathews <coder@f34r.com>
Date: Tue Nov 28 18:51:39 2017 -0800

added device description response and static device description file.
root@alarmdecoder:/opt/alarmdecoder-webapp#

Sent from my Pixel 2 using Tapatalk
jasonsf
Senior Nut
Senior Nut
 
Posts: 60
Joined: Sun Oct 16, 2016 2:43 pm

Re: AD2Pi and SmartThings integration error

Postby Quinchu » Fri Dec 01, 2017 11:10 am

Any updates to this, even with switching to the dev branch I still get the minus() error on install.

Any logs I can get?

- AD2PI, running on an RPi v3
- latest firmware / webapp version (dev)
- SmartThings v2 Hub
- Brand new install, never before hooked up / integrated into my system.
Quinchu
newt
newt
 
Posts: 5
Joined: Tue Nov 28, 2017 3:30 pm

Re: AD2Pi and SmartThings integration error

Postby Lyubo » Fri Dec 01, 2017 11:17 am

Hi, Is there any update on this issue?
I am not sure how to update my web app from the developer branch to get the integration working.
Thanks,
Lyubo
Lyubo
newt
newt
 
Posts: 8
Joined: Fri Dec 01, 2017 11:12 am

Re: AD2Pi and SmartThings integration error

Postby mathewss » Fri Dec 01, 2017 11:40 am

After doing the update reboot your Pi. More testing has show it works on my V1 hub with the patch or not so the Patch was not the answer.

It may be an issue with V2 Hubs?

Best
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 19 guests

cron