59 lines
3.5 KiB
Markdown
59 lines
3.5 KiB
Markdown
---
|
|
title: "Hauswacht — read-only Haus- & Fundament-Analyst (Hermes-Profil)"
|
|
category: systems
|
|
tags: [hermes, profile, hauswacht, observability, homeassistant, persona]
|
|
created: "2026-11-20"
|
|
modified: "2026-11-20"
|
|
---
|
|
|
|
# Hauswacht
|
|
|
|
Read-only Analyst für **Haus und Fundament**: versteht Zusammenhänge statt Schwellen zu melden, führt ein eigenes Weltmodell/Journal und baut sich billige Wächter — die erst nach Owner-GO scharf werden. Adaption eines OpenClaw-Persona-Pakets eines Kollegen (SOUL/AGENTS/IDENTITY/USER) auf unsere Umgebung.
|
|
|
|
## Ort & Zustand
|
|
|
|
| Punkt | Wert |
|
|
|---|---|
|
|
| Profil | `/home/debian/.hermes/profiles/hauswacht/` (5. Profil auf hermes-agent-01) |
|
|
| Identität | `SOUL.md` (wird je Session geladen) + `MANDAT.md` (Arbeitsregeln) |
|
|
| Weltmodell | `workspace/WELTMODELL.md`, `BEWOHNER-RAEUME.md`, `ZUGRIFF.md`, `KENNTNIS.md` |
|
|
| Gedächtnis | `workspace/JOURNAL.md`, `VORSCHLAEGE.md` |
|
|
| Wächter | `workspace/watchers/entwurf/stille_kanaele.py` — **Entwurf**, kein Cron, `aktiv/` leer |
|
|
| Gateway | `gateway.standalone: true` in config.yaml; Dienst **nicht installiert** → Profil derzeit gestoppt |
|
|
| Modell | `vllm/release/glm-5-3-flash`, Fallback `deepseek-v41-flash` / `qwen3.8-27b` |
|
|
|
|
## Datenquellen (bewusst anders als die Vorlage)
|
|
|
|
Die Vorlage las InfluxDB (z2m → NodeRed → Influx). **Bei uns gibt es InfluxDB — aber dreifach:** hot `.109` (90 d, HA schreibt hierher), Archiv `.110` (5 Jahre, 5-Min-Mittel), K8s `.204` (**leer**, unfertige Migration). Das Weltmodell wurde auf die echten Pfade übersetzt:
|
|
|
|
- **Haus:** Home Assistant `10.0.30.10:8123` (2.819 Entities; Recorder SQLite), MQTT/Zigbee2MQTT, free@home über XMPP, ESPHome, Shelly, ViCare-Cloud. **Historie:** InfluxDB `.109` (90 d) + Archiv `.110` (5 y, 5-Min).
|
|
- **Fundament:** Prometheus `10.0.30.202:9090` (103 Targets), Loki `10.0.30.207:3100` (`job=fluent-bit*`), PVE via `pvesh get`, Ceph via `ceph status --format json` (MON/MGR `10.0.20.92`).
|
|
|
|
## Kern der Adaption
|
|
|
|
1. **Die Naht ist das Revier:** Haus und Cluster sind ein Körper — am 08.11. fror HA ein, weil Galera-SST/Ceph-slow-ops im Keller liefen. Diese Kopplung überwacht sonst niemand (infra-sre = Security/SLA, Prometheus = Schwellen).
|
|
2. **Read-only ist absolut:** keine HA-Service-Calls, kein `qm`/`pct`/`kubectl`-Write, kein `systemctl`; Schreiben nur im Profil-Workspace. Anders als infra-sre hat Hauswacht **keine** Aktionsrechte, auch nicht mit Freigabe.
|
|
3. **Wächter-Lebenszyklus mit Schattenlauf:** Entwurf → ≥7 Tage Dry-Run (nur Log) → Owner-GO → aktiv (silent-on-healthy, `NO_REPLY`) → Rückbau bei Bedeutungslosigkeit. Grund: Heuristik-Veto des Owners.
|
|
4. **Kein Alert-Manager:** baut keine Schwellen-Wächter, die Prometheus/Alertmanager bereits abdecken.
|
|
|
|
## Verifikation (20.11.2026)
|
|
|
|
- `stille_kanaele.py --selftest` → SELFTEST OK (Treffer-Pfad für „still" + „unavailable").
|
|
- Scharfer Lauf → `NO_REPLY` (alle 7 curierten Kanäle frisch).
|
|
- Oneshot-Chat: Persona lud SOUL/MANDAT/KENNTNIS und beantwortete `count(up==0)` korrekt mit 0 (inkl. Gegenprobe auf leeren Vektor).
|
|
|
|
## Aktivieren
|
|
|
|
```bash
|
|
hauswacht gateway install # systemd-Dienst (nötig, sonst profile_parked)
|
|
hauswacht chat # Chat
|
|
```
|
|
|
|
Berichte/Vorschläge: `workspace/reports/`, `workspace/VORSCHLAEGE.md`. Kein Telegram, kein Push, kein Cron.
|
|
|
|
## Related
|
|
|
|
- [[systems/homeassistant]] · [[systems/monitoring]] · [[systems/proxmox-cluster]] · [[systems/ceph-cluster]]
|
|
- Solution: `docs/solutions/bug-fixes/2026-11-20-hermes-neues-profil-profile-parked.md`
|
|
- Skill: `devops/hermes-profile-setup`
|