matijse / eufy-ha-mqtt-bridge

Receive Eufy alerts and thumbnails in Home Assistant via MQTT
124 stars 25 forks source link

camera.deurbel_last_event doesn't have a picture #23

Open golles opened 3 years ago

golles commented 3 years ago

I noticed that most of the time the camera entity has no valid picture

access_token: dd1b40db1446780f051d744efd2c4b7628f3110bblablabla
friendly_name: Deurbel - Last event
entity_picture: >-
  /api/camera_proxy/camera.deurbel_last_event?token=dd1b40db1446780f051d744efd2c4b7628f3110bblablabla
supported_features: 0

If I open the entity_picture url in the browser I get 500: Internal Server Error

error and exceptions log files are empty, combined log only has successful entries.

Mqtt explorer is showing an entry for the camera, but it doesn't contain an image.

{"name":"Deurbel - Last event","topic":"homeassistant/camera/eufy/T8210P00bla_thumbnail","unique_id":"T8210P00bla_thumbnail"}
calisro commented 2 years ago

Did you enable notifications in the app? They need to be enabled in the app to see the notifications in the eufy HA.

Step-han commented 2 years ago

Yea, middle option. Full message with thumbnail.

I have a thumbnail from the camera in HA but its from yesterday. If I walk nearby and the motion is triggerd I don't get a new image until I reboot the docker container.

calisro commented 2 years ago

Just trying to help. Another thing I had to do was to have eufy docker use a completely different logon than the app. So I configured the bell with my primary account, shared it to a new email/login, logged in with that second account with the app, configured that account to get notifications and everything, logged out of that account, and plugged that account into HA. Then I relogged into the app with my primary account. Its really been working well for a while now.

I believe the last account to logon gets the notification essentially it is logging out your HA docker. When you reboot, you get it to logon again and get a notification but then it gets logged out again pretty quickly probably because of app polling.

Step-han commented 2 years ago

Thanks for the help! I forgot my second account which is logged in on the docker. Logged in on second account, enable tumbnail its working now :).