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

Ahmed Assad 266 Reputation points
2021-03-02T08:26:37.42+00:00

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
73296-image.png
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.
373 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.
525 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,093 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
204 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 27,186 Reputation points MVP
    2021-03-02T19:05:04.977+00:00

    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.