Page 1 of 2
AD matching SHM
Posted:
Wed Sep 18, 2019 5:20 pm
by Macntsh
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.
Re: AD matching SHM
Posted:
Wed Sep 18, 2019 5:47 pm
by Macntsh
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
Re: AD matching SHM
Posted:
Wed Sep 18, 2019 9:00 pm
by mathewss
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
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 5:22 am
by Macntsh
If I can get a disarm button I can make this work ok. But the intended functions would be nice with SHM.
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 6:54 am
by mathewss
The new ST code has a disarm button by default. Unless disabled in code before setup it will be "Security Disarm"
Best
Sean M
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 10:31 am
by mathewss
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
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 3:21 pm
by Macntsh
What steps should I take to remove all the devices and reset up.
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 3:42 pm
by mathewss
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
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 3:45 pm
by mathewss
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.
Re: AD matching SHM
Posted:
Thu Sep 19, 2019 7:11 pm
by Macntsh
I rebuilt it a few months ago after an update nuked the old version.