Search found 256 matches

by huanghuan
2025年 Jan 16日 16:42
Forum: TuyaOS-Zigbee设备开发
Topic: 如何获取ZTU的SDK
Replies: 5
Views: 97

Re: 如何获取ZTU的SDK

建议使用 最新 3.11.0 的版本

by huanghuan
2025年 Jan 16日 16:41
Forum: TuyaOS-Zigbee设备开发
Topic: 如何获取ZTU的SDK
Replies: 5
Views: 97

Re: 如何获取ZTU的SDK

你好,你需要在TUYA IDE '资源中心'中填入相关信息后,点击查询,如果没有创建的权限,请点击申请权限,在填入相关信息后我们会有相关同事进行审批,通过后可以进行创建获取开发框架

by huanghuan
2025年 Jan 14日 11:29
Forum: TuyaOS-Zigbee Device Development
Topic: Suspend/Override Motion Sensors
Replies: 6
Views: 593

Re: Suspend/Override Motion Sensors

hi

I communicated with my colleagues that the tuya system allows you to create a rule to enable and disable a motion sensor control light by pressing a switch. You can create a rule in 'Scene' - 'Automation' to switch on and off the motion sensor control lights that have been created

by huanghuan
2025年 Jan 13日 10:57
Forum: TuyaOS-Zigbee Device Development
Topic: Suspend/Override Motion Sensors
Replies: 6
Views: 593

Re: Suspend/Override Motion Sensors

hi I roughly understand what you mean, in fact, the motion sensor linkage control light rules configured in the tuya system, you can enable and disable in the "scene" - "automation". But after our communication, I understand that you actually want to operate a certain device by p...
by huanghuan
2025年 Jan 10日 10:05
Forum: TuyaOS-Zigbee Device Development
Topic: Suspend/Override Motion Sensors
Replies: 6
Views: 593

Re: Suspend/Override Motion Sensors

hi let's confirm your feedback now. You created a series of linkage rules for Motion sensors control lights, and then found that you did not want the rules for Motion sensors to control lights to take effect again after you manually turned on the lights, right? Is it permanent? Then if you are using...
by huanghuan
2024年 Dec 30日 18:22
Forum: TuyaOS-Zigbee设备开发
Topic: 【已解决】TuyaOS网络自恢复问题
Replies: 7
Views: 525

Re: 【求助】TuyaOS网络自恢复问题

1.你好,我这边用你的固件,复现并解决了这个问题,你需要和light demo一样,在second init中使用定时器延时调用join start,如附图所示。
2.直接调用可能由于协议栈没有完全起来导致运行异常。

by huanghuan
2024年 Dec 30日 17:11
Forum: TuyaOS-Zigbee设备开发
Topic: 【已解决】TuyaOS网络自恢复问题
Replies: 7
Views: 525

Re: 【求助】TuyaOS网络自恢复问题

请提供下工程代码,或者是自行比较与light demo的区别进行增删改查

by huanghuan
2024年 Dec 30日 16:50
Forum: TuyaOS-Zigbee设备开发
Topic: 【已解决】TuyaOS网络自恢复问题
Replies: 7
Views: 525

Re: 【求助】TuyaOS网络自恢复问题

1.从抓包来看,网关不回复设备的路由请求,请抓一下这个设备在这个网关下,从配网成功然后开启自恢复后设备异常的整个抓包。
2.请用3.11.0 light demo进行测试,确认是否有相同问题。

by huanghuan
2024年 Dec 30日 15:29
Forum: TuyaOS-Zigbee设备开发
Topic: 【已解决】TuyaOS网络自恢复问题
Replies: 7
Views: 525

Re: 【求助】TuyaOS网络自恢复问题

1.你好,如果你发送数据 send_data.qos 为QOS_0或者是QOS_VIP_0,则 SEND_ST_ERR 表示发送时失败,比如当前背景噪声过高导致发送退避;如果 send_data.qos 为QOS_1或者是QOS_VIP_1,则 SEND_ST_ERR 表示发送次数耗尽,没有收到对方的default respond。
2.请附带上你发送的具体的代码,以及ubiqua 抓包方便我们分析。
3.请确认你上电多久进行的发送,如果增加一点延时是否有效,规避协议栈上电路由没有建立起来时发送数据失败的问题。