Tutorials / Device Templates

Device Templates

Define device configurations and manage device types

Overview

Device templates define various device configurations needed for management. One template must be created for each device type.

Steps to Add Device Template

1

Access Device Management

Navigate to the menu and select device management.

2

Select Template Management

Choose the option in the side menu to manage device templates.

3

Create New Template

Click the add button to create a new template.

4

Configure Basic Information

Provide a name for the template. Device make and version should reflect the intended device type.

Device Type Selection

The system supports four device categories:

📡

Generic Sensor

Devices sending sensor data to cloud services

🔌

Switch

Devices with relay control that listen to relay commands; can also report sensor values

📍

Navigation Device

Equipped to send location coordinates periodically; can report sensor values

📹

CCTV Monitoring

Camera-based devices generating AI insights with configurable object detection

Configuration Parameters

Data Publish Frequency

How often device data reports to the cloud (specified in seconds)

Device Connection

Currently only MQTT/MQTT(s) is supported

Device Fields Setup

Add multiple fields with these properties:

PropertyDescription
Access KeyJSON path identifying the field in payload (supports nested JSON paths)
NameAttribute recognition name in the system
UnitMeasurement unit
ThresholdsMaximum, minimum, upper, and lower boundary values (numeric fields only)
Field UsageThree options—reported from device, command parameter to device, or both
Data TypeString, numeric, or boolean

Advanced Options

  • Data transformation functions available
  • Multiple visualization options configurable
  • Control grouping and UI interface selection for actuating devices
Final Step: Save the template by pressing the submit button.