Commit Graph

8 Commits

Author SHA1 Message Date
retr0 e2d67f3447 HAOS Add-on: Ingress-Pfad-Fix im Web UI
Fetches verwendeten absolute Pfade (/api/...) → gingen an HA REST API statt Add-on.
Hinter HA Ingress-Proxy muss der Pfad relativ zur Seiten-URL sein.
Fix: BASE = window.location.href + "./" → apiUrl() für alle fetch-Aufrufe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 23:07:15 +02:00
retr0 c146df2ec9 HAOS Add-on: host_network für Modbus TCP Zugriff
Container-Netz 172.30.33.x kann ShineLAN-X (10.10.20.190) nicht erreichen.
host_network: true gibt Zugriff auf das lokale Netzwerk.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 23:04:16 +02:00
retr0 5423b4d809 HAOS Add-on: s6-overlay Fix
- init: false in config.yaml → s6-overlay deaktiviert, CMD läuft als PID 1
- CMD: python3 /app/main.py direkt (kein run.sh + bashio mehr nötig)
- main.py: liest /data/options.json (HA Add-on Options) statt Env-Vars via bashio

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:56:29 +02:00
retr0 c33db75208 HAOS Add-on: Dockerfile Fix - COPY src/ direkt, pip3 inline
- COPY src/ /app/ statt zweistufig (vermeidet src/requirements.txt not found)
- pip3 inline statt requirements.txt (kein separater COPY-Schritt nötig)
- ARG BUILD_FROM mit amd64 Default (build.yaml Deprecation umgangen)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:52:57 +02:00
retr0 c1fc3a080a HAOS Add-on: Schema-Fix + Arch bereinigt
- inverter_model schema: str statt Pipe-Enum (HA kennt keinen Pipe-Syntax)
- arch: nur aarch64 + amd64 (armhf/armv7/i386 deprecated)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:50:07 +02:00
retr0 8adc7573e3 HAOS Add-on: config.yaml Fix für Add-on Store
- panel_title entfernt (kein gültiges HA-Feld, blockt Parser)
- init: false entfernt (nicht kompatibel mit HA Alpine Base)
- description: Pfeil-Unicode entfernt
- mqtt_pass schema: password (statt str, maskiert im UI)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:36:43 +02:00
retr0 af6ff398e8 HAOS Add-on: repository.yaml + Slug-Fix für HA Add-on Store
- repository.yaml im Root → Repo als HA Add-on-Quelle nutzbar
- slug: growatt_shinelan_x (Unterstriche statt Bindestriche, HA-konform)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:32:29 +02:00
retr0 0d6b860664 HAOS Add-on: MVP + NuttX Binary + .gitignore
- haos-addon/: vollständiges HA Add-on (config.yaml, Dockerfile, build.yaml)
  - Python Backend: pymodbus Modbus TCP → paho-mqtt MQTT Discovery
  - Unterstützte Modelle: MIC 1500/2000 TL-X, SPH 5000 TL3, MOD 6000 TL3
  - Web UI: Wechselrichter-Auswahl, Modbus/MQTT-Konfig, Live-Sensor-Grid (dark theme)
  - MQTT HA Discovery für alle Sensoren mit device_class, state_class, icon
- ShineLAN-X/releases/nuttx-mbusd-shinelanx.bin: NuttX Firmware (ohne DFU, 0x08000000)
- .gitignore: Logs, MQTT-JSON, shinelanx-modbus/ ausgeschlossen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 22:30:45 +02:00