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

Ahmed Assad 271 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 Internet of Things
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.
599 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,273 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 36,766 Reputation points MVP Volunteer Moderator
    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.

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.