Skip to content
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

Binary sensor Ring ding not updating when pressed #66960

Closed
moostmartijn opened this issue Feb 20, 2022 · 58 comments
Closed

Binary sensor Ring ding not updating when pressed #66960

moostmartijn opened this issue Feb 20, 2022 · 58 comments

Comments

@moostmartijn
Copy link

The problem

I just installed a Ring Doorbell Wired and I assumed that whenever the push button is pressed the binary_sensor._ding would turn to "on". Unfortunately this sensor does not update, thus I cannot use this sensor in automations.

I'm not sure if it's Home Assistant or Ring issue. Can I check somewhere if it is a Ring issue?

What version of Home Assistant Core has the issue?

2022.2.8

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

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

@probot-home-assistant
Copy link

ring documentation
ring source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @balloob, 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!
(message by CodeOwnersMention)

@adorobis
Copy link

adorobis commented Mar 10, 2022

Same here. It works for a while after HA restart and stops updating the ding and motion binary sensors. Other sensors are updated e.g. last ding, last motion detected etc. but not the ones that should be updated the moment the button is pressed or motion detected so I can't get anyone at home notified that there is someone ringing the bell. No errors in the log about any problems with Ring integration. My Ring mobile app gets those notifications instantaneously. HA on the latest release: 2022.3.3

@adorobis
Copy link

Actually I have found the following entry in the log:

