kuzzleio/kuzzle-device-manager

Improve decoders to decode many measures types for many devices from the same payload

Closed this issue · 1 comments

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

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