how to connect mqtt broker to iot edge hub through node red ?

Ahmed Assad 266 Reputation points

Hello , i want a correct configuration of node red node (MQTT broker) that able to connect to iot edge hub
i deployed iot edge version 1.2.0-rc3 to fully support mqtt protocol
then deployed a node red flow as described
now i received a message from text node but i don't receive this message through iot edge hub

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
390 questions
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
553 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,145 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 30,471 Reputation points MVP

    Hey @AhmedAssad-8581 ,

    it seems the Node-red logic is running o another machine than the IoT Edge device.

    Take a look at the IoT Edge child device support (aka transparent gateway).

    There is a node for that. Some background info about the nodered node is seen here.

    An example of how to set up a child device can be seen here.

    1 person found this answer helpful.