Comments (19)
@dgreif 2fa works awesome!!! Thanks so much for implementing this! I wasn’t expecting it this soon. You are quick.
Sent with GitHawk
from ring.
@adavison007 @d0n4v4nb3ck3r I have added 2fa support for the api and the homebridge plugin. See https://github.com/dgreif/ring/tree/master/homebridge#2-factor-authentication-2fa for setup instructions. I plan to add another method to get a refreshToken
at some point, but it should be functional the way I have it set up now. Let me know how it works for you!
from ring.
Sorry for the bad user experience on this. I got the main functionality working, but it could definitely be easier to get the refresh token. I’m planning to publish a cli tool to make it simple in the next few days. You would have to ssh in and run homebridge manually right now. The problem is that the prompt for the 2fa code can easily get lost in the rest of the homebridge output.
from ring.
@dgreif worked great for me. Awesome work!
from ring.
@dgreif BOOM! You the man, works a dream (used CLI in hoobs web UI) @dgreif Just need to work out how to do the live video stream now :)
from ring.
See #26 for previous discussion. It might be reasonably doable depending on how refresh tokens work. I'll look into it when I have time, but can't make any promises on a timeline. I think 2FA is great and would like to get it implemented at some point.
from ring.
Sorry for the bad user experience on this. I got the main functionality working, but it could definitely be easier to get the refresh token. I’m planning to publish a cli tool to make it simple in the next few days. You would have to ssh in and run homebridge manually right now. The problem is that the prompt for the 2fa code can easily get lost in the rest of the homebridge output.
@dgreif please....thank you so much for your work on everything here. The community to is lucky to have fantastic contributors like yourself. I'm always impressed with the speed and quality of the updates/releases you've been putting out lately.
If you need help testing the cli tool, I'd be happy to help.
from ring.
@adavison007 sorry for the lack of info. I'm almost done with the CLI, just working on how exactly I want to deploy it for use. I should have it released in the next couple days
from ring.
@adavison007 sorry for the long wait, but the ring-auth-cli
has landed in v4.2.0
. See https://github.com/dgreif/ring/wiki/Two-Factor-Auth for details on how to use it. Let me know how it works for you
from ring.
@adavison007 sorry for the long wait, but the
ring-auth-cli
has landed in v4.2.0
. See https://github.com/dgreif/ring/wiki/Two-Factor-Auth for details on how to use it. Let me know how it works for you😄
@dgreif Awesome! I will try tonight when home, thanks in advance.
from ring.
Thank you for this, I’m running hoobs, so I guess I should see the request if I open the terminal? Or in logs?
from ring.
@adavison007 looking at the Hoobs logs won't work because your need to enter the two factor code that Ring sends via SMS when homebridge starts up to get the refreshToken
.
I'm only vaguely familiar with hoobs but it probably starts homebridge on boot so there is not method for entering the two factor SMS code that Ring sends. You'd have to start homebridge manually in console to get the prompt to enter it I believe.
from ring.
@adavison007 looking at the Hoobs logs won't work because your need to enter the two factor code that Ring sends via SMS when homebridge starts up to get the
refreshToken
.I'm only vaguely familiar with hoobs but it probably starts homebridge on boot so there is not method for entering the two factor SMS code that Ring sends. You'd have to start homebridge manually in console to get the prompt to enter it I believe.
Bugger!!! Just tried this and nothing appears in logs or terminal in hoobs.... everything from ring stopped working, so had to turn off 2FA again... let me know if you find an alternative option? I've attached a screen shot of the hoobs start up config?
from ring.
@BradMcGonigle I can separately ssh into hoobs, if that helps?
from ring.
Sorry for the bad user experience on this. I got the main functionality working, but it could definitely be easier to get the refresh token. I’m planning to publish a cli tool to make it simple in the next few days. You would have to ssh in and run homebridge manually right now. The problem is that the prompt for the 2fa code can easily get lost in the rest of the homebridge output.
@BradMcGonigle Cool, let me know when you want me to test the CLI option, really appreciate the support on this. Then we need live stream for the cameras
from ring.
@dgreif Any news on the CLI command for 2FA? Sorry to chase, keen to use, massive thanks in advance.
from ring.
@adavison007 sorry for the lack of info. I'm almost done with the CLI, just working on how exactly I want to deploy it for use. I should have it released in the next couple days
@dgreif Many thanks, let me know and I'll test straight away.
from ring.
@dgreif works awesome!!
from ring.
Thanks @adavison007 and everyone else for your patience and testing on this!
from ring.
Related Issues (20)
- Doorbell button not working with Ring Intercom HOT 3
- onDoorbellPressed and onMotionDetected not getting triggered HOT 1
- Allow Node JS 20 HOT 3
- Ring Sensors delayed on ring Base Station HOT 6
- No devices found and location looks to be wrong HOT 4
- Install of homebridge-ring v11.8.0 (2023-06-09) fails using Homebridge UI HOT 2
- Audio from/through Homekit app to Ring Doorbell not working HOT 4
- Nevermind, Router problem
- No chime or TVOS notifications HOT 30
- Failing to connect to ring server api HOT 2
- Live Stream never starts HOT 4
- Won't allow login to ring HOT 2
- Module errors loading ring HOT 1
- Suggestion for your documentation HOT 1
- Infinite loop in geAuth HOT 5
- Streaming Legacy Mode HOT 30
- The chime is not ringing in the Homepods HOT 4
- Can't Install Plugin HOT 1
- “Ring Login Failed” Error HOT 1
- This camera is in "Off" mode and cannot stream or record. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ring.