Comments (11)
I don't know what this means, can you please clarify what you are asking for?
from ring-mqtt.
If you are talking about 2FA, this is already supported in the code and is covered in the authentication options sections of the readme.
from ring-mqtt.
from ring-mqtt.
from ring-mqtt.
I've just re-cloned the repository and run through the process of enabling 2FA on an account and getting the refresh token, pasted it into the config and it works fine. If you have an invalid refresh token it prints a message that the token is not accepted.
If you are getting "Exit code: 1" this almost always implies that the refresh token was not copied and pasted correctly. Common issues are copy-paste from a terminal that includes line breaks, extra quote marks, or, if you added the refresh token to an existing config.json, forgetting to add the comma after ring_pass, etc. The refresh token must be a single line with no line breaks, enclosed in a single set of of quote marks. Please use the below as a template:
{
"host": "localhost",
"port": 1883,
"ring_topic": "ring",
"hass_topic": "hass/status",
"mqtt_user": "",
"mqtt_pass": "",
"ring_user": "",
"ring_pass": "",
"ring_token": "<huge_long_string_in_quotes with no ling breaks>"
}
from ring-mqtt.
Apologies - it looks like the HassIO add-on hasn't been updated to pass the new parameters to your code that are required for 2FA.
from ring-mqtt.
Yes, that's true, although there is already a fork with a PR to include it so you can use that for now.
To be honest, this hit me at a bad time as I was gearing up to merge this repo with ring-mqtt which I've been working on during the last few weeks. It's much more modular, has support for cameras (optional for those that want it) and a few other goodies, but, most importantly, I was going to release my own HASSIO add-on so that all maintenance was in a single place, but I won't have time to get it out there for a few days.
from ring-mqtt.
from ring-mqtt.
Thanks for your work @tsightler! Hoping for a fix for HASSIO, but makes sense to wait for ring-mqtt!
from ring-mqtt.
Thanks for looking into it. Will wait for the new hass.io addin to fix the issue.
from ring-mqtt.
Since this script already has support for 2FA there's really nothing to do in this project so I'm going to close this issue.
I have published my own Hass.io addon that uses the new ring-mqtt script. I would consider it beta quality at this point, but it's mostly identical to the original addon with simple the added fields for refresh token and enable/disable for camera support. If anyone wants to test please find it here:
https://github.com/tsightler/ring-mqtt-hassio-addon
Please report any issues with the addon in that project.
from ring-mqtt.
Related Issues (20)
- Bug: Doorbell found, but no device added HOT 3
- MyQ Garage door not status not showing in HA via this addin HOT 1
- Support: Do I need Mosquitto broker installed? HOT 3
- Stopped working after adding new Eufy Cams with go2rtc. Will not stream. HOT 2
- Disarm fire alarm event does not change alarm panel to disarmed status HOT 29
- Support: My devices are not showing up HA HOT 3
- ERROR - Uncaught Exception ring-mqtt Cannot read properties of undefined (reading 'toString') HOT 6
- Choppy audio in Homekit HOT 1
- How do I get mosquitto self-signed data into the docker container? HOT 2
- Support: keeps rebooting HOT 3
- Support: Getting debug logging even though debug logging not enabled HOT 4
- Attempting to reconnect to MQTT Broker Loop HOT 1
- Ring Motion Sensors have gone Offline HOT 1
- Bug: V 5.6.3 No config items for ring_topic and hass_topic any more (opposite to documentation). Manual JSON edit for theses entries without effect. HOT 1
- Bug: <Panic alarm failure> HOT 4
- ***IMPORTANT*** Do not upgrade the Home Assistant go2rtc addon to v1.9.0!!! HOT 3
- REPOSITORY LINK NOT WORKING HOT 2
- Bug: Error is logged in Home Assistant "Could not fetch changelog" HOT 5
- HA 2024.6 - Can't change Ring mode - requires code HOT 22
- Websocket ticket requests fail with 500 server error HOT 10
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-mqtt.