schwark / smartthings-alarmcom

SmartThings Integration with alarm.com
MIT License
61 stars 131 forks source link

Does not appear to work #15

Open ryant80 opened 6 years ago

ryant80 commented 6 years ago

Does not appear to work. I've tried removing all items from ST, Alexa, and removing them from IDE. I then go back in add them and try to execute them and it does not work. It shows the user account logging into Alarm.com but it never ends up executing the command. Any suggestions, or troubleshooting would be appreciated. It worked fine up until the alarm.com web changes. Thanks.

adrian97c commented 6 years ago

Dude... go update the Smartapp & DH. Schwark has got this working nearly perfect now. You are using outdated versions.

ryant80 commented 6 years ago

I’ve done that pulled code directly from github

On Mar 28, 2018 at 11:05 PM, <adrian97c (mailto:notifications@github.com)> wrote:

Dude... go update the Smartapp & DH. Schwark has got this working nearly perfect now. You are using outdated versions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/schwark/smartthings-alarmcom/issues/15#issuecomment-377106228), or mute the thread (https://github.com/notifications/unsubscribe-auth/AeImr3bX6bV9Dff-s1eifavKG2Hm9N_Sks5tjE-BgaJpZM4S_q3P).

ryant80 commented 6 years ago

@adrian97c tell me how to fix it then if I'm getting the code directly from Github that shows his latest updates? I'm copying them from the raw data file.

adrian97c commented 6 years ago

Hmmm not sure how you are the only one still having issues... very strange. Delete it all, then try updating via github intergration in ST IDE instead... once done let me know

ryant80 commented 6 years ago

@adrian97c it did not work for me. I deleted everything and imported it directly from the github repository. Is there a way to see if it's bringing in the right code? I don't know where to go from here. Any logs we can provide to get this resolved? Any other suggestions? I don't get why I'm still having issues when others seem to have it working just fine. I would love to have it working again.

schwark commented 6 years ago

What is the error you are seeing in logs?

ryant80 commented 6 years ago

@schwark I'm not sure exactly what you are looking for. I just sent the disarm command and in the ST IDE there were no errors that I could see in the logging. It shows that the "disarm" command is "on", in both IDE and the ST app but my panel still shows as Arm Stay. When I log into my alarm.com account, I can see that the ST user we setup is successfully logging in, but it does not appear to be doing any commands.

Anything I can provide to you or try that can help I would be happy to.

ericediger commented 6 years ago

I'm experiencing the same as @ryant80 (so you're not alone):

Problem: Alarm.com devices in the ST iOS app (Stay, Away, Disarm) trigger within the app and the ‘events’ show up in logs, but the actual alarm is not changed.

Assumptions: I’m signed up with Frontpoint (who use alarm.com platform), and I can log in at alarm.com I’ve followed all directions and can see the three triggers (Stay, Away, Disarm) in the ST app I disconnected, removed, and deleted all devices, handlers, and ST connections (including Alexa)

Events: The alarm.com event log indicates: Website Successful Web Login ([myaccount]) 6:16 pm, Apr-21-2018

ST IDE indicates: Arm Away switch is on date 2018-04-21 6:16:25.401 PM PDT (2018-04-22T01:16:25.401Z)

So the logs are recording the same timestamp for activity, but no actual change in security system happens…

Where else can I look to view ‘logs’ with more detail?

ryant80 commented 6 years ago

I wish I could get this working. I don’t see anything in the logs and really wanted it to work

On Apr 21, 2018 at 9:31 PM, <ericediger (mailto:notifications@github.com)> wrote:

I'm experiencing the same as @ryant80 (https://github.com/ryant80) (so you're not alone):

Problem: Alarm.com devices in the ST iOS app (Stay, Away, Disarm) trigger within the app and the ‘events’ show up in logs, but the actual alarm is not changed.

Assumptions: I’m signed up with Frontpoint (who use alarm.com platform), and I can log in at alarm.com I’ve followed all directions and can see the three triggers (Stay, Away, Disarm) in the ST app I disconnected, removed, and deleted all devices, handlers, and ST connections (including Alexa)

Events: The alarm.com event log indicates: Website Successful Web Login ([myaccount]) 6:16 pm, Apr-21-2018

ST IDE indicates: Arm Away switch is on date 2018-04-21 6:16:25.401 PM PDT (2018-04-22T01:16:25.401Z)

So the logs are recording the same timestamp for activity, but no actual change in security system happens…

Where else can I look to view ‘logs’ with more detail?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/schwark/smartthings-alarmcom/issues/15#issuecomment-383347559), or mute the thread (https://github.com/notifications/unsubscribe-auth/AeImr6uiSiCemY1O45nTnR3nKhUTTrWJks5tq92EgaJpZM4S_q3P).

kpdillon commented 6 years ago

This had broken for me when alarm.com made their last change but today I removed and re-added it and everything seems to be working for me again!

kyleb1115 commented 6 years ago

I am having a similar issue with this. Disarm always works fine. Arm stay and arm away sometimes work. As of now arm stay works but arm away does not. Previous they were working fine. As stated you can see the successful login in frontpoint but no command sent. Imam very new this to this and this is my first comment. I use this to run through action tiles but I find myself never sure if the house is armed or not. Any advice is appreciated. Also can add I removed and redid the smart app and it did change. It works fine now with stay and disarm but not away.

hugheba commented 6 years ago

I'm having the same problem with Alarm.com/Frontpoint integration. Deleted everything in the IDE and started over with the Github repo.

Re-added app but My Home -> Things -> Arm Away and Arm stay are both perpetually on even when the system is disarmed. Clicking on them does nothing.

There's nothing in the ide/logs when I press the Arm Away/Stay buttons, but I can see logging when I toggle other switches.

I can login fine to alarm.com with the credentials I'm using for this SmartApp.

Using the IDE with the SmartApp simulator I get the following error doing getDeviceSync

Validation Error(s) occurred during save():

Looks like a Grails/Spring validations error.

Any other things to try to debug for a solution?

glmeyer commented 5 years ago

Ok, In regards to kyleb1115 post where in he said:

I am having a similar issue with this. Disarm always works fine. Arm stay and arm away sometimes work.

I was having a similar issue in that My Disarm always works but the Arm Stay did not. I found after digging in the logs that the error was caused on line 413 of the Alarm.com smart app code on the HTTP post. What I found was that having the Use Bypass Sensors enabled (in the SmartThings Arm Stay switch settings) was what was causing the issue. When I turned it off my alarm would arm sucessfully. In the code it is called the forceBypass:true as shown in the postboy debug statement and then the error pops with Unprocessable Entity. I assume that they error is on the Alarm.com side. So for now the Use Bypass Sensors is disabled.

d4a942f3-9e61-487d-b730-44cf588b4dbd 7:13:22 PM: error something went wrong: groovyx.net.http.HttpResponseException: Unprocessable Entity d4a942f3-9e61-487d-b730-44cf588b4dbd 7:13:22 PM: debug postbody:https://www.alarm.com/web/api/devices/partitions/xxxxxx-xxx/armStay::{"forceBypass":true,"noEntryDelay":false,"silentArming":false,"statePollOnly":false}

cjohanne commented 4 years ago

Similar but different issue - the setup does not show a field for my username, only password. Anyone have that issue?