Getting information about a device

Get a list of devices in a registry to find the ID or NAME of a device, or get detailed information about a device.

Getting a list of devices in a registry

If you don't know the ID or name of the registry where your device is located, view the list of existing registries.

If you don't have the Yandex.Cloud command line interface yet, install it.

Get a list of devices in a registry:

$ yc iot device list --registry-name my-registry

+----------------------+-----------+
|          ID          |   NAME    |
+----------------------+-----------+
| b9135goeh1uc1s2i07nm | my-device |
+----------------------+-----------+

Getting detailed information about a device

To access the device, use the ID or NAME parameters from the previous section.

If you don't have the Yandex.Cloud command line interface yet, install it.

Get detailed information about a device:

$ yc iot device get my-device

id: b9135goeh1uc1s2i07nm
registry_id: b91ki3851hab9m0l68je
created_at: "2019-05-28T16:08:30.938Z"
name: my-device