Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
262 stars 227 forks source link

IoT Central. Module component telemetry displays as _unmodeleddata when using AMQP. #1135

Closed pavel-orlov closed 1 year ago

pavel-orlov commented 2 years ago

Context

Description

As described here message property $.sub is set with a component name. When using MQTT as transport, IoT Central app properly displays telemetry and maps it to defined component capabilities. But when using AMQP transport, the app displays telemetry as _unmodeleddata. Here it says to add dt-subject property with a component name, but it doesn't work. Is it possible to use module component telemetry over AMQP for IoT Central?

ymoreiratiti commented 2 years ago

Same problem here, but with HTTP transport

rido-min commented 2 years ago

Hi @pavel-orlov,

Is it possible to use module component telemetry over AMQP for IoT Central?

Do you mean an Edge module using a PnP component? also we'd like to know if is there any reason to prefer AMQP over MQTT to connect devices to Central?

pavel-orlov commented 1 year ago

Hi @rido-min,

We have had module disconnect/connect events logged on regular intervals over MQTT, but it has not been observed over AMQP.

anthonyvercolano commented 1 year ago

Released