Hello,
I read here a lot! but still, i cannot find how do I make HA send me a notification with photo to my device.
today i get it to my Gmail for every motion, this is very unfriendly.
any info will be great.
Thanks!
MP
Hello,
I read here a lot! but still, i cannot find how do I make HA send me a notification with photo to my device.
today i get it to my Gmail for every motion, this is very unfriendly.
any info will be great.
Thanks!
MP
First you must select a Component to use for sending notification.
I like HTML5 component because it works with all devices and does NOT require install another app.
It also send image with notification.
It can be a little difficult to setup but may be worth your time
Thanks. but i dont know how to make it user what my dahua camera.
Dahua link to .jpg file or stream?
.JPG like i get to my email.
Html5 support.jpg
You only need put link
If you are asking what I think you may be asking… you can “email” (the same way you already have (I’m assuming) set up) your cell phone number. google the requirements for that, it will look like [email protected] (for Google Fi) or [email protected] for AT&T
using api you can output image from HA camera
below is working for me for html5. I believe you can use link as shown below for image. just change for your server and your camera
When Gate open I receive notification with image from my camera
- 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
nice! so this cannot take an image from camera wen there is motion detection?
Yes, it is possible
You must setup another sensor to detect motion and use that to trigger automation.
Something like ffmpeg binary sensor component can be used for this
yes, i see it, I still did not understand how that work.
Do you know where i can find an example code how do i config it?