View Iot Hub message

Vishal Kaushik 26 Reputation points
2020-12-23T05:19:50.533+00:00

Hello,
I have create a resource IoTHubOnzoControls and I am sending data from my arduino hardware to a device I created under IoTHubOnzoControls . I can see data getting sent from hardware to IotHub but not sure how to visualize it in Azure.
I tried creating stream analytics job and specified input and outputs. But when I query the input , its says there is no data. I am not sure now where is the data which was sent from hardware to IotHub. I am beginner and need your help.

many thanks
Vishal

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,109 questions
{count} votes

Accepted answer
  1. Sander van de Velde 28,161 Reputation points MVP
    2020-12-23T08:27:07.317+00:00

    Hello @Vishal Kaushik

    There are several ways to check for incoming telemetry.

    First of all, the IoT HUb shows the metrics of incoming DEvice to Cloud messages in a chart:

    50725-image.png

    Next to that, Microsoft provides this Azure IoT Explorer which shows the messages received by your IoT Hub:

    50798-image.png

    The Azure CLI for IoT Hub offers a similar command-line approach.

    So you are able to check the first entry point of the incoming telemetry. After that, you just have to chain the Azure resources correctly.

    Note1: some of the tools need an IoT hub connection string. guard this connection string because it provides access to your hub. Normally this string should not leave the Azure portal.

    Note2: learn about IoT hub consumer groups. It's better to give each tool a separate IoT hub consumer group to prevent the tool 'is eating up' messages which should be sent to another resource.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful