Does anyone know how to configure Azure Iot Hub for NodeRed?

Looking for information on how to correctly configure the Azure Iot Hub for NodeRed.

Best reply by Sgilk

I was able to publish data to an Azure IoT Hub via Node-Red over MQTT protocol using the attached flow. I referenced the Azure configuration tutorial below.

Azure IoT Tutorial : IoT Hub | Stream Analytics |Time Series Insights | SQL

In the Node-RED flow, I used the following open source nodes: https://flows.nodered.org/node/@nodecolor/node-red-contrib-azure-iot-hub

This is a fork of the main branch since I found there was an incompatibility with the current version of Node-RED.

I used the following tool to view the MQTT telemetry data: https://github.com/Azure/azure-iot-explorer/releases

NodeRedAzureIoTHubDemo.mp4
3.09MB
Azure_IoT_Hub_Node_RED.txt
1.58KB
View original
2 replies