tliu93
ef48032adb
M6-T06: extend MqttManager with subscribe + DSMR ingest
- mqtt.py: subscription registry, on_message dispatch (swallows handler
errors), re-subscribe on (re)connect; publish/connect/disconnect/reconnect
unchanged.
- app/services/dsmr_ingest.py: handle_message stores the full telegram frame
(no allowlist; gas/phases/null preserved), 10s downsample by timestamp.second,
source_id idempotency (select + IntegrityError rollback). Net-thread safe.
- main.py registers the DSMR subscription only when dsmr_ingest_enabled.
2026-06-23 21:52:57 +02:00
..
2026-06-23 21:19:25 +02:00
2026-06-23 21:52:57 +02:00
2026-06-23 20:33:35 +02:00
2026-06-23 21:19:25 +02:00
2026-06-23 21:52:57 +02:00
2026-04-20 17:06:03 +02:00
2026-04-20 20:40:04 +02:00
2026-06-23 20:43:46 +02:00
2026-06-22 20:45:47 +02:00
2026-06-12 16:35:07 +02:00
2026-06-23 21:52:57 +02:00