node.js – Dynamically create devices on IoT Central from Node-Red

Our company has developed an extensive line of 900mhz wireless sensors for industrial applications. We also have a gateway device the sensors connect to which is intended to forward data from the sensors to cloud services. This gateway device connects to the internet via Ethernet/WiFi/Cellular, it is a Linux based device and comes with Node-Red pre installed.

For most of the cloud platforms we use we are able to create a Node-Red flow on the Gateway where the user can enter credentials for their cloud platform account. Through these credentials devices are provisioned to their account and telemetry can be reported. In the case of Azure IoT Central however I am having difficulty understanding how this can be accomplished. I have been through many spider webs back and forth through Microsoft Docs on DTDL, PnP, IoT Central, IoT Hub, etc. I’m just looking for a starting point of how this could be accomplished. Any help would be greatly appreciated.

Read more here: Source link