Updated on 2023-01-18 GMT+08:00

Groups and Tags

Overview

Group

A group is a collection of devices. You can create groups for all the devices in a resource space based on different rules, such as regions and types, and you can operate the devices by group. For example, you can perform a firmware upgrade on a group of water meters in the resource space. Devices in a group can be added, deleted, modified, and queried. A device can be bound to and unbound from multiple groups.

Tag

You can define tags and bind tags to devices. Applications can call the API Querying Resources by Tag to query devices bound to a specific tag.

Constraints

  • A maximum of 20,000 devices can be added to a group.
  • A device can be bound to a maximum of 10 groups.

Managing Groups

  1. Access the IoTDA service page and click Access Console.
  2. In the navigation pane, choose Devices > Groups.
  3. You can add, unbind, or delete a group.

Binding/Unbinding a Device

After a group is created, you can bind devices to or unbind devices from the group.

  1. Access the IoTDA service page and click Access Console.
  2. In the navigation pane, choose Devices > Groups.
  3. Select a group. In the Devices Bound to Group area, you can click buttons to bind or unbind a device, unbind devices in batches, and view device details.

    Figure 1 Group information
    Table 1 Operations

    Operation

    Description

    Binding

    Click Bind to bind a device to a group.

    Batch unbinding

    Select multiple devices (up to 100 devices can be selected at a time) and click Batch Unbind to unbind selected devices from the current group.

    Unbinding

    Locate the target device and click Unbind to unbind the device from the group.

Tags

Tags are used to classify devices. You can bind tags to devices on the device details page.

  1. Access the IoTDA service page and click Access Console.
  2. In the navigation pane, choose Devices > All Devices, and click View in the row of a device.
  3. On the Tags tab page, click Bind Tags to bind one or more tags to the device.