Build a custom Zigbee on a Nordic chip

Zigbee device Development


Post Reply
unicloud
Posts: 6

Currently, I’m migrating code from EFR32MG21A020_TuyaOS to NRF-ZIGBEE-SDK. When I try to add the device to the gateway, it can detect the device, but then an error occurs as shown in the image. I tried taking the IEEE Address from a ZS3L module running the demo from EFR32MG21A020_TuyaOS and using it for the custom code on the nRF52 module — in that case, the device was successfully registered and could be controlled properly.

Has anyone else encountered a similar issue?

Attachments
IMG_2714.PNG
iot_man
Posts: 82

Re: Build a custom Zigbee on a Nordic chip

Please refer to Tuya's Legal Access Policy:https://www.tuya.com/news-details/Kezm82nkrin24

iot_man
Posts: 82

Re: Build a custom Zigbee on a Nordic chip

The ZS3L module is a Tuya-authorized module, and its MAC address has been legally registered on the Tuya platform. Therefore, devices using this MAC address can be properly displayed in the app. However, if you modify the Basic Cluster’s Manufacturer Name and Model ID to a non-Tuya format, your device will connect to the Tuya platform as a device under Tuya’s free access mode.

unicloud
Posts: 6

Re: Build a custom Zigbee on a Nordic chip

So when I manufacture devices using the nRF52 chip, how should I register the MAC address with the Tuya platform?

iot_man
Posts: 82

Re: Build a custom Zigbee on a Nordic chip

Why not use the ZS3L module to develop a Zigbee device as a developer? Currently, Tuya does not support the registration of third-party modules or chips on its platform.

unicloud
Posts: 6

Re: Build a custom Zigbee on a Nordic chip

The issue is that our company currently has a large stock of nRF52 chips, so we need to develop a Zigbee switch device based on this chip series.

unicloud
Posts: 6

Re: Build a custom Zigbee on a Nordic chip

If I use the Tuya Matter Gateway as described in this article https://www.tuya.com/news-details/Kezm82nkrin24
, would it be feasible for my case? Does it require registering the device’s MAC address in advance?

iot_man
Posts: 82

Re: Build a custom Zigbee on a Nordic chip

This restriction is a cloud-side limitation, not a gateway limitation. Based on your situation, you can only connect to the Tuya platform by removing the Tuya-specific information (that is, setting the Manufacturer Name and Model ID in the Basic Cluster to non-Tuya format values).

unicloud
Posts: 6

Re: Build a custom Zigbee on a Nordic chip

I tried changing the Manufacturer name from:
#define TOUCH_INIT_BASIC_MANUF_NAME "TZ3008_xhvtwlna" /< Manufacturer name (32 bytes). */
#define TOUCH_INIT_BASIC_MODEL_ID "TS0002" /
< ? */
to
#define TOUCH_INIT_BASIC_MANUF_NAME "
UNI_xhvtwlna" /< Manufacturer name (32 bytes). */
#define TOUCH_INIT_BASIC_MODEL_ID "TS0002" /
< ? */
but after that, the device could no longer be discovered during pairing.

iot_man
Posts: 82

Re: Build a custom Zigbee on a Nordic chip

#define TOUCH_INIT_BASIC_MODEL_ID "abc"
#define TOUCH_INIT_BASIC_MANUF_NAME "1234"

Post Reply