2022-03-09 21:58:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.front fails
Traceback (most recent call last):
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 535, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 744, in async_device_update
    raise exc
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/homeassistant/components/ring/camera.py", line 165, in async_update
    video_url = await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/ring_doorbell/doorbot.py", line 376, in recording_url
    req = self._ring.query(url)
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/ring_doorbell/__init__.py", line 107, in query
    return self.auth.query(
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/ring_doorbell/auth.py", line 99, in query
    req.raise_for_status()
  File "/usr/local/share/homeassistant/lib/python3.9/site-packages/requests/models.py", line 960, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://api.ring.com/clients_api/dings/7073182898853268247/share/play?api_version=9

It looks like the ding stops working at some point in time and later on not updating the ding and motion binary sensors whereas all other sensors work ok. This error is from night and dings are not detected the next day. No error is logged the moment when the button is pressed or when motion is detected.

@adorobis
Copy link

But, looks like above error is coinciding with the following ring service problem:
image
but the button pushes and motion detections are not working either on previous days when there was no degradation to the ring services.

@radiocolin
Copy link

I am also experiencing this issue. In the logbook it comes up as "Ding became unavailable" when it's pressed.

@Peiler10
Copy link

I also have the same issue. State is not switching to on in order to trigger my automations. This is a new installation so I am not aware if this was working before or not.

Are there any workarounds to get this event?

@C64ever
Copy link

C64ever commented Mar 13, 2022

Same exact problems here. Looks like it's still a problem on Ring's end. I can try to trigger motion alerts but they are MIA and I only see them listed in History 10-15 minutes later.

@adorobis
Copy link

Any news on this issue?

@radiocolin
Copy link

Still happening for me.

@timocide
Copy link

Bump! Also, my new ring sensors added do not pull the battery life feed anymore. Also having similar issues with motion detector state being stuck on "Detected" and not updating, along with the tamper state as well.

@wictorwilen
Copy link

Same here - the Motion sensor is not being updated, but he Last Time Motion time sensor is

@moostmartijn
Copy link
Author

@balloob; could you please respond to this issue?

@dlashua
Copy link
Contributor

dlashua commented Apr 21, 2022

also having this issue

@radiocolin
Copy link

This has been resolved for me since 2022.4 or so.

@adorobis
Copy link

Not in my case. I'm on 2022.4.6, after HA restart it works for some time (at least 10 hours) but stops working again later on. Hard to say exactly the timing, at 8:30 PM it worked and at 9 AM the next day it did not work anymore. No error is logged at the time the ring button is pressed.

@MikeG4936
Copy link

I can confirm that this is also happening for me. Latest version of HA and my ring doorbell motion and doorbell ding alerts are not triggering 10 hours following reloading the integration. Reloading the integration always fixes it, but just for about 10 hours.

@NickInManchester
Copy link

I have this issue but ONLY with the ding entity, for the last 5 or so days. The last activated etc. all get updated. Its a real problem for me. Missed several deliveries and people as this entity flashes lights and makes noises via automations. I've tried a reload which makes no difference. I've changed nothing in HA during this period.

Could it be something Ring has done? My chime also stopped working for a time but has now woken up again after I changed its volume twice.

Over the previous few months everything HAD worked very well and smoothly with this.

@jray1414
Copy link

I have a couple of older HA systems with the ring integration setup, and it has worked like a charm. It appears to be in a more recent update to HA that this problem comes up. The newest version of HA solved the issue on ONE instance that I have, but on 2 others with the most recent version, it persists. Any update on this @balloob ?

@NickInManchester
Copy link

NickInManchester commented Jun 17, 2022 via email

@TheGosatron
Copy link

Having the same issue on 2022.6.6, did anyone find a workaround at all? My 'last ding' updates, but the actual 'ding' sensor never updates. Thinking I should change my automation to trigger if last ding changes but not sure if that'll trigger after a reboot etc. Anyone managed to fix this?

@MikeG4936
Copy link

Switching to Ring-MQTT fixed all of my issues. Everything is faster and works 100% reliably every time now.

@TheGosatron
Copy link

Thank you @MikeG4936, I've made the switch too and works perfectly

@adorobis
Copy link

Switching to Ring-MQTT fixed all of my issues. Everything is faster and works 100% reliably every time now.

I'm trying it out as well but noticed that the ding sensor remains on for 3 minutes, is that normal? The same with motion detected sensor.

@TheGosatron
Copy link

@adorobis mine does too, just noticed that.

@adorobis
Copy link

It might actually resemble the Ring doorbell behavior as pressing the button shortly after first press does not do anything... I just need to check if it stays in that state for 3 minutes as well.

@TheGosatron
Copy link

Could just be the built in cooling off period. I looked but can't find anything online about the default cooling off period between alerts

@snigehere
Copy link

snigehere commented Aug 8, 2022

After installing Home Assistant 2022.8.2 motion detection stopped being reported in HA - If I looked at the "last motion" timestamp it updated corrected on each motion but checking the binary_sensor.xxxxx_motion it did not show any detection hits in the history (same issue with the mqtt sensor as well as native ring integration sensor. This caused issues for an automation that pushes the video to a wall tablet on motion detection. Its not the first issue with ring when installing HA system updates - A couple of releases ago all sensors went off line after a system update install. I run HA in VirtualBox under windows 10 and on that previous occasion closed the server and restarted it which solved it so tried it again this time and that again solved the issue. Not ideal having to close and restart the server after an update rather than just relying on HA to do its own restart.

@knights1
Copy link

knights1 commented Aug 31, 2022 via email

@aprosvetova
Copy link
Contributor

@knights1 You don’t need supervised HA to run ring-mqtt.

@knights1
Copy link

I have it running in a docker image and thus I dont have the add-ons feature which I need for Ring-MQTT right?
If you have any suggestions for me how-to install Ring-MQTT, please do :)

Would love to have the RING integration working.

@adorobis
Copy link

You don't need any add-ons feature nor supervisor. You can just install Ring-MQTT as docker container (that's how I did it). Excellent instructions are on the github page of the project.

@adorobis
Copy link

@knights1
Copy link

knights1 commented Aug 31, 2022 via email

@balloob balloob removed their assignment Oct 20, 2022
@Neeham
Copy link

Neeham commented Oct 26, 2022

I'll look into Ring-MQTT when I get a chance. In the meantime, any other workaround?

@WilcoE
Copy link

