Das ist ein Odoo Modul für die Verwaltung von Maschinen, Einweisungen für Nutzer in einer offenen Werkstatt / Fablab
Go to file
matthias.lotz 5fcaef0336 feat(M5): Implement MQTT reconnect, state recovery, and error handling
 M5 Complete - All 21 tests passing

**MQTT Auto-Reconnect:**
- Exponential backoff (1s → 60s) in mqtt_client.py
- Automatic reconnection on disconnect
- Reset delay on successful connect

**State Recovery:**
- load_sessions() and get_running_sessions() in event_storage.py
- restore_state() in session_detector.py
- _restore_running_sessions() in main.py before MQTT connect
- Running sessions continue with timeout detection after restart

**Error Handling:**
- All parsers wrapped in try-except (shelly_parser, session_detector)
- Errors logged with exc_info=True for debugging
- Bridge continues running on malformed messages

**Bug Fixes:**
- Fixed field name mismatch: duration_s → total_duration_s
- Fixed None handling in session end methods
- Fixed infinite recursion in _read_sessions()

Test Results: 21 passed in 175.46s (0:02:55)
2026-01-24 19:21:05 +01:00
.devcontainer FIX: pos: wenn auf - gedrückt wird um eine Order zu entfernen, wurde nicht 2025-10-25 14:10:25 +02:00
.gitea/workflows .gitea/workflows/odoo-restore-open_workshop_install.yaml aktualisiert 2025-04-23 21:46:02 +02:00
.vscode FIX: pos: wenn auf - gedrückt wird um eine Order zu entfernen, wurde nicht 2025-10-25 14:10:25 +02:00
aspl_equipment_qrcode_generator feat(aspl_equipment_qrcode_generator): Fix QR-code generation and PDF rendering 2025-12-11 21:53:21 +01:00
FEATURE_REQUEST feat(mqtt): Implement M0-M3 - MQTT IoT Bridge with Session Detection 2026-01-22 19:59:17 +01:00
log working merge with open_workshop 17.0. Missing Traings view in Machine Backend. No POS Machine sidebar. 2025-06-28 15:31:59 +02:00
open_workshop feat: Migrate to maintenance.equipment with automated OpenUpgrade workflow 2025-12-07 21:09:35 +01:00
open_workshop_auto_backup DokuWiki: wiki_doku_id nutzt jetzt name + comp_serial_no für garantierte Eindeutigkeit 2026-01-18 12:53:06 +01:00
open_workshop_base feat: Auto-create ows.machine on equipment import/create 2025-12-19 20:12:54 +01:00
open_workshop_dokuwiki feat: Wiki-Links in Tree View als klickbare Namen anzeigen 2026-01-19 20:57:43 +01:00
open_workshop_employee_imagegenerator Update custom widget 2026-01-13 17:53:31 +01:00
open_workshop_mqtt feat(M5): Implement MQTT reconnect, state recovery, and error handling 2026-01-24 19:21:05 +01:00
open_workshop_pos POS: Preislistenabhängige Preisanzeige auf Produktkarten 2026-01-09 22:11:01 +01:00
open_workshop_pos_customer_display Umstellung: Employee Image Generator speichert nur Foto, Customer Display baut Badge dynamisch 2026-01-12 19:10:43 +01:00
open_workshop_report Integration Plan für automatisierte DokuWiki-Report-Generierung 2025-12-26 23:47:24 +01:00
.gitignore added ignored lib 2026-01-10 19:14:25 +01:00
open_workshop.code-workspace FIX: pos: wenn auf - gedrückt wird um eine Order zu entfernen, wurde nicht 2025-10-25 14:10:25 +02:00
todo.md working merge with open_workshop 17.0. Missing Traings view in Machine Backend. No POS Machine sidebar. 2025-06-28 15:31:59 +02:00