Amcrest send snapshot

Hi, Does anyone have a way to send a picture from an amcrest camera? I plan to use telegram or mqtt but I can’t find how to actually get the photos from the camera. Any ideas/examples?

Cheers

this example from HTML5 Push notification
if camera setup in HA use the HA Api to send image like this “https://my_HAserver.com/api/camera_proxy/camera.mycamera?api_password=MyHAPassword”

- alias: 'Notify Gate Closed'
  trigger:
    - platform: state
      entity_id: binary_sensor.entry_gate
      from: 'on'
      to: 'off'
  action:
    - service: notify.notify
      data:
        title: 'GATE'
        message: 'Closed'
        data:
          tag: alert
          url: 'https://my_HAserver.com'
          image: "https://my_HAserver.com/api/camera_proxy/camera.mycamera?api_password=MyHAPassword"
          vibrate:
            - 300
            - 100
            - 400
          renotify: 0
1 Like

Thanks works great!

I have this configuration but the image in the notification is delayed. The motion detection seems to happen immediately but the image in the notification is late that the motion is not captured.