Go to file
matthias.lotz 2fb45a6582 feat(device-manager): LWT-based availability monitoring for direct_session devices
- direct_session devices now use availability_topic (LWT) exclusively
  for online/offline state - timeout monitor no longer interferes
- Added availability_managed set: devices in this set bypass
  update_last_seen() and are ignored by the timeout monitor
- Added heartbeat_topics set: heartbeat messages return early before
  the session parser, eliminating direct_session_missing_fields warnings
- Added mark_online_silent() to DeviceStatusMonitor: updates state
  without emitting a duplicate device_online event
- registry.py: added availability_topic + status_topic params for
  direct_session parser type
- server.py: set last_config_update from file mtime on load_persisted_config
- mqtt_bridge.py: auto push config + reset device states when bridge
  comes back from offline (prevents stale state in Odoo after restart)
2026-03-19 18:58:55 +01:00
.github/workflows Phase 1: Foundation & Quality Tools 2026-02-18 22:11:25 +01:00
docs docs 2026-03-17 21:22:22 +01:00
extra-addons/open_workshop feat(device-manager): LWT-based availability monitoring for direct_session devices 2026-03-19 18:58:55 +01:00
iot_bridge feat(device-manager): LWT-based availability monitoring for direct_session devices 2026-03-19 18:58:55 +01:00
odoo fix: odoo/ als normales Verzeichnis tracken + Bugfix db_name + Feature-Docs 2026-03-10 17:17:59 +01:00
.gitignore initial version 2026-02-10 20:00:27 +01:00
.readthedocs.yaml feat: Add automatic API documentation generation and device status monitoring 2026-02-15 11:03:22 +01:00
DEPLOYMENT.md docs: consolidate root docs and archive historical requests 2026-02-19 21:57:07 +01:00
DOCUMENTATION_STRATEGY.md docs 2026-03-17 21:27:25 +01:00
IMPLEMENTATION_PLAN.md refactor(odoo): Registry-driven JSON Config (Phase 3) 2026-03-11 10:56:32 +01:00
README.md docs: README.md 2026-03-17 21:51:47 +01:00

odoo_mqtt

MQTT-Integration für Odoo bestehend aus einem Python-Dienst und zugehörigen Odoo-Modulen.

Inhalt

Verzeichnis Beschreibung
iot_bridge/ Python-Dienst: verbindet MQTT-Broker mit Odoo via REST/JSON-RPC
extra-addons/open_workshop/open_workshop_mqtt/ Odoo-Modul: MQTT-Anbindung für den Open Workshop
extra-addons/open_workshop/open_workshop_pos_mqtt/ Odoo-Modul: MQTT-Anbindung für den Point of Sale

Abhängigkeiten

  • Odoo 18
  • MQTT-Broker (z.B. Mosquitto)
  • Python 3.11+

Entwicklung

Siehe iot_bridge/DEVELOPMENT.md für den Python-Dienst.
Die Odoo-Module werden zusammen mit open_workshop entwickelt.