Search found 11 matches

by kb-cyf
2025年 Nov 12日 09:48
Forum: TuyaOS-Zigbee Device Development
Topic: Zigbee PIR Sensors
Replies: 5
Views: 128

Re: Zigbee PIR Sensors

HI,
I think there should be an improvement. You can test it for a while and see. If there are still problems, please let me know.

by kb-cyf
2025年 Nov 12日 09:29
Forum: TuyaOS-Zigbee Device Development
Topic: Zigbee PIR Sensors
Replies: 5
Views: 128

Re: Zigbee PIR Sensors

HI,Thank you for providing the information. We reviewed the device logs and initially determined that the device has been operating normally since November 6th, without any freezes or crashes. However, we observed that the PIR and gateway seem to be quite far apart, or there is some interference bet...
by kb-cyf
2025年 Nov 11日 10:10
Forum: TuyaOS-Zigbee Device Development
Topic: Zigbee PIR Sensors
Replies: 5
Views: 128

Re: Zigbee PIR Sensors

Hi, To better analyze the problem, please provide the following information:

  1. Is the PIR based on TuyaOS? If so, please attach the device logs when the problem occurred.

  2. Please provide the device's virtual ID and the time the problem occurred.

by kb-cyf
2025年 Nov 10日 10:25
Forum: TuyaOS-Zigbee设备开发
Topic: 使用demo:tuyaos_demo_thermo_hygrometer_t遇到的问题?
Replies: 3
Views: 94

Re: 使用demo:tuyaos_demo_thermo_hygrometer_t遇到的问题?

你好,上报失败可能是由于您上报了一样的dp值,被云端过滤了。
您可以尝试下修改数值,或者上报个0试下,看能否上报成功。如果还有问题,可以把设备日志也发我们看下。

by kb-cyf
2025年 Nov 10日 09:04
Forum: TuyaOS-Zigbee设备开发
Topic: 使用demo:tuyaos_demo_thermo_hygrometer_t遇到的问题?
Replies: 3
Views: 94

Re: 使用demo:tuyaos_demo_thermo_hygrometer_t遇到的问题?

你好,麻烦您提供以下信息以便于我们分析问题:
1.在IOT平台自定义的DP102的信息
2.air_data_report的实现及调用方式
3.对应设备的设备ID(在涂鸦智能APP的对应设备的设备面板中->右上角->设备信息->虚拟ID)

by kb-cyf
2025年 Oct 28日 10:29
Forum: TuyaOS-Zigbee设备开发
Topic: 使用TLSR8258-温湿度传感器开发包遇到一些问题。
Replies: 3
Views: 206

Re: 使用TLSR8258-温湿度传感器开发包遇到一些问题。

你好,这些是Zigbee标准cluster的属性定义,上报到涂鸦云并显示在APP面板中是还需要DP转换关系的。目前涂鸦公版的温湿度传感器是没支持除了温湿度检测值以外部分的协议转换的, 所以您要是想在面板中显示这类暂未支持的DP,就需要用自定义DP走透传协议上报。

by kb-cyf
2025年 Oct 28日 10:06
Forum: TuyaOS-Zigbee设备开发
Topic: 使用TLSR8258-温湿度传感器开发包遇到一些问题。
Replies: 3
Views: 206

Re: 使用TLSR8258-温湿度传感器开发包遇到一些问题。

你好,
1.温湿度传感器目前标准dp仅支持温湿度上报,温湿度上下限值是没法上报的,您可以自行添加自定义dp上报;
2.产品开发包中的电池电量逻辑是上电首次上报100%,在cap_first_delay_time设定值时间过后会上报真实电量值。您可以确认你所下载的开发包中的代码是否与下图中一致,如不一致可修改后测试下

code.png
by kb-cyf
2025年 Oct 22日 10:07
Forum: TuyaOS-Zigbee设备开发
Topic: zigbee 灯设置亮白光,断电上电会闪一下黄光
Replies: 1
Views: 131

Re: zigbee 灯设置亮白光,断电上电会闪一下黄光

你好,可以把polarity为TUYA_PWM_NEGATIVE的那路pwm的初始化占空比设置为1000,确保在tal_pwm_start调用时这路pwm输出的是预期的低电平

by kb-cyf
2023年 Jan 13日 15:52
Forum: TuyaOS-Zigbee设备开发
Topic: 【已解决】ZS3L 人体存在传感器 二次开发
Replies: 18
Views: 15074

Re: 【求助】ZS3L 人体存在传感器 二次开发

你好,从抓包信息来看,这两个DP是通过DP透传形式下发给到子设备的。抓包中的ZCL Payload可按如下格式解析:

如: 00 D0 04 02 00 04 00 00 00 05
00 D0为seq,
04为dp id,
02为type(此处为value型,4字节),
00 04为值的长度
00 00 00 05为下发的DP值,此处为5

代码中可在dev_msg_recv_callback函数中,筛选对应的cluster、command id,对数据进行解析处理

by kb-cyf
2022年 Dec 15日 17:48
Forum: TuyaOS-Zigbee设备开发
Topic: 【Zigbee】TuyaOS Zigbee传感产品接入说明
Replies: 1
Views: 15706

【Zigbee】TuyaOS Zigbee传感产品接入说明

TuyaOS Zigbee传感产品接入说明 开发包拉取 TuyaOS开发包拉取及基本说明可参考 【Zigbee】 zigbee设备开发快速入门 文件结构 下图左侧(非以tbl\tdl\tdd开头文件)为产品应用层文件,开发者可修改此处文件实现需求功能。 右侧为产品所关联组件,实现基本基础功能,开发者也可自行接入驱动组件。 功能开关说明 在apps\tuyaos_demo_pir_sensor\include\sensor_app_config.h,可手动配置功能开关,开发者可根据需要选择功能,此处置0,则相关功能均不加入编译。PS:后续会更新为可视化配置 开发者可全局搜索这些宏,了解功能完整...