home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.64k stars 30.79k forks source link

Ring integration stops updating motion event requiring integration reload #128597

Closed futomara closed 1 day ago

futomara commented 3 weeks ago

The problem

The ring integration motion event stops updating requiring a reload of the integration in order to function properly again. When the events are not updated, the automations don't work.

What version of Home Assistant Core has the issue?

core-2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Ring

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ring/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 weeks ago

Hey there @sdb9696, mind taking a look at this issue as it has been labeled with an integration (ring) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `ring` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign ring` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


ring documentation ring source (message by IssueLinks)

sinanqasha commented 3 weeks ago

I am having the same issue. It started with the 2024.10.1 update I rolled back. There was an open case and I hope it would be fixed. I skipped 2024.10.2 and installed 2024.10.3 yesterday. Same issue. I had to roll back to 2024.9.3. I did try and go into the ring control panal and delete and reauthenticate with no luck. I tried it on my test home assistant instance also same issue I am running ha on a virtual machine

blkbam commented 2 weeks ago

I'm experiencing the same. A rollback to 2024.9.3 and the integration is working again.

sinanqasha commented 2 weeks ago

Does anyone know if the 2024.10.4 solves this?

CryptoKylan commented 1 week ago

Same. Motion events seem to be broken since the last update or 2. Rings seem to be ok so but no motion events on doorbell cam and spotlight cam

sinanqasha commented 1 week ago

Has anyone tried the 2024.10.4 version? Or is there a fix coming with the 2024.11?

sdb9696 commented 1 week ago

2024.11 will have a reconfigure option that should help with event stability.

Raithmir commented 5 days ago

Updated to 2024.11 but still have an issue with the event entity not updating. The last_activity sensor updates at the end of motion activity it seems (so not much use for automations), but there's just no events triggered.

sdb9696 commented 5 days ago

Could you try the steps in the documentation update that is in this pull request preview? (needs 2124.11)

Raithmir commented 5 days ago

Could you try the steps in the documentation update that is in this pull request preview? (needs 2124.11)

Ah that tip about toggling the motion warning looks to be related. I actually have a motion schedule set up to not notify me of detections during the day on a couple of cameras. It looks like last night I was getting events triggered in Home Assistant, right up until 7am this morning, which is when I have the schedule disable notifications. So events do seem to be working with 2024.11 now for me (they weren't before).

GreenFrazer commented 5 days ago

I'm also having the same issue. I've followed the instructions to remove all authorised devices, updated to 2024.11, and done the motion toggle. I've deleted, rebooted, and installed the Ring integration again, but now I only see 12 entities, not the 19 I had before. I only see the camera and last activity sensors, not motion. also when I look at the automation I use on motion only battery levels is available!

jfxblue commented 4 days ago

Updated to 2024.11.1 and it's back to working!

tapnet88 commented 4 days ago

I've remained on 2024.9 for the last month, I've updated to 2024.11.1 but I am still not getting motion events I've tried removing all the authorized devices, I removed the devices from HA and re added re auth'd tried toggling the motion events in ring app but still nothing can anyone help? I have a Ring Elite Screenshot_20241108-221552 Screenshot_20241108-221539

sdb9696 commented 1 day ago

@tapnet88 this could be an issue with the Ring Elite. Could you upload the integration diagnostics?

tapnet88 commented 1 day ago

@tapnet88 this could be an issue with the Ring Elite. Could you upload the integration diagnostics?

Sure is this what you are after? config_entry-ring-01JC6XFJ3KJNGNCER62W9GVDK0.json

sdb9696 commented 1 day ago

Many thanks @tapnet88 the Ring Elite issue should be fixed by https://github.com/home-assistant/core/pull/130419. N.B. there is already an issue for Ring Elite here.

For the other issues on this thread (i.e. you have events but they're not updating) please follow the steps in the updated docs and if they do not resolve the issue please open a fresh issue with diagnostics and logs.

sdb9696 commented 1 day ago

I'm also having the same issue. I've followed the instructions to remove all authorised devices, updated to 2024.11, and done the motion toggle. I've deleted, rebooted, and installed the Ring integration again, but now I only see 12 entities, not the 19 I had before. I only see the camera and last activity sensors, not motion. also when I look at the automation I use on motion only battery levels is available!

@GreenFrazer because you deleted the integration rather than doing the reconfigure step described in the docs, your binary sensor entities are gone. This is because they are deprecated and will only be present if they previously existed. You will need to rely solely on the event entities.

futomara commented 18 hours ago

I followed all the recommended steps and still not fixed for me (OP) so I created an automation to reload the integration at 4 am every day.