ThingsBoard integration: separate telemetry, attributes, and commands
IoT state is easier to reason about when measurements, configuration, and remote actions follow different paths.
- Identify tenant, device, profile, and credential separately.
- Preserve event time and ingestion time for telemetry.
- Version payload schemas and units.
- Make rule-chain side effects idempotent.
- Audit every remote command and result.
Test offline devices, reordered batches, duplicate messages, alarm clearing, credential rotation, and partial gateway failure. Dashboards should mark stale values. Avoid collecting precise location or household patterns unless necessary.
1 comment