Search found 330 matches

by huanghuan
2025年 Dec 4日 16:51
Forum: TuyaOS-Zigbee设备开发
Topic: 【求助】开关_加进网关后_网关一直发Leave包
Replies: 4
Views: 30

Re: 【求助】开关_加进网关后_网关一直发Leave包

1.原因未知,如果是涂鸦网关请提供虚拟id

by huanghuan
2025年 Dec 4日 16:14
Forum: TuyaOS-Zigbee设备开发
Topic: 【求助】开关_加进网关后_网关一直发Leave包
Replies: 4
Views: 30

Re: 【求助】开关_加进网关后_网关一直发Leave包

1.请提供网关虚拟id,点击网关面板右上方“...”后查看网关设备信息。
2.网关给网络内的设备一直在发 leave with rejoin。

by huanghuan
2025年 Dec 3日 10:54
Forum: TuyaOS-Zigbee设备开发
Topic: 【求助】概率出现多路设备的某一路退出Zigbee Group后,Zigbee Group控制会控制到多路设备的每一路
Replies: 1
Views: 51

Re: 【求助】概率出现多路设备的某一路退出Zigbee Group后,Zigbee Group控制会控制到多路设备的每一路

1.你好,zigbee group 控制时不存在dest endpoint 所以存在group 07的endpoint都会回调。
2.我这边在tuyaos 3.12.0 light2 demo (详见附件)中实测,msg rec callback回调只会有相应的endpoint 回调进来,不存在endpoint 3的回调,见下图。
3.tal_zcl_specific_msg_recv_callback 回调中你注意看下 msg->dst_ep 这个参数

by huanghuan
2025年 Nov 24日 14:54
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

typedef struct{ tl_zb_addr_t dstAddr; u16 profileId; u16 aliasSrcAddr; bool useAlias; u8 aliasSeqNum; u8 dstAddrMode; u8 dstEp; aps_tx_options txOptions; u8 radius; }epInfo_t; typedef enum{ APS_TX_OPT_SECURITY_ENABLED = BIT(0), //0x01 = Security enabled transmission APS_TX_OPT_DISABLE_NWK_KEY = BIT...
by huanghuan
2025年 Nov 24日 14:44
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

1.现在这个针对 value 型的dp点,只要变量化大于0,就会触发上报吧? ---- 是的 2.对于一些command要怎么发送呢?比如 thermostat中的 Get weekly schedule response,当本地编程发生变化后,需要使用这个命令上报。 ----- sdk无法感知你何时需要进行类似report table的属性report,无法被动触发,所以你需要使用原厂 函数主动触发 _CODE_ZCL_ status_t zcl_sendCmd(u8 srcEp, epInfo_t *pDstEpInfo, u16 clusterId, u8 cmd, u8 specifi...
by huanghuan
2025年 Nov 24日 13:48
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

1.你好,这部分低功耗的report 因为定时器没有及时刷新导致report 有些异常,你可以按照附件demo的方式,使用tal_zg_write_attribute_with_callback 同时在 tal_zg_post_write_attribute_callback函数中统一使用 zigee_report_check_delay刷新定时器解决。 2.同时由于原厂协议栈在 reportableChangeValueChk 函数中的值比较存在歧义,低功耗检查report table是判断条件为>reportableChange, 所以该值为0是可以将增量为1时的变化触发上报,与zigbe...
by huanghuan
2025年 Nov 21日 14:47
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

1.请先用我们的demo测试在你的板子上有没有问题
2.请按照提供的抓包步骤,使用相同交互数据进行测试
3.请自行对比函数区别,包括report table init使用的时机等是否相同

by huanghuan
2025年 Nov 20日 19:46
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

1.你好,我这边实测是正常可以report的,附件为demo以供参考,output中有测试抓包

by huanghuan
2025年 Nov 20日 17:06
Forum: TuyaOS-Zigbee设备开发
Topic: 子设备连HA,能正常连接,但无法report数据
Replies: 25
Views: 1283

Re: 子设备连HA,能正常连接,但无法report数据

你先试试看远程写这个on off属性会不会触发report