Skip to main content

List supported sensors

GET 

/api/v1/devices/{deviceId}/capabilities/sensors

List the sensors the target device supports, with each sensor's name and the dtmi of its type. To read a sensor's settings definition, call GET capabilities/schema with type=configs and match the dtmi against an entry's @id. Only the device's own sensors are listed. A device without sensors of its own returns an empty list.

Independent of the device's current desired/reported configuration. Use the GET telemetry-configs endpoint for that.

Applies to WEDA Node and SubNode whose agent provides a capability model (agent SDK version 1.2 or later); otherwise 422. A Custom Device returns 404.

Request​

Responses​

Sensors the SubNode supports