Script to take a picture from the camera #1131
Unanswered
mariomaz87
asked this question in
Q&A
Replies: 2 comments
-
Hi, according to the documentation, the service generate_image will only generate a thumbnail for Home Assistant if camera is already streaming. But this thumbnail is not stored in any accessible file. You may want to use the service camera.snapshot instead and store the file where you want. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. I found a workaround by adding the camera also with the Generic Camera integration (using RTSP) and using the Generic Camera service to take the picture:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm struggling to create a script that can generate an image from an Eufy Camera 2C and send a notification with it to my iPhone. I can turn on\off the streaming successfully from the script, the generate_image service runs without error, but where can I find the picture? The script is below, if I use the event_image picture the notification is ok but I get the latest event picture, while I want the image generated by the generate_image service. Thanks!
alias: camera notification
sequence:
device_id: c821251549f10f78375c348c4a1ab31b
entity_id: c54fdd2038658f9e17398610670b1a4d
domain: switch
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
data: {}
target:
entity_id: camera.balcone_lungo
device_id: c821251549f10f78375c348c4a1ab31b
entity_id: c54fdd2038658f9e17398610670b1a4d
domain: switch
domain: mobile_app
type: notify
message: Camera image
data:
image: /api/image_proxy/image.balcone_lungo_event_image
mode: single
I have found other similar questions here but I can't find the answer :)
Beta Was this translation helpful? Give feedback.
All reactions