DeviceHub Tags
3 min
devicehub, tags manage tags (data points / registers) on devicehub devices list, create, update, delete, and check status tool description get devicehub device tags retrieve all tags for a specific device get current value of devicehub tag read the current real time value of a specific device tag create devicehub tag create a new tag (register) on a device driver required properties auto fill from defaults update devicehub tag update mutable fields of an existing tag (display name, description, properties) delete devicehub tag delete a tag from a device destructive get tag status return ok / error status for tags on a specific device optionally filter to a single tag get all tags status return tag status across all devices defaults to non ok only so issues surface first when to use which "what tags does this device have?" get devicehub device tags "what's the current value of tag x?" get current value of devicehub tag for trend analysis or live charts, prefer the nats tools (see nats topics # ) bulk health check get all tags status first (non ok by default), then drill into a specific device with get tag status if needed tag crud create devicehub tag , update devicehub tag , delete devicehub tag delete devicehub tag is irreversible at the device level; confirm before calling requirements edge url , edge api client id , edge api client secret related devicehub, devices # for device level operations nats topics # for streaming current values influxdb / time series # for historical data per tag