UNIHH-IOTUNIHH-IOT
Home
Guide
Manual
  • 简体中文
  • English
GitHub
Home
Guide
Manual
  • 简体中文
  • English
GitHub
  • Manual

    • Operation Manual
    • Dashboard
    • Driver Management
    • Device Management
    • Thing Models
    • Data Monitor
    • Rule Engine
    • Alarm Center
    • Log Audit
    • System Management

Device Management

Device Management maintains the registry of physical devices: connection parameters, point binding and acquisition state. It is also the entry point for write-back control.

Devices

Finding Devices

Filters at the top:

FilterDescription
Device ID / nameFuzzy search
Bound driverFilter by protocol driver
Thing modelFilter by bound model
Acquisition stateRunning / paused

Creating a Device

FieldDescription
Device unique IDGlobally unique; follow the field tag (e.g. PLC01)
Display nameShown in lists and alarms
Thing model templateDetermines available properties, services and events
Protocol driverMust match the device's protocol
Base acquisition cyclePolling interval in milliseconds; size it to the bus load budget
Driver connection paramsGenerated dynamically from the driver's schema (e.g. Modbus IP/port/slave ID, S7 rack/slot)

On save, the platform pushes the configuration to the driver over MQTT and acquisition begins.

Point Binding

A thing model defines logical points (e.g. MotorTemp); device binding maps each one to a physical address (e.g. Modbus 40001). Configure per point in the device detail view:

FieldDescription
Logical point codeFrom the model's property list
Point nameField-friendly label
Data typeFLOAT / DOUBLE / INT / INT32 / INT64 / BOOL / STRING / ENUM
AccessRead-only (R) or read-write (RW); only RW points accept write-back
Physical register addressProtocol semantics, e.g. Modbus 40001, S7 DB1.DBW0, OPC UA ns=2;s=Temp
ScaleEngineering value = raw × Scale + Offset
OffsetApplied together with scale for range conversion

Tip

Scaling happens platform-side — drivers only report raw values. Example: a 0–100 °C range mapped to register values 0–32760 → Scale 0.003052, Offset 0.

Acquisition On/Off

Each device can be toggled independently:

  • Running: the driver polls points on the configured cycle;
  • Paused: registry and config retained, polling stopped — useful during maintenance.

Write-Back Control

Devices with RW points or control services accept commands directly from the device detail view:

By point

  1. Pick the target point (the dropdown lists only properties with RW access mode);
  2. Enter the target value and confirm.

The command travels gateway → admin center → EMQX (iot/driver/{code}/cmd) → driver. The driver executes the register write inside the channel lock, serialized against polling.

By service

If the thing model defines control services, pick a service, fill in its input parameters and dispatch — the right fit for compound actions like start/stop/reset.

Checking results

Every command leaves a trail (parameter snapshot, latency, result) under Log Audit → write-back command logs.

Lifecycle State

  • When a driver goes offline, its devices are cascaded offline automatically;
  • Physical link drops and recoveries are reported by the driver on iot/device/status and reflected in the registry.

Troubleshooting

No data after creating a device?

  1. Check the acquisition state is running;
  2. Check the driver is online (Driver Management);
  3. Verify connection parameters (IP, port, slave ID / rack-slot) against the field;
  4. Open Data Monitor and look at quality — Quality=0 means the link works but reads fail; suspect the register address first.

Write-back command fails?

  1. Confirm the point's access mode is RW;
  2. Confirm the device is online and acquiring (a channel that cannot read will not write);
  3. Read the failure reason and latency in the write-back logs;
  4. On RS485, check for address conflicts and bus termination.
Edit this page on GitHub
Last Updated: 11/13/26, 3:34 AM
Contributors: sunqi
Prev
Driver Management
Next
Thing Models