fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
858 stars 73 forks source link

Thumbnail not updated #994

Open ajvdw opened 8 months ago

ajvdw commented 8 months ago

I have a 2K doorbell (T8210). When the doorbell rings the proper events are generated. The picture (camera.doorbell) is not updated however. It only shows the latest thumbnail when I restart Home Assistant. This issue was also mentioned in Bropat's repo (closed because it works a designed). The image is retrieved when the ring event is raised, however the backend is not serving the picture because it's not ready yet. It it possible to make configurable delay and/or retry method while retrieving the thumbnail? The image.doorbell_event_image is updated properly.....

fuatakgun commented 8 months ago

whenever the image is downloaded by add-on, it sends an update notification to integration and integration is fetching the new one. If there is a delay (and I know there is some), we cannot fix it.

what do you want to retry exactly because everything is updated properly and eventually.

ajvdw commented 8 months ago

The only problem that I have right now is, that the camera.doorbell entity is not updated with the latest image. You probably can replace the camera.doorbell image with image.doorbell_event_image if it originates from the same event.

sythesigh commented 7 months ago

I have the same issue here with version 8 (latest). The thumbnails are not updating unless I reload the integration. If it’s not reloaded, there is no image once the cameras have been activated.

fuatakgun commented 7 months ago

All your push notifications (motion, person, ringing etc) are enabled?

sythesigh commented 7 months ago

IMG_0599 IMG_0600 IMG_0601 A before and after of the two cameras I have, top image on HA dashboard is after I have loaded the integration, bottom image on HA dashboard is after I have clicked and looked at the live feed, then stopped the p2p stream on the backyard camera only. The same will happen when I look at the feed for the doorbell, I will lose my image. I have all necessary entities enabled, as far as I can tell.

fuatakgun commented 7 months ago

When the first integration is loaded, the camera gets the latest event picture.

There is a separate sensor image.camera_last_event which holds any further event pictures from camera.

Camera itself holds last streaming frame after initial reload.

If you are using the YAML on readme file, it handles the transition between image and camera depending on streaming status. You are not using it

robinhood-code commented 5 months ago

There is a separate sensor image.camera_last_event which holds any further event pictures from camera.

Camera itself holds last streaming frame after initial reload.

Where do you get the image.camera.last_event sensor? I searched for "image." in entities but only event image ones are shown:

image
CarstenDennis commented 5 months ago

I think I see something similiar - the images on the preview in HomeAssistant are rather obsolete

Example with the doorbell (S330 dual camera) even though that one has gotten alarms today - while the picture is from 2 days ago. image

And I have had Home Assistant restartet 30 mins ago

Clem- commented 3 months ago

The question is : is there a way to update the camera thumbnail with the last event_image ?