Improve decoders to decode many measures types for many devices from the same payload
Closed this issue · 1 comments
Aschen commented
Description
Consider the following use cases:
- a payload may contain an history of 5 temperature measures
- a payload may contains measures for 2 different devices
Aschen commented
The measures can have an optional name when they are decoded. By default the name can simply be the measure type.
Asset will have pre-defined "measure slots", when linking a device to an asset, we will fill the asset measure slots with the device measure names.
Also, we need to store the assetMeasureName
alongside the assetId
when historizing measures