IoT Central Export telemetry displayName

asked 2022-06-10T14:11:55.737+00:00
Tiaan Smit 21 Reputation points

I have an IoT Central app with a device template containing multiple telemetry capabilities. Each telemetry has a name containing a machine parameter to link the values coming for the device. The display name contains a code reference that will be used when storing the values of that telemetry. I set up an continuous export to Event hub and when I tried to transform the data to an easier to process format, I realized the displayName for the telemetry is Null when exporting and cannot be used for exports.

Is there any way to include the display name of telemetry along with the name and value in exports?

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
257 questions
No comments
{count} votes

Accepted answer
  1. answered 2022-06-11T12:17:07.567+00:00
    Roman Kiss 2,011 Reputation points

    Hi,

    The raw data (input message) of the transformation is generated by the device template instance which has been created from a device model. The displayName property (also some others such as a modelId) is not contains in the raw data. The workaround for your needs at the consumer end is using the REST API and query this value from the device model.

    Thanks
    Roman

    No comments

0 additional answers

Sort by: Most helpful