Commit Graph

5 Commits

Author SHA1 Message Date
blasebast 6328a7c275 feat(ha): cushion rain check via Gemini vision
New pyscript automation that snaps reolink_5_main when rain is incoming,
asks Gemini (ai_task.google_ai_task) whether loose cushions/cushions
are still on the terrace sofa, and alerts on mobile_app_is17 + Telegram
sendPhoto when has_loose_cushions=True with confidence >= 70%.

Triggers (all respect 3h cooldown):
- period 30min: forecast precipitation > 0.5mm in next 2h
- state: sensor.home_precipitation_intensity >= 0.1mm/h
- state: weather.forecast_home transitions into rainy/pouring/snowy/hail
- service: pyscript.cushion_check_now (manual)

Adds TELEGRAM_BOT_TOKEN/TELEGRAM_CHAT_ID to HA container environment
(HA scrubs env_file vars but honors hardcoded environment entries).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-30 07:18:47 +02:00
blasebast 9b069a15c4 docs: improve all README files, add uptime-kuma 2026-04-12 20:11:50 +02:00
blasebast cd74264bb5 Add pre-commit with detect-secrets, ignore gitea runtime data 2026-04-11 10:34:50 +02:00
blasebast 2269112842 Update docker-compose.yaml: Remove homeassistant dependency from whoami, add restart policy to postgres-exporter, and change volume mounts to use 'slave' mode for media directories. 2026-04-09 11:06:52 +02:00
blasebast ac94bb4759 .gitignore, documentation, other improvements 2026-04-04 21:45:48 +02:00