Forwarding Data From a Physical Device to Multiple Device Instances in the Cloud


You can use one device instance to receive data from a physical device and then forward the data to multiple other device instances. For an explanation of these feature, the following concepts are defined:

  • Source device: The device instance that receives data from a physical device.

  • Mirror device:The device instance that receives data forwarded from the source device.

../../_images/mirroring_device_overview.png


In some scenarios, we need to bind one device asset to multiple nodes in an asset tree, so that the data of the device asset can be shared. For example, in the photovoltaic industry, the data of one weather station is shared among multiple photovoltaic power plants. However, one device asset can be bound to only one node in an asset tree. This is where this feature comes in:

  1. Create multiple device instances for this physical device whose data is to be shared.

  2. Assign one instance as the source device and the rest as mirrors.

  3. Let the source device receive data from the physical device and forward the data to the mirror devices.

../../_images/mirroring_device.png

Rules and Limitations

  • The source and mirror devices must exist in the same OU.

  • You can only assign Inactive devices as mirror devices.

  • You cannot assign a source device as the mirror device of another source. Neither can you assign a mirror device as the source of another device.

  • A source device can forward data to multiple mirror devices. A mirror device can have only one source device at any given time.

  • A source device can forward data to a maximum of 100 mirror devices.

Task Description

This task shows how to forward the data from a physical device to multiple device instances within an OU.

Prerequisite

  • Contact your OU administrator if you do not have the access for asset management. For more information, see Policies, Roles, and Permissions.

  • Ensure that you have created a source device that has started receiving data from a physical device. For more information, see Creating a Device.

Procedure

  1. Go to Device Management > Device Assets.

  2. Create a device instance, or select an existing device instance whose Status is Inactive.

  3. In the device list, and click view to enter the Device Details page.

  4. Go to the Mirroring tab page.

  5. In the Device Key field, enter the device key of the device you have created. Or click view and select from the list.


    ../../_images/mirroring_device_1.png


  6. Click Confirm to finish configuring the source device.

Results

In the device list, the Status of the device to which we assigned a source device is now Mirrored.


../../_images/mirroring_device_2.png

Next Step