-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Motion Not Triggering #42
Comments
The Ring api for getting new events is definitely less than ideal. If you have any other setups that are polling for events, you will definitely run into conflicts. That means if you have anything using the python library or another homebridge plugin like |
I will disable the other ring python library I have setup and see if that does it. |
Happens de same to me, no other ring library but sensor doesn’t fire up, I receive notifications from ring app but no from plugin sensor |
I disabled and set to 1 second. Still not triggering. Is there any debugging I can turn on to look into it? |
There isn't currently any debug flags that you can turn on to see additional details, but that's something I could add. This particular issue is very hard to track down because the Ring api is very fragile. If one other client is grabbing events, you will lose the ability so see them. I'm going to look into auth sessions a little more and see if I can make it less fragile, but I can't make any promises. If you really want to debug it locally, you can add a |
Just for your info, there is a plug-in in homeassistant who works perfectly with. |
@divemasterjm do you have the homeassistant plugin running at the same time as the homebridge plugin? If so, that might be what's conflicting. Try turning that off and running just homebridge. |
@dgreif So i had to put the console login under I also turned off my IFTTT triggers just in case. |
So I am in the I am trying to print out the URL it is using but I am just getting this
I assume the clients_api will get replaced when the URL is actually called? Is there a way I can get the full URL so I can call it manually? |
@problemss that actually is the full url. Should be able to do a |
@problemss it's taken a lot of debugging and digging through other libraries, but I finally got to the root source of the issue on events not registering. It all has to do with how we are authenticating and setting up a session with Ring. I have most of the fix in place, but need to think through corner cases before I push it up. I've got a busy weekend, but I should have an update out early next week. Thanks for your patience, this was a tough one to track down! |
@dgreif that is awesome! Thank you so much! I will be out of town next week for the 4th but am excited to try the fix out when I get back! I also greatly appreciate you spreading the knowledge in the other project as well. |
guys. unfortunately for getting motion event we should create a session and use it. PS: dings/active?api_version=9&auth_token=zzbGBjWFcvCZKArwFQfH. |
@odenisenko as long as we include the hardware_id header from the session motion events work great. We don’t have to include the session auth_token, oauth authorization header is a better approach for authentication. Are you experiencing something different? |
@problemss I found some time to work on it this morning and I got all the session stuff finished up. Give v |
@dgreif I am excited to try it out when I get home. I feel stupid for asking, but I assume it is just npm update home bridge-ring-alarm correct or so I have to manually replace it? |
@problemss you have it right. All you need to do is update the homebridge-ring-alarm npm module and restart homebridge |
@dgreif works like a charm!!!! Thank you!! |
I can also confirm the update fixed my issue with motion events not being captured. Thank you! |
@problemss @johnsonjoshuaa thank you both for confirming that it's working! I just released another update that should improve motion/ding alert times even more. Give v |
@dgreif Thank you for the update. I installed it and I did notice the screenshots, and notifications where much quicker. The screenshots are also usable now. I noticed prior to the update the screenshot would be delayed and not always catch what triggered the motion. After the update the 7 motion events I have triggered on all 3 devices have resulted in a usable screenshot. So from my perspective everything works great! |
@johnsonjoshuaa I appreciate the feedback and testing. Glad to hear it's working well! 🎉 |
I just finished setting this up. I can see the snapshot is updated in my camera view, but I am not getting any motion triggers. I have motion setup on the ring app, but it is not triggering my homekit motion accessory. Any ideas?
The text was updated successfully, but these errors were encountered: