Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Reolink Doorbell Notification
- description: ""
- triggers:
- - type: turned_on
- device_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
- entity_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
- domain: binary_sensor
- trigger: device
- conditions: []
- actions:
- - data:
- filename: /config/www/snapshots/doorbell.png
- target:
- device_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
- action: camera.snapshot
- - action: llmvision.image_analyzer
- metadata: {}
- data:
- include_filename: false
- target_width: 1280
- detail: high
- max_tokens: 100
- temperature: 0.2
- provider: xxxxxxxxxxxxxxxxxxxxxxxxxx
- model: gemini-1.5-flash-latest
- image_entity:
- - camera.doorbell_fluent
- message: >-
- Someone has run the doorbell. Desribe who it is in 1 sentance and make
- sure you note that they are at the door. Be mean and roast them
- response_variable: response
- - delay:
- hours: 0
- minutes: 0
- seconds: 1
- milliseconds: 0
- - data:
- message: "{{response.response_text}}"
- title: Ding Dong 🏠
- data:
- url: xxxxxxxxxxxxxxxxxxxxxxxxxx://
- image: /local/snapshots/doorbell.png
- action: notify.mobile_app_xxxxxxxx
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment