Getting information about devices
To find a device's ID
or NAME
, get a list of devices in a registry.
Getting a list of devices in a registry
If you don't know the unique ID or name of the registry where your device is located, view the list of existing registries.
- In the management console
, select the folder where the registry is located. - Select IoT Core.
- Select the registry.
- Go to the Devices tab.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of devices in the registry:
yc iot device list --registry-name my-registry
Result:
+----------------------+-----------+
| ID | NAME |
+----------------------+-----------+
| b9135goeh1uc******** | my-device |
+----------------------+-----------+
To get a list of devices in a registry, use the list REST API method for the Device resource or the DeviceService/List gRPC API call.
Getting information about a device
To access the device, use the ID
or NAME
parameters from the previous item.
- In the management console
, select the folder where the device is located. - Select IoT Core.
- Select the registry where the device is located.
- Go to the Devices tab.
- Select the device.
- The Overview page will show the device details.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about a device:
yc iot device get my-device
Result:
id: b9135goeh1uc********
registry_id: b91ki3851hab********
created_at: "2019-05-28T16:08:30.938Z"
name: my-device
To get detailed information about a device, use the get REST API method for the Device resource or the DeviceService/Get gRPC API call.
Device monitoring data is updated when accessing the device via gRPCS and MQTT. Service quality level: At most once.