asishrs / smartthings

SmartThings Custom Integrations
MIT License
13 stars 26 forks source link

Issues trying to setup on new smartthings app #32

Open davidruffen opened 3 years ago

davidruffen commented 3 years ago

I am trying to setup the Ring Alarm on the new smartthings app. I have followed the steps you specified but when I try to setup the ring alarm in the ring alarm smartapp I get a blank screen after entering the 2FA code.

When I enable live logging on my hub I get the following:

43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: error java.lang.NullPointerException: Cannot get property 'id' on null object @line 495 (getRingAccountDetails) 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace ringApiCall() -> Ring Alarm META response data: [code:500, message:Internal Server Error] 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: info ringApiCall() -> Calling AWS API for Ring Alarm with route meta. API Call ready - true 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace ringGetAccessAndRefreshToken() -> Request for Access Token Successful. 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace getRingAccountDetails() -> Either LocationId or ZID is not present in the state, making AWS API call to get the values. 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace ringAccountStatus() -> Gettting Ring Meta Data 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace ringAccountStatus() -> Storing refresh data to scope 43c9fa3f-8d09-4fc7-b43c-b53460b0a75c 12:38:21 PM: trace ringSubmit2FAToken() -> Ring Alarm https://oauth.ring.com/oauth/token response data:

I must not have something setup correctly but not sure what. Is there a way to verify my AWS setup beforehand? Any help would be appreciated.

mpforusmc commented 3 years ago

I have the same issue. Did you find a solution?