ring icon indicating copy to clipboard operation
ring copied to clipboard

Black thumbnail

Open rpmartinez3 opened this issue 5 years ago • 22 comments

Bug Report

Describe the Bug

A clear and concise description of the problem...

To Reproduce

Steps to reproduce the behavior:

  • Open home app and go to room that has the Ring doorbell camera.. instead of seeing a preview image, its just a black image.

Expected behavior

have a screenshot of the ring cameras view.

Screenshots/Logs

If applicable, add screenshots and log output to help explain your problem.

Additional context

Add any other context about the problem here.

Homebridge Ring Config

Post homebridge-ring platform config without sensitive information


HIGHLIGHT THIS TEXT AND POST CONFIG HERE
DO NOT INCLUDE YOUR REFRESH TOKEN OR EMAIL/PASSWORD (replace them with xxx)

Environment

  • OS: [e.g. Raspbian]
  • Node.js: [e.g. 12.14.1]
  • NPM: [e.g 6.13.4]
  • homebridge-ring: [e.g 6.0.3]
  • homebridge: [e.g. 0.4.50 or N/A]
  • hoobs: [e.g. 0.4.50 or N/A]

rpmartinez3 avatar Nov 21 '21 13:11 rpmartinez3

Do your thumbnails update properly within the Ring app? If not, try rebooting your camera (kill power, pull battery)

dgreif avatar Dec 01 '21 23:12 dgreif

Hey, the thumbnail updates properly within the Ring app.

rpmartinez3 avatar Dec 02 '21 12:12 rpmartinez3

Are there any errors in your logs? Not much info to go off of here

dgreif avatar Dec 02 '21 15:12 dgreif

Just a slow to respond error. image

rpmartinez3 avatar Dec 02 '21 15:12 rpmartinez3

I don't see any logs in there about snapshots. Could you set "debug": true in your ring plugin config, and then load up the Home app to a spot where it should be pulling the thumbnails?

dgreif avatar Dec 02 '21 16:12 dgreif

Ok I will once I'm back home. But just want to double check we're on the same page. My black thumbnail issue occurs whenever I load the home app and go look at the camera feed.. it's black.. once I tap and open the feed it'll be black for a few seconds and then it'll show the video. Same thing happens whenever someone rings the doorbell.. the initial tvOS doorbell notification that appears is black and then a few Seconds later the stream appears.

rpmartinez3 avatar Dec 02 '21 16:12 rpmartinez3

image

rpmartinez3 avatar Dec 02 '21 18:12 rpmartinez3

image This makes it look like it's caching images just fine. Have you tried rebooting your phone/home hub?

dgreif avatar Dec 02 '21 22:12 dgreif

I'll try rebooting everything

rpmartinez3 avatar Dec 02 '21 22:12 rpmartinez3

I just restarted everything and I'm still having the issue. The problem is that when I first open the home app or get a door bell press and the notification appears on the screen, the thumbnail is black and then a few seconds later the image loads. Before I used to see a thumbnail it might have been a few hours old or a day old but there was an image and then stream would take over that image. Now it's just black for a few seconds and then the stream.

rpmartinez3 avatar Dec 02 '21 22:12 rpmartinez3

I'm not sure there is anything else for me to do here. It's possible that HomeKit or the Home app updated and broke this functionality as well

dgreif avatar Dec 02 '21 23:12 dgreif

If that's the case I'm surprised I'm the only one to have noticed so far.

rpmartinez3 avatar Dec 02 '21 23:12 rpmartinez3

Do you get proper thumbnails in notifications? (before you click on them)

dgreif avatar Dec 03 '21 03:12 dgreif

Do you get proper thumbnails in notifications? (before you click on them)

No, I do not. I have to click on them.

rpmartinez3 avatar Dec 04 '21 13:12 rpmartinez3

What type of camera is it? Is it battery powered or hard wired?

dgreif avatar Dec 04 '21 15:12 dgreif

Video doorbell 3 battery powered.

rpmartinez3 avatar Dec 04 '21 15:12 rpmartinez3

It's likely because it's battery powered that it isn't showing thumbnails. See https://github.com/dgreif/ring/wiki/Snapshot-Limitations. Nothing else I can do at this point, sorry!

dgreif avatar Dec 04 '21 15:12 dgreif

i have same issue to across a range of different ring cameras which are not battery powered

tron-zero avatar Dec 04 '21 15:12 tron-zero

I'm able to recreate it as well. I think this can be explained by the fact that I return an empty image to HomeKit if there isn't a recent snapshot cached. It used to be ignored, but the Home app seems to be showing a blank image in this case now. This blank image is necessary to avoid the camera being marked as non responsive. See the wiki for more details on the timing complications with snapshots. In the end, I think this is working as expected. If you see a blank image, you should be able to wait 10 seconds and then receive a good snapshot

dgreif avatar Dec 05 '21 17:12 dgreif

Ok thank you for looking into it.

rpmartinez3 avatar Dec 05 '21 17:12 rpmartinez3