English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development Platform

App development platform provides multiple development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.
layoutIndex
DocumentationCloud DevelopmentStandard Instruction Set

Standard Instruction Set

Last Updated on : 2021-07-20 02:55:13download

Glossary

Standard product category

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

Standard instruction set

The standard instruction set is a set of control function instructions that can be sent by the device. Classified by the product category, the control instructions supported by a specific product are a subset of the standard instruction 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 instruction 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 instruction set provided in this section is not completely consistent with the product function definition in Tuya Cloud. Tuya Cloud adapts to the instructions of different products in the same category in the Tuya IoT Console.
  • Developers only need to adapt to the instruction 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 supports connecting a standard product?

  • A: You can use the following instructions to query the functional attributes of standard connection supported by your device (namely the instruction 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 instructions in the instruction 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 instruction.

    /v1.0/devices/{device_id}/status