【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

网关设备, 语音中控设备等
youngpe
Posts: 51

hi,涂鸦工程师:
你好!
咨询问题描述如下:
1) 开发包全名ty_integrated_sdk_arm-linux-androideabi-4.9-ndk-r18b_release-1.1.2
2)问题现象:海曼门磁经常加不进来,看log是有扫到,但是没有把设备入网信息回调上来。log如下
[01-01 18:28:41:364 TUYA D][device-table-discovery.c:1213] TC Join Callback 785c , decision: 0, status: 1
[01-01 18:28:41:364 TUYA D][device-table-discovery.c:1221] ****** newNodeEui64 ec1bbdfffee4c9ee STANDARD_SECURITY_UNSECURED_JOIN ******
Trust Center Join Handler: status = UNsecured join, decision = use preconfigured key (00), shortid 0x785C
[01-01 18:28:43:980 TUYA D][tuya_zigbee_mgr.c:349] tp: 3 timeout: 120
[01-01 18:28:43:986 TUYA D][tuya_z3_api_tmp.c:7290] uTimeVal = 0.
[01-01 18:28:43:986 TUYA D][tuya_z3_api_tmp.c:7293] join diable.
[01-01 18:28:43:986 TUYA D][z3_slabs.c:1040] tuya config net status: 0.
[01-01 18:28:43:986 TUYA D][green-power-server.c:3323] ====== emberAfGreenPowerClusterGpSinkCommissioningModeCallback ======
[01-01 18:28:43:986 TUYA D][green-power-server.c:3418] Exit sink commissioning mode
[01-01 18:28:44:4 TUYA D][green-power-server.c:3444] SinkCommissioningModeCallbacksend returned 0
[01-01 18:28:44:9 TUYA D][af-main-common.c:698] pJoin for 0 sec: 0x0
[01-01 18:28:44:17 TUYA D][callback-stub.c:2766] NodeId:0x0, LastHopRssi:0, LastHopLqi:255.
[01-01 18:28:44:17 TUYA D][callback-stub.c:2614] Revice Green Power cmd
[01-01 18:28:44:17 TUYA D][tuya_z3_api_tmp.c:5010] Command recevice is green power
[01-01 18:28:44:17 TUYA D][tuya_z3_api_tmp.c:5012] greenpower cmd:0x02, not ZCL_GP_NOTIFICATION_COMMAND_ID
[01-01 18:28:44:18 TUYA D][green-power-client.c:98] Exit comm for sink 0
[01-01 18:28:44:80 TUYA D][tuya_z3.c:13549] g_tyz3Globals.permit:1.
[01-01 18:28:45:20 TUYA D][af-main-common.c:931] Nodeid:0xfffc, clusterId:0x0036, SUCCESS: tx 0.
[01-01 18:28:45:30 TUYA D][af-main-common.c:931] Nodeid:0xfffd, clusterId:0x0021, SUCCESS: tx 0.

Kyson
Posts: 233

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

应该是入网流程没完成,方便抓一下 Zigbee 空中包不?提供下抓包看下。

youngpe
Posts: 51

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

已上传抓包,使用CC2531 dongle,Ubiqua工具抓包的,文件后缀是.cubx,因为论坛不能上传这个格式,所以后面加了.txt,打开前将.txt去掉,抓包中门磁的mac地址是EC:1B:BD:FF:FE:E4:C9:EE

Kyson
Posts: 233

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

文件是不是没上传成功?没看到哦

youngpe
Posts: 51

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

海曼门磁.cubx.txt
(1.64 MiB) Downloaded 149 times
Kyson
Posts: 233

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

networkKey 麻烦发一下,如果有对应的网关日志更好。

youngpe
Posts: 51

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

8E:8A:1A:A7:D6:94:13:E8:43:55:78:28:0A:24:57:D9
日志就只有帖子上面那一点,log等级已经开到7了

Kyson
Posts: 233

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

子设备入网之后没有广播 device announce 哦。

Image

youngpe
Posts: 51

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

所以是子设备的问题吗,那海曼也是用的涂鸦方案,有什么可能导致它入网后没有广播device announce吗

Kyson
Posts: 233

Re: 【中控】【TuyaOS SDK】涂鸦海曼门磁传感器经常加不进来

从抓包看是子设备问题。是涂鸦 SoC 方案的子设备吗?子设备的 PID 是多少,我看看有没有新版本。

Post Reply