AD matching SHM

General Discussion

AD matching SHM

Postby Macntsh » Wed Sep 18, 2019 5:20 pm

I have noticed that recently it seems that AD2pi and SHM don’t seem to b talking all the time. I updated everything I could and as of right now I can control the alarm from the device page. Arm away and stay, disarm, and get zone feedback. However when I engage SHM to set these modes arming SHM away will not set the alarm. Stay will set and I am able to disarm. Not sure where to continue on this issue or if I should do a GitHub issue.

Thanks.
Macntsh
newt
newt
 
Posts: 6
Joined: Thu Oct 13, 2016 11:53 am

Re: AD matching SHM

Postby Macntsh » Wed Sep 18, 2019 5:47 pm

java.lang.StringIndexOutOfBoundsException: String index out of range: 154 @line 909 (locationHandler)
fbc2bf8b-bc60-42f0-9f70-a813 6:44:32 PM: error java.lang.StringIndexOutOfBoundsException: String index out of range: 154 @line 909 (locationHandler)
fbc2bf8b-bc60-42f0-9f70-6:44:32 PM: trace monitorAlarmHandler -- no send disarm already set
fbc2bf8b-bc60-42f0-9f70-a 6:44:32 PM: debug getChildDevices(true), children=19
fbc2bf8b-bc60-42f0-9f70-6:44:32 PM: error groovy.lang.MissingMethodException: No signature of method: script_app_.shmAlarmHandler() is applicable for argument types: (physicalgraph.app.EventWrapper) values: [physicalgraph.app.EventWrapper@2474a9]

Deleted some hex info to sanitize
Macntsh
newt
newt
 
Posts: 6
Joined: Thu Oct 13, 2016 11:53 am

Re: AD matching SHM

Postby mathewss » Wed Sep 18, 2019 9:00 pm

Thanks for the report. I am not sure what is up with that error. I will test tomorrow and see if I can reproduce it or narrow it down. I honestly have not tested it lately. I mostly have been using the ad2 arm disarm buttons daily.

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

Re: AD matching SHM

Postby Macntsh » Thu Sep 19, 2019 5:22 am

If I can get a disarm button I can make this work ok. But the intended functions would be nice with SHM.
Macntsh
newt
newt
 
Posts: 6
Joined: Thu Oct 13, 2016 11:53 am

Re: AD matching SHM

Postby mathewss » Thu Sep 19, 2019 6:54 am

The new ST code has a disarm button by default. Unless disabled in code before setup it will be "Security Disarm"

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

Re: AD matching SHM

Postby mathewss » Thu Sep 19, 2019 10:31 am

Ok I used the SHM interface today no issues.

Your errors are very confusing. Maybe this was the result of recent update to an older setup? It is necessary to remove all AD2 devices and services before big updates to the AD2 ST code.

Minor changes to the AD2 ST code seen to have no problems but big structural changes require removal of all AD2 devices and services first.

You can give me a ring and I can remote connect if you need help on this issue.

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

Re: AD matching SHM

Postby Macntsh » Thu Sep 19, 2019 3:21 pm

What steps should I take to remove all the devices and reset up.
Macntsh
newt
newt
 
Posts: 6
Joined: Thu Oct 13, 2016 11:53 am

Re: AD matching SHM

Postby mathewss » Thu Sep 19, 2019 3:42 pm

Remove all AD2* devices from the Samsung graph pages. May require "force" option in the web interface if they are in use by other services.
From the Location select the locations "smartapps" then "edit"
Finally uninstall all of the AD2* services.

At that point you can then run the service and it "should" detect the AD2Pi and allow you to create new devices and install the service gain.

Best
SM
Attachments
installedsaedit.png
installedsaedit.png (163.73 KiB) Viewed 127 times
mathewss
Moderator
Moderator
 
Posts: 73
Joined: Fri Dec 06, 2013 11:14 am

Re: AD matching SHM

Postby mathewss » Thu Sep 19, 2019 3:45 pm

Also it is best to run the latest released image for the Pi on the downloads page. It has all of the latest fixes for Exit mode and more as well as plenty of quirks dealt with all rolled up.
mathewss
Moderator
Moderator
 
Posts: 73
Joined: Fri Dec 06, 2013 11:14 am

Re: AD matching SHM

Postby Macntsh » Thu Sep 19, 2019 7:11 pm

I rebuilt it a few months ago after an update nuked the old version.
Macntsh
newt
newt
 
Posts: 6
Joined: Thu Oct 13, 2016 11:53 am

Next

Return to General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron