Auto-sync: 2026-10-02

This commit is contained in:
Dominik Schön
2026-10-02 22:00:00 +00:00
parent b527e4ff3c
commit dd78080e5f
8 changed files with 400 additions and 10 deletions
+15
View File
@@ -64,7 +64,22 @@ modified: "2026-09-27"
- Marstek Speicher (VENUS-E, IP 10.0.50.113)
- Various sensors (Xiaomi BLE, etc.)
## EMHASS Batteriesteuerung
- **Endpoint:** `http://10.0.30.10:5000` (v0.18.4)
- **Architektur:** EMHASS = Sole Optimizer. Virtuelle 16 kWh Batterie (BYD 11k + Marstek 5k).
- **Config API:** `POST /set-config` überschreibt GESAMTE Konfig (kein Partial-Update!). Immer alle Felder senden. Siehe Solution Doc `integrations/2026-10-02-emhass-set-config-overwrite-pitfall.md`.
- **Akuelle Config (2026-10-02):**
- Capacity 16000Wh, Charge/Discharge 6700W, Efficiency 0.9
- Target SoC 0.15 (15%), Min SoC 0.1, Max SoC 1.0
- `set_battery_dynamic: True`, `set_use_battery: True`
- SoC sensor: `sensor.total_soc`, Power sensor: `sensor.batteries_power_out_total`
- **Kaskaden-Automation** (`1774430238377`, ON): EMHASS target → BYD (803 Auto default, 802 bei `target<=0 && pv<100`) + Marstek (Rest via `sensor.marstek_target_power`)
- **Template Sensoren:** `sensor.smart_battery_target` (EMHASS), `sensor.marstek_target_power` (Plan A: smart_target − actual_BYD_discharge). `sensor.sma_target_power` ENTFERNT (Double-Counting Bug).
- **Cron:** `a32005d62226` (no_agent, every 15m, runner script) ruft EMHASS Optimization auf.
- **Backup:** `.bak.20261001_175804` für configuration.yaml + automations.yaml
## Related
- [[systems/frigate]] — NVR Integration
- [[systems/noris-ai]] — LLM Vision Provider
- [[reference/ip-map]] — IP Assignments
- [[reference/emhass-cascade-automation-architecture]] — Kaskaden-Architektur Details
+39 -10
View File
@@ -18,23 +18,52 @@ modified: "2026-09-29"
## Modelle
| Typ | Modell-ID | Hinweise |
|-----|-----------|----------|
| Flagship LLM | `glm-5-2` | Primary, OpenRouter-kompatibel |
| General | `gemma-4-31b-it` | Vision-fähig, genutzt von LLM Vision |
| Large MoE | `gpt-oss-120b` | |
| Mid-range | `qwen3.6-27b` | |
| Mid-range | `qwen3.8-27b` | |
| Fast | `ds-v4-flash` | Low-latency, Paperless OCR |
| Embedding | `harrier` | Vektorembeddings |
| Flagship LLM | `glm-5-2` | ⚠️ **DOWN seit 2026-10-02** — `release/glm-5-2` hängt (0 Bytes). Siehe Ausfall-Log. |
| General | `gemma-4-31b-it` | Vision-fähig. ⚠️ `release/gemma-4-31b-it` → **403 model_blocked** für VM107-Key |
| Large MoE | `gpt-oss-120b` | ✅ verifiziert 200 |
| Mid-range | `qwen3.6-27b` | ✅ verifiziert 200 |
| Mid-range | `qwen3.8-27b` | ✅ verifiziert 200 |
| Fast | `ds-v4-flash` | Low-latency, Paperless OCR. ✅ `qsu/deepseek-v41-flash` verifiziert 200 |
| Embedding | `harrier` | Vektorembettungen |
| Image Gen | `qwen-image-2-1` | Via `/v1/chat/completions` (NOT images/generations). Base64-PNG im content-Array. ~30s/ Bild. |
### Deployment-Lanes
Modelle existieren in zwei Lanes: `release/*` und `qsu/*`. **Nicht deckungsgleich** —
ein Key kann `qsu/x` erlauben und `release/x` blocken (und umgekehrt).
Bei Key-Problemen immer beide Lanes gegentesten.
### `/v1/models` ist KEINE Verfügbarkeitsliste
Sie listet Modelle, die der Key nicht nutzen darf (→ 403 `model_blocked`) und
auch solche, deren Backend hängt (→ curl `code=000`).
## Ausfall-Log
| Datum | Modell | Symptom | Status |
|-------|--------|---------|--------|
| 2026-10-02 | `release/glm-5-2` | TCP-Connect OK (0.69s), TLS OK, **0 Bytes Response** (ttfb=∞), stream + non-stream, von 2 Hosts reproduziert | offen |
**Log-Signatur:**
```
httpx.ReadError: [Errno 32] Broken pipe
→ openai.APIConnectionError: Connection error.
→ 3 Retries → "Provider has been unresponsive (no response received)
for 5 consecutive stale attempts"
```
**Diagnose:** `curl code=000` bei erfolgreichem `time_connect`/`time_appconnect`
⇒ Modell-Backend defekt, nicht Infrastruktur. Siehe [[patterns/llm-backend-hang-diagnosis]] (PAT-015).
## Verbraucher
- **Hermes Agent** — Primärmodell `glm-5-2` via OpenRouter
- **Hermes Agent** — Primärmodell; `glm-5-2` war Default bis 2026-10-02,
jetzt `qsu/deepseek-v41-flash`
- **HA LLM Vision** — `gemma-4-31b-it` für Bildanalyse (Frigate Events)
- **Paperless** — `ds-v4-flash` für OCR/Kategorisierung
- **Personal Coach Bot** — `glm-5-2` via noris direkt
- **Dynamic Coach** — `glm-5-2` via noris direkt, `qwen-image-2-1` für Visualisierungen
- **Sarah-Hermes (VM107)** — `qsu/deepseek-v41-flash` (2026-10-02 umgestellt)
- **Personal Coach Bot** — via noris direkt
- **Dynamic Coach** — via noris direkt, `qwen-image-2-1` für Visualisierungen
## Related
- [[systems/frigate]] — nutzt noris AI für Event-Klassifizierung
- [[systems/homeassistant]] — LLM Vision Integration
- [[systems/paperless]] — OCR via ds-v4-flash
- [[systems/sarah-hermes]] — Verbraucher, Ausfall 2026-10-02
- [[patterns/llm-backend-hang-diagnosis]] — PAT-015
+25
View File
@@ -56,6 +56,16 @@ den 5 Owner-Profilen.
- Offsite: folgt dem regulären `push-offsite` Sync-Job (Pull↔Push-Korrektur
vom 19.09.).
## Modell / Provider (Stand 2026-10-02)
- **Default-Modell:** `vllm/qsu/deepseek-v41-flash` (gewechselt von `vllm/release/glm-5-2`)
- Grund: `release/glm-5-2` hing upstream (siehe Pitfall 4)
- **`fallback_providers: []`** — kein Fallback konfiguriert! Bei Modellausfall hängt
jeder Turn bis `timeout: 120` + 3 Retries. Kandidat für Redundanz-Fix.
- Key-Scope VM107 (`sk-bf-8779…a6a7`): funktioniert mit `qsu/deepseek-v41-flash`,
`release/gpt-oss-120b`, `qsu/qwen3.8-27b`, `release/qwen3.6-27b`.
**Blockiert (403):** `release/gemma-4-31b-it`.
## Known Issues / Pitfalls
1. **Python-Version-Mismatch:** hermes-agent pyproject pins Core-Deps an
@@ -67,6 +77,21 @@ den 5 Owner-Profilen.
Betriebsbetrieb unbeeinträchtigt. Fix-Idee: `chown` im Entry-Point.
3. **telegram-bridge Notify-Target defekt** (seit 19.09., Connection refused):
betrifft vzdump-Notifications clusterweit, nicht nur VM107. Separater Fix.
4. **Upstream-Modell hängt → Turn-Timeouts** (2026-10-02): `vllm/release/glm-5-2`
lieferte bei noris `ai.noris.de` **null Bytes** (TCP-Connect OK, TTFT ∞,
auch non-stream). Symptom im `errors.log`:
`httpx.ReadError: [Errno 32] Broken pipe` → `openai.APIConnectionError`
→ 3 Retries → *"Provider has been unresponsive … 5 consecutive stale attempts"*.
Kein VM-/Netzwerk-/Key-Problem — von VM107 **und** von extern reproduzierbar,
während 4 andere Modelle mit demselben Key 200 lieferten.
**Diagnose-Rezept:** identischer Key, identischer Host, Modell-Matrix
gegentesten (nur so trennt man Modell- von Infra-Defekt).
Fix: Default auf `vllm/qsu/deepseek-v41-flash`. Verifiziert E2E (Turn 15s, PONG).
5. **Vision-Modell 403:** `auxiliary.vision.model = vllm/release/gemma-4-31b-it`
→ `model_blocked` für diesen Key. Offen.
6. **Secrets im Unit-File:** `/etc/systemd/system/hermes-webui.service` ist
`0644 root:root` und enthält `HERMES_WEBUI_PASSWORD` + `HERMES_CUSTOM_NORIS_API_KEY`
im Klartext → für jeden lokalen User lesbar. Sollte in `.env` mit `0400`.
## Verification History
+32
View File
@@ -0,0 +1,32 @@
# Ubuntu-Host (physischer Node, 10.0.20.100)
Physischer Standalone-Node (KEIN PVE), Mitglied im Ceph-Cluster. SSH: `ssh -i ~/.ssh/id_ed25519_proxmox root@10.0.20.100`.
## Hardware (live verifiziert 2026-10-02)
| Komponente | Detail |
|---|---|
| Board | MSI B150M ECO (MS-7994), µATX, Skylake/Series-100 |
| CPU | Xeon E3-1200 v6 (HD 630 iGPU, keine dGPU) |
| onboard NIC | Intel I219-V (enp0s31f6), **1G only** |
| RAM/Uptime | — / 59 Tage (Stand 2026-10-02) |
## PCI-Anatomie (kritisch für Erweiterungen)
- **PEG x16-Slot (J6B2):** von **ASM2824 PCIe-Switch-Karte** belegt (Dual-M.2-Träger). Root-Port zeigt x8 physikalisch (LnkSta x8 @ 8GT/s), Switch downstream x4 an beide Kingston SFYRDK2000G NVMe (= osd.2/osd.-Partner, ZVG `pool01_n2_redundant`). **Downstream-Busse 04 und 06 sind LEER** (Slots/ASIC-Ports ohne Device) — aber: Switch ist an x8 angebunden, theoretisch bis zu 4 weitere x4-Devices möglich, praktisch hängt das am Trägerkarten-Layout (kein externer Slot).
- **Chipset-x1-Slots (J6B1/J6D1/J7B1/J8B4/J8D1):** laut DMI alle „In Use" — tatsächlich ist **nur 00:1c.0 (ASMedia ASM1064 SATA, Bus 07)** real bevölkert (5 HDD-OSDs + Crucial-Boot-Plate). Die übrigen 1c.x-Root-Ports melden keine Secondary-Bus → **physikalisch frei**.
- **Legacy-PCI (J8B3):** DMI-Inventar-Fantasie, B150 hat keinen PCI-Bus.
## Fazit 10GbE-Erweiterung (Oktober 2026)
**Freier PCIe-x8/x16-Slot: NEIN.** Für 10G-SFP+-NIC bräuchte es den PEG-Slot → NVMe-Träger raus = ZFS-Mirror + 2 OSDs sterben. **Entscheidung: Ubuntu bekommt KEINE 10G-NIC; Anbindung bleibt 1G (I219-V) bzw. via SM5310-T-Modul am Core-Switch SX3008F (2× TL-SM5310-T sind dafür eingeplant, siehe Omada-Upgrade-Einkaufsliste).** Chipset-x1-Slots sind physisch frei, aber x1 Gen3 (~985 MB/s netto) reicht maximal für ~8G — für eine X520/x8-Karte ungeeignet (Mechanik + Lanes).
## Bekannte Themen
- NVMe-Controller-Tod Kingston PCI 03:00.0 (2026-09-30, PAT-014) — revived via PCI remove/rescan; SMART-Audit gesund, nur Controller-Ebene. Temps 70/78 °C beobachten.
- Host-Eintrag `10.0.20.100 ubuntu` in /etc/hosts aller PVE-Nodes nötig (PVE-GUI 500 ohne DNS/hosts).
## Related
- [[systems/ceph-cluster]] — OSDs 2/8/15/17/18 laufen hier
- [[patterns/ceph-dead-nvme-resurrection]] (PAT-014)