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

以下是输出的使用示例:

  • 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

使用输出时,请谨记以下信息:

  • 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.

    Learn more about Azure IoT Hub

  • The following output data formats are available:

    • Delimited
    • JSON
    • GeoJSON
    • EsriJSON

Parameters

以下是输出的参数:

ParameterDescriptionData type
Azure IoT Hub host name

The host name for Azure IoT Hub.

字符串

Shared access key name

The shared access key name for the Azure IoT Hub credentials.

字符串

Shared access key

The shared access key for the Azure IoT Hub credentials.

密码

Output data format

The format for outgoing messages. GeoJSON, EsriJSON, Delimited, and JSON formats are supported.

字符串

Write header row

Specifies whether the files write out the header row with field names. The default is false.

布尔

Field delimiter

The field delimiter used by the file to separate fields. The default is comma (,).

字符串

Consideration and limitation

使用输出时应考虑以下问题:

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.