ring: Session Hardware_id not found
Hi @Dgreif,
First of all, thank you for all the work you’ve done on this plugin.
I’ve got a gen 1 doorbell and managed to get the snapshots and the live streams works temporarily the other week, but since then it’s been constantly timing out.
Now that I’ve updated to 5.3.0 the added logging has shown the following issue:
[8/2/2019, 10:16:12 PM] [Ring] Adding new accessory doorbell_v3 Back Door [8/2/2019, 10:16:12 PM] Back Door is running on port 45493. [8/2/2019, 10:16:12 PM] Please add [Back Door] manually in Home app. Setup Code: 031-45-154 homebridge : TTY=pts/1 ; PWD=/var/homebridge ; USER=root ; COMMAND=/bin/journalctl -o cat -n 500 -f -u homebridge pam_unix(sudo:session): session opened for user root by (uid=0) [8/2/2019, 10:27:33 PM] [Ring] Snapshot Requested for Back Door [8/2/2019, 10:27:34 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:35 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:36 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:37 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:40 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:42 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:52 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:53 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:56 PM] [Ring] Session hardware_id not found. Creating a new session and trying again. [8/2/2019, 10:27:56 PM] [Ring] Session response rate limited. Waiting to retry for 180 seconds
So it’s finding the doorbell, and i can add it in homekit, but when it tries to retrieve the snapshot or livestream it gives me a hardware_id not found error and then times out.
I read through the previously closed issue #78 about the same error, but i think this is something different. The only bit i’m not sure about is if you do need a paid ring subscription or not for this to work?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 51 (17 by maintainers)
Commits related to this issue
- fix(homebridge): handle missing snapshots and offline cameras #92 — committed to dgreif/ring by dgreif 5 years ago
No, you’re awesome!
Donation sent. Thanks for all you do to make this work. Ring promised us Homekit a long time ago and didn’t deliver. You did it with Homebridge and continue to make improvements. Thanks for all you do.
He mentioned it should be out today or tomorrow
Whatever you did…it worked great! Just got my first doorbell motion notification!
@dgreif I’m sat in Greece with 4mbps internet and everything is working perfectly, live feeds and 4G (lol) connectivity
I am on the latest version of the plugin and just updated to the latest public beta of iOS 13. Motion alerts are working very well for me.
@dgreif and helps you justify it to the “other half” 😃
You guys are awesome. Totally justifies my stickup cam purchase this morning, thank you!
@dgreif I bought ring in 2016n for the fact they said HomeKit integration imminent… you made it happen they have not, that was worth it for me 😃 I am addicted to home automation with over 250 devices now… so when it works it makes me happy 😃
@adavison007 that was extremely generous, thank you very much!!
@adavison007 thanks for confirming the snapshot timing! Regarding audio, I am at a bit of a stand still. It should be possible, but we need to find a configuration that is supported by both HomeKit and Ring. The main thing that I need is the SDP configuration for the audio streams, but the codec (AAC-ELD) does not appear to be widely used so I’m having trouble finding someone who can help create the proper SDP. It’s literally only 2 or 3 lines of code and then it should just work, but those lines need to be perfect. As for 2-way, I think that should be possible once we get the configuration figured out. I really just need some expert RTP/SDP help at this point. Regarding donations, I am happy to accept them (especially since I just bought a stickup cam for testing). There is a sponsor button at the top of the GitHub page that links to my paypal account. Any amount is much appreciated ❤️
@adavison007 thanks for the clarification. Just did a little testing and it looks like this is just a HomeKit thing. If you are on wifi it will request snapshots every ~10 seconds, but on 4G it only requests them once a minute. The plugin responds quickly, it’s just not being asked for snapshots. Good info to know 😄
@Sunoo I’m not quite sure why you are not receiving the motion notifications. Can you check the Home app to see if the camera motion sensor shows motion after you move in front of the camera? If it shows motion, then you may not have the notifications properly turned on. Also, make sure you are on the latest version of the plugin as older version had an issue with snapshots that could break everything including notifications.
@dgreif Ok, so removed all camera’s removed them via cli from Accessories file too… rebooted Homebridge, deleted your plugin, rebooted home bridge… rebooted router, appleTV etc… then reinstalled plugin and added 1 camera… BOOM! Works perfectly on the Wifi Network with snaps shot refresh every 10 seconds… went to 4G… it works… BUT the snaps shots take about 1 to 1.5 Minutes to refresh… is that normal behaviour? Do I need to change the timing settings?
ALSO - On 4G the video “Live” is instant… if you close and open the home app the snap set is instant… so i don’t think its a bandwidth issue…
@degreif ok, thanks’ appreciate your work. So if it works for you and it used to work for me, I’m sure I can get it to work… I’ll remove a camera and add it and see what happens, if not I’ll do a complete network reboot 😃 Thanks again
I’m gonna chalk up my issues to my Ring having an unstable connection as usual, will troubleshoot more later.
That’s an interesting discovery regarding the subscription though!
On Wed, Aug 7, 2019 at 3:22 PM Dusty Greif notifications@github.com wrote:
And thank you for all your hard works!
I appreciate the info everyone! I have a pretty good idea of what is causing this issue, and should be able to get a fix out on Wednesday or Thursday. The logs are very helpful so thanks for posting those. Sorry for the trouble!