Skip to main content
Version: 2.8

Device Templates

A device information model describes the interface to a device or machine.

Before starting with a concrete connection to devices, a device template must be created. It can be applied to different devices or machines using the same communication protocol.

  1. First step is to create a new device template out of a collection.

  2. Next step is to customize the template (if necessary).

  3. Finally, the device template can be applied to different devices of a target.

Add a New Device Template

Add a new device template describing the interface to an IoT device.

  1. Click on Device Templates in the project tree view

  2. Click on Add New Content (Menu Edit or Right Click) New Device Template

  3. Choose one of the device templates Note, that "Empty Device" includes only the device header and driver settings.

Changing Device Templates

  1. Double click on the device (left in project view).

  2. Change the device template by adding or removing data nodes, commands etc. New Device Template

Add a new Node

Click on following button to add a new node to the device template.

Select the device node in the following dialog:

There exist different node types:

Validation of the Template

Especially when working with scripts or advanced settings use the validation button to check for semantical issues:

Working with Variables

The device template supports variables that are mapped to devices and resolved when building the IoT Gateway.

Definition of Template Variables

Click on following button to open the variable editor for templates:

Add new variables. The value can be specified as default value or left blank.

These variables are automatically added to the device or updated on existing device when applying the template.

Check Device Variables for more details on working with variables.

Applying Template to Multiple Devices

Click on following button to apply the template to multiple devices at once.

Select the devices you want to reapply the current template.

NOTE

Use CTRL-key to select different devices.