-
-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session Hardware_id not found #92
Comments
I think you do need a subscription. Do you have one? |
@runeix dgreif is unavailable until Wednesday, just so your aware. If anyone else can help they will try. I know they have been having issues with other plugins installed, with the latest updates. What other plugins do you have? |
Thanks for the really quick replies guys!
|
For me this happens when the doorbell loses connection with ring.com . But when that error starts occurring and accumulating, I get another error about reaching session rate limit and that I must wait for xx seconds. After that, the camera snapshots are not fetched for quite some time. |
Sometimes it works fine and sometimes: [8/2/2019, 9:07:02 PM] [Ring] Snapshot Requested for Front Door |
I'm seeing the same error on mine today. Seemed to happen after I upgraded to 5.3 |
Same error here but it started working again later |
Mine started working again as well. Maybe it was a problem on Ring’s end? |
Happening to me as well |
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! |
And thank you for all your hard works! |
Thanks @dgreif I noticed the session issue occurring when one ring was offline (dead battery) but all had the issue, once the sign came online again the others all started working again |
Thanks @dgreif , I am experiencing this as well! |
@dgreif let me now if you need me to try a beta, I am home today and tomorrow then off on holidays with no access for 2 weeks, so ha[p[y to help will testing code in the next 48 hours. |
@dgreif Any news on a fix? I know this is project work and we all appreciate your efforts, just keen to rye the fix if you have it prior to going on holidays? I don't want to remove this plugin before I go on holiday, but with the 4g issues, I may have to as it stops homekit functioning.. Fingers crossed? happy to donate BTW...? |
He mentioned it should be out today or tomorrow |
Give v |
I just updated and am receiving this error:
After I try to see live video again, the logs say it's streaming but it doesn't actually show anything live on my phone. |
@ifeign that can happen if you create live streams too close together, like within a few seconds of each other. The camera takes a second to reset before it will accept another live stream. If you stop streaming and wait 20 seconds, then try again it should work. I also wanted to mention that you apparently do not need a Ring subscription for all of the homebridge functionality to work. My subscription happened to lapse over the weekend (due to some really odd billing issue on Ring's end) and everything kept working perfectly. Looks like recordings and alarm monitoring are the only elements that get dropped without a subscription 🎉 |
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 ***@***.***> wrote:
@ifeign <https://github.com/ifeign> that can happen if you create live
streams too close together, like within a few seconds of each other. The
camera takes a second to reset before it will accept another live stream.
If you stop streaming and wait 20 seconds, then try again it should work.
I also wanted to mention that you apparently *do not need a Ring
subscription* for all of the homebridge functionality to work. My
subscription happened to lapse over the weekend (due to some really odd
billing issue on Ring's end) and everything kept working perfectly. Looks
like recordings and alarm monitoring are the only elements that get dropped
without a subscription 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#92?email_source=notifications&email_token=AHWLHYD2XDF3T2NTFW7RWRLQDNDKBA5CNFSM4II5LNPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3Z327A#issuecomment-519290236>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHWLHYEE33GHSQEKCFEU6RLQDNDKBANCNFSM4II5LNPA>
.
|
@dgreif Thanks for the work on this, appreciated... So on my local network everything works perfectly. When I switch to 4G everything in HomeKit works fine other than the ring cameras and motion sensors, they say not responding.. I revert back to wifi and they work immediately again... I have rebooted everything, Homebridge, AppleTV and phone..... have you tired the new code when on 4G? |
@adavison007 I just tried it and it's working for me on 4G now. That bug was driving me crazy last week and then it just magically fixed itself after a day or two. It's some weird combo between homebridge and all the HomeKit devices and unfortunately I don't think there is anything else I can do to debug it at this point. Hopefully yours magically starts working too (maybe after another iOS 13 beta update) 🤞 |
@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 |
@adavison I had the same exact issue when on LTE last week. My best guess is that if one of your iOS devices has not backed up to iCloud (which stores your HomeKit configuration) before you go offline, you will be unable to access the device remotely. The issue immediately stopped for me when I manually initiated an iCloud backup, let it finish, then disconnected from WiFi and tried again. |
@EarthRise626 Thanks for the tip, just did that, a few now work, others don't... I'll do it a few more times, then if not delete one of the non working ones and re add it and see what happens. |
I upgraded to 5.3.2 tonight. Still getting these errors. I also don't know why poor wifi is being reported. My doorbell (RVD2) and spotlight cam both report RSSI in the green range which means strong signal from my Eero mesh router on a 1 gig fiber ISP. [8/7/2019, 8:09:11 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/snapshots/image/25408636
[8/7/2019, 8:09:11 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/snapshots/image/6425034
[8/7/2019, 8:09:20 PM] [Ring] Snapshot Requested for Backyard
|
@jamesg311 thanks for the logs! All three cameras report “online” so You can disregard the WiFi suggestion in the error. What type of cameras are each of them? Do snapshots work if you open the Ring app? |
Driveway & Backyard are both Spotlight Cam Battery-powered models. The doorbell is Ring Video Doorbell 2 (note that motion notifications don't ever work for the Doorbell, despite changing the name to "Doorbell" and having motion notifications enabled). Snapshots work in the Ring app. Sometimes they work in Home app except when I'm off network but I'm following some suggested troubleshooting on that (iCloud Backup that I read in this or another thread). |
Wait, are motion notifications supposed to work? I’ve never gotten one and just assumed they weren’t implemented. |
For my Spotlight Cam's motion notifications do work. Sometimes they include snapshots too! |
I just have a doorbell, but I’ve never gotten one. Huh. |
@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.... |
@adavison007 glad to hear you are making progress on the 4G issues! Regarding the snapshots taking a while, it looks like they are being fetched nice and fast (~3s on average in your logs). What you might be seeing that seems slow is the instances where we serve a stale image because it is less than 30 seconds old. In your logs, the @Sunoo motion alerts should work just fine with any of the cameras. If it is a battery model (even if wired), you may get stale snapshots or no snapshots at all, but the motion alerts should work regardless. Try turning the motion notifications off and back on in the Home app if they aren't working. @jamesg311 I think I'm at the end of my ability to guess at the behavior for battery cameras and snapshots. All of my cameras are wired so I haven't been seeing these session/404 issues that a lot of users are experiencing. I finally broke down and ordered a battery stickup cam so that I can really test stuff out rather than crossing my fingers when I release fixes for the battery cams. Hopefully I can get this all straightened out within the next week. In the mean time, your cameras should correctly notify you of motion events but may not include a snapshot. |
@dgreif Thanks, take a look at the Kitchen Ring.... the fast kitchen updates are when it was on lan, then on 4G you see it's goes from 12 second updates to 3 minute updates for a snapshot... I'm cool with that, just sharing. if we can get the same update remote as local then awesome, if not fine, as the live video is instant on 4g... which is why i thought it strange that snapshots were not. |
My doorbell is wireless, but wired to power. I tried toggling it on and off, but it's still not sending notifications. |
@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 just tested the above and I am getting those exact results on all 11 cameras... 10 second snapshot on wifi and 1 minute on 4g, working flawlessly! NICE WORK.... The big question, do you think it will ever be possible for you to get sound and also answering and talking of a ring doorbell into this app? As I said before, I love your work and passion and would be happy to donate towards this project financially? |
@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 ❤️ |
@dgreif donation sent |
@adavison007 that was extremely generous, thank you very much!! |
@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 :) |
You guys are awesome. Totally justifies my stickup cam purchase this morning, thank you! |
No, you're awesome! |
@dgreif and helps you justify it to the "other half" :) |
The Home app does not show motion being detected at all. And I am running the latest version of your plugin. |
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.
… On Aug 8, 2019, at 4:58 PM, Sunoo ***@***.***> wrote:
@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.
The Home app does not show motion being detected at all. And I am running the latest version of your plugin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
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. |
@dgreif I’m sat in Greece with 4mbps internet and everything is working perfectly, live feeds and 4G (lol) connectivity |
So I got my battery stickup cam and had some time to test it out with snapshots. I think I really understand the limitations and functionality of the Ring api now, and just released some changes that should hopefully improve the snapshot experience on both wired and battery cameras. We are still limited to 30s/10m for battery/wired cameras, but I'm being smarter about looking at when the last snapshot was taken and not fetching stale images over and over again. I would appreciate any feedback on how snapshots work for you all on v |
Whatever you did...it worked great! Just got my first doorbell motion notification! |
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?
The text was updated successfully, but these errors were encountered: