【Zigbee】 第三方Zigbee模组接入介绍

Zigbee 子设备开发


Post Reply
iot_man
Posts: 60

接入前需要了解 Tuya 物模型和基本概念

TuyaOS 整体介绍:viewtopic.php?t=17

第三方Zigbee模组接入方式
        方式一:TuyaOS接入,也就是基于Tuya 提供的TuyaOS Zigbee开发包开发Zigbee应用程序

TuyaOS开发步骤:
    1. 环境搭建:https://developer.tuya.com/cn/docs/iot/ ... kj8sxlgt1k
    2. 基于 demo 快速入门:https://developer.tuya.com/cn/docs/iot/ ... kjnf2i134a
    3. 根据自定义功能修改demo,修改前需要了解如下信息
        整体框架和系统相关:https://developer.tuya.com/cn/docs/iot/ ... kk8c2n3luo
        驱动使用:https://developer.tuya.com/cn/docs/iot/ ... kknfjkamfc

Code: Select all

  前期熟悉tuyaOS可以用tuya开发板和配套网关
      开发板购买链接:https://tuyasmart.taobao.com/
      Zigbee 网关购买链接:https://go.tuya.com/productDetail?code=CMat8pv1zw0wgu
  授权方式:走标准Tuya产测授权流程,采用 【烧录授权分立方案】
  参考:https://developer.tuya.com/cn/docs/iot/overview-of-download-firmware-and-authorization?id=Ka4zcqfo0eb5u

        方式二:Zigbee协议开发接入

协议规范参考:https://developer.tuya.com/cn/docs/iot/ ... gs5gy6bige

需求1:开发好的设备能和任意 Tuya 网关使用
    授权方式:移植 Tuya 产测协议,走正常产测流程,采用 【烧录授权分立方案】
    产测参考:https://developer.tuya.com/cn/docs/iot/ ... zcqfo0eb5u


需求2:开发好的设备只需要和指定PID的网关使用
    授权方式:在指定 PID 网关下面购买支持的设备数量即可,无需在设备端做产测授权
    购买链接:https://iot.tuya.com/purchase/index?typ ... evice_auth

其他可能需要做的事情

基于以上接入设备后,tuyaOS品类的标准dp已经支持
如果需要增加私有dp的UI交互,还需要自定义开发APP的面板UI:
APP的面板UI开发参考:https://developer.tuya.com/cn/docs/iot/ ... 1fn6ycetd0

york.wang
Posts: 50

Re: 【Zigbee】 第三方Zigbee模组接入介绍

排版太漂亮了,太用心了

547176052@qq.com
Posts: 59

Re: 【Zigbee】 第三方Zigbee模组接入介绍

有没有 Zigbee协议开发接入 例子 最好是cc2530的

iot_man
Posts: 60

Re: 【Zigbee】 第三方Zigbee模组接入介绍

CC2530太老了,建议切换其他平台。
协议接入有对应文档的。协议参考:https://developer.tuya.com/cn/docs/iot/ ... gs5gy6bige

547176052@qq.com
Posts: 59

Re: 【Zigbee】 第三方Zigbee模组接入介绍

iot_man 2023年 Jan 31日 14:18

CC2530太老了,建议切换其他平台。
协议接入有对应文档的。协议参考:https://developer.tuya.com/cn/docs/iot/ ... gs5gy6bige

有没有例子
这个文档我看了好多遍了 设备能添加成功 但是不能通信

iot_man
Posts: 60

Re: 【Zigbee】 第三方Zigbee模组接入介绍

可以单独开一个帖子,提出具体问题,设备id,抓包数据

eskomj
Posts: 14

Re: 【Zigbee】 第三方Zigbee模组接入介绍

Hello,

https://developer.tuya.com/en/docs/iot/ ... zcqfo0eb5u

In a above document is stated that license should be flashed with serial communication:

"Zigbee module: J-Link is used for firmware flashing and serial communication is used for license flashing. Connect the pins as shown in the following table."

Could you tell how to make this for some third party zigbee device, for example ESP32-C6, STM32WB5, NRF5340 or NRF52840?

Tell me also why simple light (the lamp) on/off example of stm32wb5 is working without any license flashing? The temperature sensor example I didn't get working. Is it so, that not all products won't need the license?

Esko

Post Reply