Home > Pipeline Modules > Transmitters

Azure IoT Hub Transmitter

NuvIoT supports connecting directly to your IoT Hub so you can send messages to your devices. It is important to realize that, in order to connect to Azure IoT Hub, you will need to find the URL from the Event Hub-compatible connection string and the Event Hub-compatible name. Refer to this Blog Post for more information on IoT Hub Connection Strings.

Also if you are sending a message back to a device that originally connected to an Azure IoT Hub Listener you should use the Original Listener option as your transmitter.

When creating your outgoing message for Azure IoT Hub, you should set the Device ID in the outgoing message of the device where this message should be sent.

Required Fields

In addition to the standard fields that are required for any transmitter, the following fields are required:

  • Transmitter Type (required)
    Azure IoT Hub

  • Host Name (required)
    Identify the Host Name of the Event Hub-compatible endpoint. This is not the the primary host name associated with the Azure IoT Hub. Once you find the Event Hub-compatible endpoint, locate the host. Leaving out the protocol sb://.
    Your Host Name will be something like ihsuprodblres987dednamespace.servicebus.windows.net.

  • Resource Name (required)
    Enter the Event Hub-compatible name from the Azure site. This is located just above the Event Hub-compatible endpoint. You can also create your own custom endpoint via the Azure Portal if you need to listen to a different route.

  • Access Key Name (required)
    Enter the name of the Access Key (similar to iothubowner, services). It is important that your key has service connect permissions.

  • Access Key (required)
    Enter the assigned Access Key for your IoT Hub that was specified in the Access Key Name section.

Optional Fields

  • Consumer Group
    If you do not add a Consumer Group, the $Default Consumer Group will be used.