Azure IoT Hub
The Azure IoT Hub output in ArcGIS Velocity allows you to send messages to Microsoft Azure IoT Hub, where you can push information to devices and sensors in the field, enabling actuation or changes in device behavior. Azure IoT Hub is a managed service hosted in the Azure cloud that acts as a central message hub for bidirectional communication between Velocity and other IoT devices.
Examples
The following are example use cases for the output:
A data analyst wants to update the properties of sensors, connected through Azure IoT Hub, based on information coming in from a related system.
A logistics company configures an Azure IoT Hub output to initiate vehicle tracking device behavior based on the vehicle's current location.
Usage notes
Keep the following in mind when working with the output:
Azure IoT Hub connection properties can be obtained from Azure IoT Hub. The shared access policy should have service connect permissions.
The device to which you intend to send messages must already exist in Azure IoT Hub. Velocity does not create it.
The track ID of the message or record should match the device ID that is registered in Azure IoT Hub.
Azure maintains a maximum of 50 pending messages for delivery per device.
The following output data formats are available:
Delimited
JSON
GeoJSON
EsriJSON
Parameters
The following are the parameters for the output:
|
Parameter |
Description |
Data type |
|---|---|---|
|
Azure IoT Hub host name |
The host name for Azure IoT Hub. |
String |
|
Shared access key name |
The shared access key name for the Azure IoT Hub credentials. |
String |
|
Shared access key |
The shared access key for the Azure IoT Hub credentials. |
Password |
|
Output data format |
The format for outgoing messages. GeoJSON, EsriJSON, Delimited, and JSON formats are supported. |
String |
|
Write header row |
Specifies if the files write out the header row with field names. The default is false. |
Boolean |
|
Field delimiter |
The field delimiter used by the file to separate fields. The default is comma. |
String |
Consideration and limitation
Consider the following when using the output:
Azure IoT Hub supports a message time to live parameter, which is the expiration time for a cloud-to-device message. In the current release, the default is one hour for all outgoing messages from Velocity. This will be exposed as a configurable property in a later release.