IoT device is sending telemetry, but nothing is being received? 'az iot hub monitor-events -n {iothub name}' has no output

Alex Fang 230 Reputation points
2023-07-10T15:17:58.68+00:00

I am new to using Azure IoT Hub, and my device was connected and able to send telemetry about two weeks ago. At that time, I could view the messages using

az iot hub monitor-events -n {iothub_name}

az iot hub monitor-events -n {iothub_name}

User's image

User's image

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

Accepted answer
  1. Sander van de Velde | MVP 36,766 Reputation points MVP Volunteer Moderator
    2023-07-10T20:29:02.0633333+00:00

    Hello @Alex Fang,

    it's hard to say what is happening here.

    Perhaps the device registration is not valid anymore?

    Or perhaps the device cannot connect to the cloud anymore?

    Because the device logic is likely not producing data anymore, please debug your client software first.

    Also consider two other tools to investigate individual incoming messages of the IoT Hub:

    1. Visual studio code extension for IoT Hub
    2. Azure IoT Explorer

    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.