DeviceHub Devices
3 min
DeviceHub, Devices
Manage industrial devices configured in Litmus Edge DeviceHub: drivers, device records, and connection status.
Tool | Description |
|---|---|
get_litmusedge_driver_list | List supported Litmus Edge drivers (e.g., ModbusTCP, OPCUA, BACnet). |
get_devicehub_devices | List all configured DeviceHub devices with connection settings and status. |
create_devicehub_device | Create a new device with a specified driver and default configuration. |
get_device_connection_status ** | Check whether devices are actively publishing data via InfluxDB heartbeat. Reports connected / stale / no_data. |
When to use which
- Onboarding a new asset: get_litmusedge_driver_list -> create_devicehub_device.
- Inventory / triage: get_devicehub_devices for the configured set; get_device_connection_status for the live ingest state.
- "Is data flowing?": get_device_connection_status. The "connected" determination comes from InfluxDB recency of the device's tags, so the INFLUX_* headers must be set.
Requirements
- EDGE_URL, EDGE_API_CLIENT_ID, EDGE_API_CLIENT_SECRET for all tools.
- INFLUX_HOST, INFLUX_PORT, INFLUX_DB_NAME, INFLUX_USERNAME, INFLUX_PASSWORD additionally for get_device_connection_status.
Related
- DeviceHub, Tags - once a device exists, manage its tags.
- InfluxDB / Time Series - historical data for the device's tags.