How to map SensorThings temperature observations to a shipment
Keep the measurement time, the result generation time and the time your TMS received it separate. Link every observation to the correct equipment or measurement target and the relevant trip window. A missing reading is a gap, not a steady temperature.
A sensor reading is not automatically a product measurement.
The OGC SensorThings Sensing 1.1 specification distinguishes observation time from result time and describes the datastream’s observed property and unit. Pin the version your provider implements. Record the measurement location or target, original unit, sensor reference and provenance, and identify any time that the source inferred rather than measured.
A delayed upload arrives after a trailer change.
A synthetic device uploads buffered readings after the load moves to a different trailer. Associate the earlier observations with the original trailer and event window, not the equipment assigned at upload time. Label a gap in either stream and keep return-air readings separate from direct product measurements.
Preserve missing data and measurement context.
- Test delayed uploads, a missing unit and an unconfirmed equipment association.
- Retain the original value alongside any conversion and never fill gaps with a setpoint.
- Keep sensor evidence distinct from equipment certification and any product disposition decision.