Docs

Overview

Last Updated on : 2020-09-29 08:50:17download

Glossary

Standard product category

The standard product category provides a standardized list of product categories that use the standard command set for control and the standard status set for status queries.

Standard command set

The standard command set is a set of control function commands that can be sent by the device. Classified by the product category, the control commands supported by a specific product are a subset of the standard command set for this type of product.

Standard status set

The standard status set is the set of functional statuses that can be reported by the device. Classified by the product category, the functional statuses supported by a specific product are a subset of the standard status set for this type of product.

Things to note

  • This section provides the command set for some categories of products on the Tuya platform. More products are being continuously adapted. If you have any requirements, you can submit a ticket.
  • The command set provided in this section is not completely consistent with the product function definition in Tuya Cloud. Tuya Cloud adapts to the commands of different products in the same category in the Tuya IoT Platform.
  • Developers only need to adapt to the command set of the same category of Tuya to control different products in the same category.
  • If the returned standard product is an early product with a category code of qt, it might no longer be supported. If you need to connect the product, submit a ticket for confirmation.

FAQs

  • Q: How to determine whether the device can be connected to a standard product?

  • A: You can use the following commands to query the functional attributes of standard connection supported by your device (namely the command set) and the reportable status attributes (namely the status set).

    Note: If the query result is empty, submit a ticket for confirmation.

    /v1.0/devices/{device_id}/specifications
  • Q: How to debug the device functions?

  • A: You can debug the device functions by sending commands in the command set.

    /v1.0/devices/{device_id}/commands
  • Q: How to query the current status of the device?

  • A: You can query the current status of the device through the following command.

    /v1.0/devices/{device_id}/status
Click for services and help