Created
May 15, 2025 19:44
-
-
Save bruxy70/b2e2a1830759a8b2588b530d678979ee to your computer and use it in GitHub Desktop.
Check cameras at sunset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Check cameras at sunset | |
description: "" | |
triggers: | |
- trigger: sun | |
event: sunset | |
conditions: [] | |
actions: | |
- alias: Check bio-waste container | |
if: | |
- condition: state | |
entity_id: sensor.bioodpad_days | |
state: "1" | |
then: | |
- action: llmvision.image_analyzer | |
data: | |
include_filename: false | |
max_tokens: 100 | |
temperature: 0.2 | |
generate_title: false | |
provider: **redacted** | |
image_entity: | |
- camera.front_generic | |
remember: false | |
message: >- | |
**Task:** Check whether a brown bio-waste bin is visible behind my | |
fence (identify it using the memory). | |
**Procedure:** 1. Use the memory to recognise the bin. 2. Ignore | |
any bins that are outside my property (e.g., at a neighbour’s). | |
**Response:** Respond '1' if the bin is present, '0' if not. Only | |
respond the single character '0' or '1', with no extra text, spaces, | |
or comments. | |
target_width: 1920 | |
use_memory: true | |
response_variable: response | |
- if: | |
- condition: template | |
value_template: "{{ response.response_text == '0'}}" | |
then: | |
- action: assist_satellite.announce | |
target: | |
entity_id: assist_satellite.home_assistant_voice_pe_assist_satellite | |
data: | |
preannounce: false | |
message: Zítra je svoz bioodpadu - před domem není popelnice. | |
enabled: true | |
- alias: Check general-waste container | |
if: | |
- condition: state | |
entity_id: sensor.smes_days | |
state: "1" | |
then: | |
- action: llmvision.image_analyzer | |
data: | |
include_filename: false | |
max_tokens: 100 | |
temperature: 0.2 | |
generate_title: false | |
provider: **redacted** | |
image_entity: | |
- camera.front_generic | |
remember: false | |
message: >- | |
**Task:** Check whether a gray general-waste bin is visible behind | |
my fence (identify it using the memory). | |
**Procedure:** 1. Use the memory to recognise the bin. 2. Ignore | |
any bins that are outside my property (e.g., at a neighbour’s). | |
**Response:** Respond '1' if the bin is present, '0' if not. Only | |
respond the single character '0' or '1', with no extra text, spaces, | |
or comments. | |
target_width: 1920 | |
use_memory: true | |
response_variable: response | |
- if: | |
- condition: template | |
value_template: "{{ response.response_text == '0'}}" | |
then: | |
- action: assist_satellite.announce | |
target: | |
entity_id: assist_satellite.home_assistant_voice_pe_assist_satellite | |
data: | |
preannounce: false | |
message: Zítra je svoz odpadu - před domem není popelnice. | |
enabled: true | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment