- Entfernt doppelte Topic-Subscription (war Ursache für Duplikate) - Subscription passiert nur noch in _on_connect() Callback - Ausführliche Dokumentation in iot_bridge_service.py hinzugefügt - Test für Duplikate erstellt (test_no_duplicate_messages.py) - Recovery-Logik für Container-Restart dokumentiert HINWEIS: Service-Design muss überarbeitet werden! - Aktuell: Lazy Init, manueller Start - Sollte sein: Auto-Init beim Odoo-Start, always-on MQTT - Nächster Schritt: Odoo 18 Service Pattern + MQTT Bridge Pattern recherchieren |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| common.py | ||
| test_device_status.py | ||
| test_mqtt_connection.py | ||
| test_mqtt_mocked.py | ||
| test_no_duplicate_messages.py | ||
| test_session_detection.py | ||
| test_session_detector.py | ||
| test_start_stop.py | ||
| test_topic_matching.py | ||