WilcoE commented Nov 21, 2022

Would also like to know if there is a fix or workaround, got the same issue and it's very annoying.
Don't want to buy a new Doorbell

@knights1
Copy link

knights1 commented Nov 21, 2022 via email

@adorobis
Copy link

if there is a fix or workaround

No fix but you can switch to Ring-MQTT which works very well.

@snigehere
Copy link

I get issues with both the ring integration and the mqtt add on .. I now combine both sensors in my automation hoping at least one will fire. I changed the network for my doorbell to improve the signal quality as the RSSI was on the edge and now don't seem to get an issue with that however my garden camera has an rssi of 57 and still get an issue with that .... I have set up a page that shows both sensors so I can easily spot issues.

@marcinprzybysz86
Copy link

I have both original integration + ring/mqtt. Ding sensor stopped working not sure when.. Live Stream is turned off (I know ding won't change when its on). No idea for now. Maybe you know how to debug this matter?

@ninjax95
Copy link

Same problem, is there a solution? Doorbell status does not go up in HA.

@Ixe1
Copy link

Ixe1 commented Feb 21, 2023

Same problem here as well, 'Ding' doesn't change state when the doorbell button is pressed, while other sensors like 'motion' and last ding, last motion, last activity and so on are fine.

I'll re-attempt to use MQTT later today and hope that resolves it.

@TheGosatron
Copy link

I’ve had no issues since switching to MQTT worked fine every time, haven’t considered going back to the Ring app at all

@Ixe1
Copy link

Ixe1 commented Feb 21, 2023

I'm doing that now, In the past I've used MQTT when I had another issue.

I have my previous doorbell on MQTT fine but the new one I upgraded to seems to only be showing the motion sensor via MQTT. I'll read the instructions and documentation for Ring MQTT and see what I've missed. I've upgraded to a Ring Doorbell Pro 2.

EDIT: Nevermind, more sensors are now appearing. I guess it just needed a little time.

@Breenzy
Copy link

Breenzy commented Mar 27, 2023

Experiencing same issue. Ding's don't register, under the binary sensor, yet the "Last Ding" does show it.

@dhavaldesai-HA
Copy link

Experiencing same issue. Ding's don't register, under the binary sensor, yet the "Last Ding" does show it.

Same here. "binery_sensor.ding" doesn't work. It only shows 'clear' as the state. "sensor.last_ding" shows some relevent info. It is frustrating ....

@adorobis
Copy link

adorobis commented Apr 1, 2023

Highly recommend to switch to Ring-MQTT - works rock solid
https://github.com/tsightler/ring-mqtt

@ErikRoepmanDO
Copy link

Highly recommend to switch to Ring-MQTT - works rock solid https://github.com/tsightler/ring-mqtt

I can confirm that this works perfect for me (and way faster response in Homassistant)
:)

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2023
@apekatten
Copy link

Do not mark issue as stale, issue still persists

@leader86
Copy link

Same issue here, Home Assistant 2023.7.2 + Ring-MQTT 5.5.0 - the ding sensor never change its state, either after a HA reboot

@s3018744
Copy link

Same for me: Home Assistant 2023.7.3, Ring-MQTT 5.5.1..

@NickInManchester
Copy link

NickInManchester commented Jul 26, 2023 via email

@snigehere
Copy link

There seems to be some confused posts since the ticket was closed. This issue (as documented) relates to the core ring integration .. nothing to do with mqtt so those posting mqtt integration versions etc its not relivent. For me the core integration fails but now the mqtt integration, which is an addon, flags the ding just fine and does it consistently.

The second issue is that this ticket is closed.. it was assigned to https://github.com/balloob when it was opened but i dont see any update from that person (i may have missed 8t) but now its closed I don't expect any update.

There is another ticket for this issue which is open. I would recommend posting comments there #88705

That said the ticket did not get assigned to anyone by the bot which suggests no one is looking after the integration

@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests