Just got this integration setup today and now getting large volume of traffic on the network.
HA is generating between 2-4 TCP sessions per second to the Ring API host servers (104.17.128.1). This seems somewhat excessive! Screenshot_20191229-232852|298x500
These are not DNS queries as others have seen, rather requests on port 443 to ring.api.com
The integration itself is working as expected, just hammering the network.
Is this normal ?
PS. Changing the scan_interval to 60 seconds made no difference to the number of sessions.
Just a quick update…
The author of the python-ring-doorbell library has identified the issue with the excessive DNS queries. It has to do with the Token Refresh timer not being set properly. He is working on correcting the problem and has a temporary working solution. It should be available “shortly”.
Any guide as to how to build this into an existing HA server, or is it just just best to wait for an official release ? (I use Hassio on a Pi…)
PS. Tried turning off protected mode on the SSH server plugin, full shutdown and restart of HA, connected via SSH and I still cannot see any of the files to update referenced earlier in this thread, docker and pip commands are not found, plus /usr/local/lib is empty and /usr/src does not exist…( is this because I’m SSH’d into the docker container running the HA instance and not the actual host machine ?)
Hi, I have hassio on rpi and I have it fixed without accessing the hidden folders. Just follow the procedure mentioned some posts above (im on my phone, so here it is from memory) -
Have ha latest update
Disable 2fa on your ring account
Delete the pickle file from config folder
Restart ha - see that now ring works
Re-enable 2fa on your ring account
Restart again ha - see that now ring works
I appreciate the replies, but I’m asking for help because I’ve tried all the things mentioned in this thread, and as I have said a number of times, I don’t have access to any of the files and folders described.
From where you are you need to go into the docker container. To get to the files.
Type
docker exec -it homeassistant /bin/bash
That will get you in
You land at the config folder
the python library are located in
/usr/local/lib/python3.7/site-packages
The homeassistant components are located in
/usr/src/homeassistant/homeassistant/components
This is the third time I’ve exactly described my problem, but no one seems to understand… Is it me ?, Is there something I’m fundamentally failing to understand here ?
I’m not an expert, so forgive if this is bad advice.
Have you tried running the “login” command right after you ssh into hassio, and then run the docker commands?
are you opening the web ui or are you connecting via ssh
you should just be using the open web ui or the terminal from the side menu bar in HA
i just tried it on my system Ubuntu/Docker/Hassio and my office Hyper-V VM running Hassio
on both occasions
docker
did not come back as not found