Hi,
So i configured my AD410 in HA including sensor and all is working fine.
One issue which is remaining for me is i cant send snapshot notification.
I am using this URL for snapshot: http://admin:[email protected]/cgi-bin/snapshot.cgi
When i open it in chrome it work (but in low resolution which is a different issue).
But when i try send this in HA using below code it doesn’t send the snapshot .
I tried this on multiple phone and also hass.agent to PC all with same issue.
any idea how to fix this ?
If using something like html5 or notify.ios the link must be externally accessible even if local asset i believe.
-put file like notify.jpeg in www folder
-in automation save the image to be sent to that location
-send the notify.jpeg image in your notification
-you may delete or write some default image to location after image is sensitive
Honestly you may use some token to allow access to image as well but i never figure out how to use bearer token in link for this
not sure how to complete this steps …
can we talk in private ?
how do i save the image in automation and then send it ?
-in automation save the image to be sent to that location
-send the notify.jpeg image in your notification
-you may delete or write some default image to location after image is sensitive
I like to see this snapshot on multi notify service.
I use the HA app on my phone and also HASS.agent on PC and also android tv notification on my tv.
This is when someone will press the doorbell.
I guess if i can get one of this services to work i will be able to copy to other services.
I was able to get snapshot in companion app and in telegram.
It took me so much time but after tried it with " " and with local and not www it worked .
also thanks to GaryOkie i was able to fix the resolution.
Still i cant make it work in hass.agent .
also didn’t try yet on android tv notification
also you mentioned the option to:
“-you may delete or write some default image to location after image is sensitive”
can you explain how to do that ?
Get a photo or image from any website or your own and save it in the same folder.
After message is sent add some short delay(like 5 seconds) then write the image over the sensitive one
This does 2 things
delay to allow device to retrieve image before it is gone
default image always verifies device was able to access location. Sometimes images don’t download to device and i get 404 or some error message. If photo did bot exist it would be hard to tell if access issue or file missing issue. Default photo always lets you know if HA worked or another issue caused problem
the shell command should work, I just forget if /local will be the correct file path or not. you may need to check that. You can just call the service in Dev Tools to test it.