Untitled
unknown
plain_text
a year ago
1.2 kB
17
Indexable
alias: FRIGATE / Generative AI / Notification
description: ""
trigger:
- platform: mqtt
topic: frigate/events
condition: []
action:
- metadata: {}
data:
filename: www/latest_front.jpg
action: camera.snapshot
target:
entity_id: camera.front_doorbell_cam
- metadata: {}
data:
image_filename: www/latest_front.jpg
prompt: >-
Very briefly describe what you see in this image, but only if the image
has a person or a dog in it, from my front gate security camera. Your
message needs to be short to fit in a phone notification. Don't describe
stationary objects or buildings or the black gate and black letterbox.
response_variable: generated_content
action: google_generative_ai_conversation.generate_content
- data:
message: " {{ generated_content.text }} "
data:
entity_id: camera.front_doorbell_cam
push:
category: camera
action: notify.mobile_app_youriphone
enabled: false
- data:
message: " {{ generated_content.text }} "
data:
image: local/latest_front.jpg
action: notify.mobile_app_pixel_7
mode: single
Editor is loading...
Leave a Comment