docs: FR-012 als erledigt markiert (Commit ae3e40f, v1.5.0)
This commit is contained in:
parent
ae3e40f98d
commit
29f0970d62
|
|
@ -25,6 +25,28 @@ Status: `[ ]` = offen · `[x]` = erledigt
|
|||
|
||||
## Erledigt
|
||||
|
||||
### Version 1.5.0
|
||||
|
||||
- [x] **FR-012** Feature: Home Assistant MQTT Discovery (automatische Device-Erkennung ohne configuration.yaml) ✅
|
||||
- **Ziel**: Der ESP32 soll in Home Assistant als vollständiges Device mit allen Entities automatisch erkannt werden, ohne manuelle Einträge in `configuration.yaml`
|
||||
- **Mechanismus**: [MQTT Discovery](https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery) – Gerät publiziert beim Connect einmalig JSON-Config-Nachrichten an `homeassistant/<typ>/lasercutter-display/<entity>/config`
|
||||
- **Implementiert**:
|
||||
- `MQTT_TOPIC_AVAILABILITY` + `MQTT_DISCOVERY_PREFIX` in `config.h`
|
||||
- LWT auf `lasercutter/availability` (`offline`), nach Connect `online` (retained)
|
||||
- `publishDiscovery()`: 8 retained Entities nach jedem (Re-)Connect
|
||||
- Heartbeat: neue Felder `laser_active`, `session_minutes_sum`, `session_seconds`, `total_minutes` für HA `value_template`
|
||||
- PubSubClient Buffer: 512 → 1024 Bytes
|
||||
- **Entities in HA** (automatisch gruppiert):
|
||||
- Steuerelemente: Display (switch)
|
||||
- Sensoren: Laser aktiv, Laserzeit Aktuell, Laserzeit Summe
|
||||
- Konfiguration: Neustart, Session zurücksetzen (buttons)
|
||||
- Diagnose: Firmware
|
||||
- Betroffene Dateien: `src/mqtt_client.cpp`, `include/mqtt_client.h`, `include/config.h`, `platformio.ini`
|
||||
- Commit: `ae3e40f`
|
||||
- Version: 1.5.0
|
||||
|
||||
---
|
||||
|
||||
### Version 1.4.1
|
||||
|
||||
- [x] **FR-011** Bug: PANIC/EXCEPTION durch Heap-Korruption bei MQTT-Verbindungsabbruch (TLS) ✅
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user