Device Build

Last Updated on : 2023-07-28 10:16:39download

TuyaOS supports the development of Zigbee router devices (ZRDs) and Zigbee end devices (ZEDs).

Device types

  • ZRD: a typical device that can relay messages within a Zigbee network. The wireless receiver of the device is always active, so the device can transmit messages whenever needed over the network. In most cases, this type of device is mains-powered, for example, light bulbs, sockets, and wall switches.

  • ZED: a lower power device, such as a battery-powered thermo-hygrometer. A ZED is normally in a sleep state, so it does not relay messages over the network and its wireless receiver is inactive in this mode. The wireless receiver is invoked only in certain conditions, for example, in a scheduled task or by manual operation. A ZED keeps a parent-child relationship with a ZRD or a coordinator. The parent device caches messages that are sent to the sleeping child device by other devices on the network. When woken up, the child device gets the cached messages from the parent device.

Cluster

The Connectivity Standards Alliance (CSA) defines a cluster as a set of standard capabilities or functionalities supported by devices. Each cluster consists of a group of standard attributes and commands. You can follow Zigbee specifications provided by the CSA and add clusters and attributes as needed.

Cluster ID

TuyaOS provides standard cluster templates defined by the CSA.

Device Build

Attribue ID

TuyaOS provides standard attribute templates defined by the CSA. You can also customize private attributes.

Device Build

Device information

Customize device information, such as the device ID, manufacturer name, model ID, and firmware version.

Your device can integrate with Tuya’s ecosystem. For more information, see Tuya’s Developer Forum.

Support and help

If you have any problems with TuyaOS development, you can post your questions in the Tuya Developer Forum.