1
0
This repository has been archived on 2026-06-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MSE-PI-E2EEDA-Plein-de-eeee…/gateway/gateway.py
DjeAvd da5d20688b fix(gateway): use exact payload size filter and improve robustness
- Use exact 12-byte payload size filter instead of minimum to avoid
  false positives from non-Thingy devices with same company_id
- Discard CO2 value 0xFFFFFFFF indicating sensor not ready or failed
- Downgrade unknown key and empty payload logs to DEBUG level
- Add on_connect callback to confirm successful broker connection
- Add on_publish callback to confirm message delivery to broker
- Rename MIN_PAYLOAD_SIZE to EXPECTED_PAYLOAD_SIZE for clarity

Validated: data received and confirmed by broker after Thingy reboot
2026-06-04 12:32:47 +02:00

6.9 KiB