Guest User

Untitled

a guest
Nov 2nd, 2024
9,531
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 1 0
  1. alias: Reolink Doorbell Notification
  2. description: ""
  3. triggers:
  4. - type: turned_on
  5. device_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
  6. entity_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
  7. domain: binary_sensor
  8. trigger: device
  9. conditions: []
  10. actions:
  11. - data:
  12. filename: /config/www/snapshots/doorbell.png
  13. target:
  14. device_id: xxxxxxxxxxxxxxxxxxxxxxxxxx
  15. action: camera.snapshot
  16. - action: llmvision.image_analyzer
  17. metadata: {}
  18. data:
  19. include_filename: false
  20. target_width: 1280
  21. detail: high
  22. max_tokens: 100
  23. temperature: 0.2
  24. provider: xxxxxxxxxxxxxxxxxxxxxxxxxx
  25. model: gemini-1.5-flash-latest
  26. image_entity:
  27. - camera.doorbell_fluent
  28. message: >-
  29. Someone has run the doorbell. Desribe who it is in 1 sentance and make
  30. sure you note that they are at the door. Be mean and roast them
  31. response_variable: response
  32. - delay:
  33. hours: 0
  34. minutes: 0
  35. seconds: 1
  36. milliseconds: 0
  37. - data:
  38. message: "{{response.response_text}}"
  39. title: Ding Dong 🏠
  40. data:
  41. url: xxxxxxxxxxxxxxxxxxxxxxxxxx://
  42. image: /local/snapshots/doorbell.png
  43. action: notify.mobile_app_xxxxxxxx
  44.  
  45. mode: single
  46.  
Advertisement
Add Comment
Please, Sign In to add comment