Azure IoT Hub


The Azure IoT Hub node sends the input msg to Azure IoT Hub.

Node Type


External.

Input and Output Ability


This node has 1 entry point and 1 exit point. Both the input and the output can be any format.

Node Properties


../../_images/azure_iot_hub.png


Name

The name for this node.


Connection String

The connection string of the Azure IoT Hub to send the msg to.


Protocol

The protocol to use to send the msg, either MQTT or HTTPS.


Description

The description for this node.

Limitations


As Azure IoT Hub is not managed by EnOS, connection problems could occur due to server downtime or other instances that are not within our control.

Samples

Input Sample


{
  "MetaData": {
    "files": "[\"/var/data/azure/file.csv\"]"
  },
  "Body": {
    "assetId":"assetId",
    "timestamp":24214324324,
    "measurepoints":{
        "speed":32,
        "heat":40
    }
  }
}

Output Sample


{
  "MetaData": {
    "result": "upload files success ! files name: [file.csv]",
    "files": "[\"/var/data/azure/file.csv\"]"
  },
  "Body": {
    "assetId":"assetId",
    "timestamp":24214324324,
    "measurepoints":{
        "speed":32,
        "heat":40
    }
  }
}