Testing if messages from my Device is reaching the Azure IoT Hub

0 votes
I have two event generators connected to the Azure IoT Hub. Now, if I publish a message from my Raspberry Pi to either the Azure IoT Hub or my other connected device, how do I know if my message was received and what message exactly arrived?
Aug 10, 2018 in IoT (Internet of Things) by Bharani
• 4,660 points
3,365 views

1 answer to this question.

0 votes

Download the Device Explorer open source tool and configure your connection string with it to monitor their messages. Go to "Message to Device" to select your device in the Device ID Tab and click the "Monitor Feedback Endpoint" checkbox for checking if your device is reachable by the IoT Hub. You'll always be shown the status of messages whenever a message is published in the callback/feedback message. And, the messages get deleted only after the specified retention period for the Hub.

And, if you want to check via the outputs of code, check the DeviceExplorer source code https://github.com/Azure/azure-iot-sdks/tree/master/tools/DeviceExplorer/DeviceExplorer and, also the monitor code MainForm.cs, from line 726.

Hope it helps!

If you want to become Azure solution architect, then join Azure online course today.

Thank you!!

answered Aug 10, 2018 by DataKing99
• 8,240 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

Azure IoT: Message from cloud to device using Rest API

Firstly, If you get No content response(error ...READ MORE

answered Dec 31, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,701 views
0 votes
1 answer

Azure IoT Hub : Sending messages using Python via mqtt

The thing is that IoT Hub is not ...READ MORE

answered Jan 4, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
3,381 views
0 votes
1 answer

Sending Web requests from my Web server to my IoT device

You need to start an HTTP server ...READ MORE

answered Jan 8, 2019 in IoT (Internet of Things) by nirvana
• 3,130 points
1,788 views
0 votes
2 answers

Azure IoT Hub Operations Monitoring

Hi, Can you tell which device you ...READ MORE

answered Jan 4, 2019 in IoT (Internet of Things) by Varul
• 140 points
1,185 views
0 votes
1 answer

Error when connecting Azure IoT Suite with Raspberry Pi

down vote I've verified the tutorial works on ...READ MORE

answered Sep 18, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
638 views
0 votes
1 answer
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
977 views
0 votes
1 answer

How to use the data I receive from Azure IoT Hub?

The payload you receive will be a ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by DataKing99
• 8,240 points
1,611 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP