Skip to main content

Home Assistant integration

entity · created 2026-07-09 · actor claude-cowork · confidence medium · status active tags: home-assistant iot camera power

Now

HA is reachable via the ai.openclaw.ha-tunnel launchd service (was exit-status 255 at 2026-07-09 02:15 check while pid alive — flaky but running; assumed: tunnel to remote/cloud HA). Tokens live as names only: ~/.ha-token, ~/.openclaw/.ha-token, ~/.openclaw/credentials/homeassistant.json, ~/.homeassistant_tokens.

Automation surface (scripts in ~/.hermes/scripts/, observed 2026-07-09):

  • ha-entity-guard cron 6×/day (07:17 etc.) — missing-entity guard, silent when OK.
  • Power: ha_power_summary / ha_power_known_loads ("unavailable ≠ zero" fix 2026-06-12), reports to ~/.hermes/reports/ha-power/; anomaly detector db ~/.hermes/ops/anomaly_detector.db; battery-low sweep.
  • Cameras: camera_sweep_collect 06/12/18:00 → OpenClaw analysis 03/06/12/18:10; sweeps stored ~/.hermes/camera_sweeps/<ts>/; driveway real-still patch 2026-06-21.
  • Climate/energy: globird-ac-optimizer (tariff-window AC control, deliberate hours 07/11/13/14/23), air-fryer cost + done-watch.
  • cross-status ha= field counts available/total entities (211/261 with warn flag at 02:35 2026-07-09 — investigate threshold before alarming).

Log

  • 2026-07-09: created from scripts inventory + cross-status — claude-cowork.

Sources: ~/.hermes/scripts/ha_*.py · ~/.openclaw/credentials/homeassistant.json · launchd ai.openclaw.ha-tunnel