fuatakgun / eufy_security

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

Can't push HA -> Companion app notifications with images #1208

Open andriuszvirblis opened 2 months ago

andriuszvirblis commented 2 months ago

I am trying to use this script in order to push notifications from my Eufy cameras using their image entities to my Android phone, but only text notifications appear without any images:

dangerzau commented 1 month ago

Try this in place of your image: line - Obviously replace your homeassistant url to your own and if not using ssl chnage to http:// instead of https:// - Have struggled with this a few times, and this seems the most reliable way to ensure the image shows up on the notification.

image: >-
  https://YOURHOMEASSISTANTURL/api/image_proxy/image.entrance_event_image?token={{state_attr('image.entrance_event_image','access_token')}}
andriuszvirblis commented 1 month ago

Try this in place of your image: line - Obviously replace your homeassistant url to your own and if not using ssl chnage to http:// instead of https:// - Have struggled with this a few times, and this seems the most reliable way to ensure the image shows up on the notification.

image: >-
  https://YOURHOMEASSISTANTURL/api/image_proxy/image.entrance_event_image?token={{state_attr('image.entrance_event_image','access_token')}}

Tried it, doesnt work either.