asishrs / smartthings Goto Github PK
View Code? Open in Web Editor NEWSmartThings Custom Integrations
License: MIT License
SmartThings Custom Integrations
License: MIT License
Hi there,
I've installed everything and have the AWS piece working so far as I can tell, but I cannot add my Ring account. After I click "Finish 2FA Setup" and put in the 2FA code, I click Ring Account Status and I just get another 2FA code sent to me. If I click Done, it doesn't seem to have actually logged me in / saved the credentials.
This is on a fresh install and I tested it on both the classic and new ST apps.
anyone available for a webex to walk me through the Github piece?
refreshDeviceStatus routine in the Ring Alarm device handler is processing refresh and is sending a contactSensor.sendEvent to the device handler RingAlarmContactSensor (line 317). I know it because I put log.trace before and after the sendEvent and I see it in the live logging. Unfortunately it did not have any effect on contact sensor.
I have tried this process with 2FA on and off. Both time when I try to check the status after putting in the AWS info and then my Ring login information and check the status it says there is an error. When I go check on the Ring Alarm device in the ST app it says it is off and I can't change the status. I get this screen in the Ring Alarm device
asishrs,
thank you for updating this integration and including two-factor authentication. I'm not sure if you meant for this v3 to go live publicly but since my v2 was never working properly, I thought I'd try it. So far it's working much better for me but there are a few issues I thought you might like to know about.
Just a few issues I've noticed so far. Really great work and thank you again.
Today I updated from 1.3 to 3.4. I was able to delete the ST Smart App as well as the "Ring Alarm" device. I then updated the new deployment.zip and was able to update the webcore and ST handler versions I was using from GITHUB. I then get acess denied when I try to create the device in Samsung IDE.
I was able to install the app after trying this and it created the Ring Alarm (and child devices), but when I use the ST Classic app to change the modes, it will not disarm the Ring alarm...it will only arm home and arm away. Any help would be appreciated and thank you for continuing to work through Ring's "security enhancements".
Is there a trick to getting the 2FA code to work correctly? When I click the Finalize the Ring Account Setup, i get multiple text messages until it finally locks my account for 24 hours and I cant login to Ring site or try again until the next day. Thanks for any input.
Is there any way to add new child devices without having to remove and re-add the alarm? I recently added new smoke/co detectors to my Ring alarm that I'd like to have ST see, if possible.
https://github.com/asishrs/smartthings points the Device Handler code to this, which as of now is HTTP 404. Should that be changed to this?
Same thing for SmartApp code.
Reduce the polling time to minimal to use the Ring DH to trigger actions. At present, the smallest polling time is 1 minute
.
Are there plans to pull in locks connected to the ring base station as devices?
I recently removed them from my Smartthings hub to connect them to the ring base station for code control as well as arm/disarm functionality.
Can those be polled/controlled in ST through ring with this tool?
I just bought a Ring Alarm system and since I have SmartThings set up for my home automation and most of my devices installed on ST, I thought I'd try integrating the Ring Alarm into ST using this implementation. I know the author has moved away from ST to Hubitat but is the latest V3 working on ST? I've gone through all the sets in setting up on AWS and getting the API, installing the device handler & smartapp. However, the Smartapp isn't showing up on my list under Automation after installing & publishing in the IDE. Anyone successfully added the Ring Alarm into ST recently (in 2022)? I see issues raised in 2020 but nothing more recent.
Thanks,
I’m also seeing this in the app logs. “Base Station Offline”
None of the child devices are showing up. Do I need to add them manually in the IDE?
Here is my live logging and device events.
Thanks
On Jan 26, 2020, at 12:31 AM, asish [email protected] wrote:
asishrs,
thank you for updating this integration and including two-factor authentication. I'm not sure if you meant for this v3 to go live publicly but since my v2 was never working properly, I thought I'd try it. So far it's working much better for me but there are a few issues I thought you might like to know about.
It doesn't work at all in the new Samsung Smarthings app.
Am I supposed to see all my sensors in the device page in the Classic App? (aka Javier). I can see the status of my sensors in the logs but I wasn't sure if this new version included the ability to have ST trigger devices if something happens with a Ring Sensor.
I have it set to Poll at 1 minute intervals but sometimes it's taking longer. Up to 5 minutes. Particularly if I arm the Ring from the ST app. I will Arm the Ring to either Away or Home and the status doesn't change in the ST app even though it does arm the Ring.
Just a few issues I've noticed so far. Really great work and thank you again.The support for new SmartThings App is not available now.
All your child devices will be showing as devices along with Ring Alam on My Home
Timing issue is weird. Can you check the smartthings logs in IDE and share that with me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Originally posted by @Its2loud1 in #12 (comment)
Is it possible to have to have the alarm arm/disarm even if there would normally be a bypass prompt? For example, I would still want my alarm to arm even if I left my window open.
Device Handlers and SmartApp are published and look ok. Any ideas?
Hello,
I recently added some new contact sensors to my Ring Alarm but they are not showing correctly in the SmartThings Classic App. I updated the code to account for the change in contact sensor amount but it doesn’t help.
I have 5 sensors, it only shows 4 in ST. Also, it doesn’t update the status of one of them as you can see in orange. Any help is appreciated.
Smartthings new app doesnt give options to ARM/DISARM, it shows weird options "Off", "Strobe", "Siren & Strobe"
Currently it only looks like the classic app works correctly for the ring alarm.
Classic i can see the ring alarm modes and can change back and forth.
But in the New app, it shows "alarm type" and then the modes of
off
strobe
siren and strobe
siren
Id rather see:
Disarmed/off
Home
Armed away.
How can i fix this? or will that be an upcoming update?
Add support for Ring Smoke CO listener
"name": "Smoke/CO Listener",
"type": "listener.smoke-co",
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.
SmartThings Alarm Device
Select the Alarm Device you installed. This is mandatory information otherwise the SmartApp cannot refresh the Alarm and Sensor status
Not seeing the alarm device to select, any thoughts?
The device handler for the Ring Flood Freeze does not address the "Freeze" part of the sensor. It only reports if it is wet or dry.
Has anyone figured out how to get that to work?
I'm using the @javier-jm fork (https://github.com/javier-jm/smartthings). Initially, it was working decent showing the child devices as separate things. But, SmartThings Classic kept showing the Device as a new Thing to add. At some point, I decided to try it and most of the functionality stopped working. So, I disconnected all integrations, deleted the Smart App, children devices, and primary device. Then, I added the 'Ring Alarm With Sensors' back as a device and republished the SmartApp.
Now, none of the child devices are their own thing in SmartThings Classic AND their child tiles in the parent device only updates for the motion sensor even though they all show accurate status in the IDE. Here's a screenshot of the messages I'm getting when I open and close a contact or motion sensor:
Any ideas how to restore all functionality including child devices as things?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.