Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new device support TuYa ZS06 #162

Open
FrancescoDalan opened this issue Sep 25, 2022 · 0 comments
Open

Add new device support TuYa ZS06 #162

FrancescoDalan opened this issue Sep 25, 2022 · 0 comments

Comments

@FrancescoDalan
Copy link

Hello,
can you adds the support for this device?

Here the pairing log

[16:07:33.135] [D] [API] Zigbee/Join Duration: 255, Target: 0x0000
[16:07:33.142] [D] -- SendCmd 0x2536 SREQ_ZDO_MGMT_PERMIT_JOIN_REQ, DataLen: 5, Data: 020000FF00
[16:07:33.165] [D] -- ReceiveCmd: 0x6536 SRSP_ZDO_MGMT_PERMIT_JOIN_REQ, Len: 1, Data: 00
[16:07:33.182] [D] -- ReceiveCmd: 0x45B6 AREQ_ZDO_MGMT_PERMIT_JOIN_RSP, Len: 3, Data: 000000
[16:07:33.185] Joining enabled on the 255 seconds via '0x0000'
[16:07:33.189] [Led] SetServiceState State: 4, Current: 0, Mode: 2
[16:07:33.205] [MQTT] Send HB (177) {"Uptime":900,"UptimeStr":"00:15:00","IP":"192.168.1.32","RSSI":"-64","Version":"2022.08.13d8","FreeMem":157824,"LastRxTS":0,"LastTxTS":0,"log_level":"debug","permit_join":true}
[16:07:43.500] [D] -- ReceiveCmd: 0x45CA AREQ_ZDO_TC_DEV_IND, Len: 12, Data: B15DB23455FEFF445B380000
[16:07:43.503] [V] AREQ_ZDO_TC_DEV_IND SrcNwkAddr: 0x5DB1, SrcIEEEAddr: 0x385B44FFFE5534B2, ParentNwkAddr: 0x0000
[16:07:43.524] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 0, CurrentTS: 1664111263
[16:07:43.527] [D] -- SendCmd 0x2502 SREQ_ZDO_NODE_DESC_REQ, DataLen: 4, Data: B15DB15D
[16:07:43.996] [D] -- ReceiveCmd: 0x6502 SRSP_ZDO_NODE_DESC_REQ, Len: 1, Data: 00
[16:07:44.142] [D] -- ReceiveCmd: 0x45CA AREQ_ZDO_TC_DEV_IND, Len: 12, Data: B15DB23455FEFF445B380000
[16:07:44.145] [V] AREQ_ZDO_TC_DEV_IND SrcNwkAddr: 0x5DB1, SrcIEEEAddr: 0x385B44FFFE5534B2, ParentNwkAddr: 0x0000
[16:07:44.166] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 1664111263, CurrentTS: 1664111264
[16:07:57.399] [D] -- ReceiveCmd: 0x45CA AREQ_ZDO_TC_DEV_IND, Len: 12, Data: B15DB23455FEFF445B380000
[16:07:57.404] [V] AREQ_ZDO_TC_DEV_IND SrcNwkAddr: 0x5DB1, SrcIEEEAddr: 0x385B44FFFE5534B2, ParentNwkAddr: 0x0000
[16:07:57.425] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 1664111263, CurrentTS: 1664111277
[16:07:57.429] [D] -- SendCmd 0x2502 SREQ_ZDO_NODE_DESC_REQ, DataLen: 4, Data: B15DB15D
[16:07:57.460] [D] -- ReceiveCmd: 0x6502 SRSP_ZDO_NODE_DESC_REQ, Len: 1, Data: 00
[16:07:59.566] [D] -- ReceiveCmd: 0x45CA AREQ_ZDO_TC_DEV_IND, Len: 12, Data: B15DB23455FEFF445B380000
[16:07:59.571] [V] AREQ_ZDO_TC_DEV_IND SrcNwkAddr: 0x5DB1, SrcIEEEAddr: 0x385B44FFFE5534B2, ParentNwkAddr: 0x0000
[16:07:59.592] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 1664111277, CurrentTS: 1664111279
[16:07:59.004] [D] -- ReceiveCmd: 0x45C1 AREQ_ZDO_END_DEVICE_ANNCE_IND, Len: 13, Data: B15DB15DB23455FEFF445B3880
[16:07:59.008] [V] AREQ_ZDO_END_DEVICE_ANNCE_IND SrcNwkAddr: 0x5DB1, NwkAddr: 0x5DB1, ieeeAddr: 0x385B44FFFE5534B2, Capabilites: 0x80
[16:07:59.022] Device announce: 0x385B44FFFE5534B2, DevType: EndDevice, PowerSource: Battery, ReceiverOnIdle: OFF, Security: OFF
[16:07:59.042] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 1664111277, CurrentTS: 1664111279
[16:08:05.101] [D] -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 25, Data: 00000A00B15D0101007200ED1F2C0000050006000700B15D1D
[16:08:05.116] [D] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x000A GEN_TIME, SrcAddr: 0x5DB1, SrcEn: 1, DstEn: 1, WasBr: 0x00, LinkQuality: 114, SecurityUse: 0x00, TimeStamp: 0x002C1FED, TransSeqNum: 0, Len: 5, Data: 0006000700
[16:08:05.137] [D] ZCL FrameControl: 0x00, Type: 00, ManuSpecific: 00, Direction: 00, DisableDefaultRsp: 00, TrSeqNum: 6, CmdId: 0x00 READ, Payload: 0700
[16:08:05.163] [D] -- SendCmd 0x2401 SREQ_AF_DATA_REQUEST, DataLen: 15, Data: B15D01010A0002001E0500060B0000
[16:08:05.169] [D] -- SendCmd 0x2401 SREQ_AF_DATA_REQUEST, DataLen: 21, Data: B15D01010A0002001E0B18060107000023350FC32A
[16:08:05.185] ModelId not received (0x5DB1) - Need repairing device
[16:08:05.200] [D] -- ReceiveCmd: 0x6401 SRSP_AF_DATA_REQUEST, Len: 1, Data: 00
[16:08:05.214] [D] -- ReceiveCmd: 0x6401 SRSP_AF_DATA_REQUEST, Len: 1, Data: 00
[16:08:05.218] [D] -- ReceiveCmd: 0x4480 AREQ_AF_DATA_CONFIRM, Len: 3, Data: 000102
[16:08:05.311] [D] -- ReceiveCmd: 0x4480 AREQ_AF_DATA_CONFIRM, Len: 3, Data: 000102
[16:08:33.192] [MQTT] Send HB (179) {"Uptime":960,"UptimeStr":"00:16:00","IP":"192.168.1.32","RSSI":"-63","Version":"2022.08.13d8","FreeMem":159152,"LastRxTS":28,"LastTxTS":28,"log_level":"debug","permit_join":true}
[16:08:35.848] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 0, TS: 1664111277, CurrentTS: 1664111315
[16:08:35.855] [D] -- SendCmd 0x2502 SREQ_ZDO_NODE_DESC_REQ, DataLen: 4, Data: B15DB15D
[16:08:35.881] [D] -- ReceiveCmd: 0x6502 SRSP_ZDO_NODE_DESC_REQ, Len: 1, Data: 00
[16:08:35.129] [D] -- ReceiveCmd: 0x4582 AREQ_ZDO_NODE_DESC_RSP, Len: 18, Data: B15D00B15D0240800210525200002C520000
[16:08:35.139] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 1, TS: 0, CurrentTS: 1664111315
[16:08:35.144] [D] -- SendCmd 0x2505 SREQ_ZDO_ACTIVE_EP_REQ, DataLen: 4, Data: B15DB15D
[16:08:35.174] [D] -- ReceiveCmd: 0x6505 SRSP_ZDO_ACTIVE_EP_REQ, Len: 1, Data: 00
[16:08:37.618] [D] -- ReceiveCmd: 0x4585 AREQ_ZDO_ACTIVE_EP_RSP, Len: 7, Data: B15D00B15D0101
[16:08:37.623] [V] -- Found active Endpoints, nwkAddr: 0x5DB1, Endpoints: 1
[16:08:37.636] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 2, TS: 0, CurrentTS: 1664111317
[16:08:37.641] [D] -- SendCmd 0x2504 SREQ_ZDO_SIMPLE_DESC_REQ, DataLen: 5, Data: B15DB15D01
[16:08:37.666] [D] -- ReceiveCmd: 0x6504 SRSP_ZDO_SIMPLE_DESC_REQ, Len: 1, Data: 00
[16:08:38.125] [D] -- ReceiveCmd: 0x4584 AREQ_ZDO_SIMPLE_DESC_RSP, Len: 34, Data: B15D00B15D1C01040100F001080000040005000300010000ED04E006000219000A00
[16:08:38.139] [D] AREQ_ZDO_SIMPLE_DESC_RSP nwkAddr: 0x5DB1, Endpoint: 1, ProfileId: 0x0104, DeviceId: 0xF000, DevVer: 1
[16:08:38.142] NumInClusters: 8
[16:08:38.145] [D] -- Found InCluster: 0x0000 GEN_BASIC
[16:08:38.160] [D] -- Found InCluster: 0x0004 GEN_GROUPS
[16:08:38.163] [D] -- Found InCluster: 0x0005 GEN_SCENES
[16:08:38.166] [D] -- Found InCluster: 0x0003 GEN_IDENTIFY
[16:08:38.169] [D] -- Found InCluster: 0x0001 GEN_POWER_CFG
[16:08:38.184] [D] -- Found InCluster: 0xED00
[16:08:38.188] [D] -- Found InCluster: 0xE004
[16:08:38.193] [D] -- Found InCluster: 0x0006 GEN_ON_OFF
[16:08:38.197] NumOutClusters: 2
[16:08:38.201] [D] -- Found OutCluster: 0x0019 OTA
[16:08:38.203] [D] -- Found OutCluster: 0x000A GEN_TIME
[16:08:38.217] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 2, TS: 0, CurrentTS: 1664111318
[16:08:38.225] [D] ProcessDeviceInterview nwkAddr: 0x5DB1, State: 3, TS: 0, CurrentTS: 1664111318
[16:08:38.228] BasicEp: 1
[16:08:38.233] [D] -- SendCmd 0x2401 SREQ_AF_DATA_REQUEST, DataLen: 19, Data: B15D0101000002001E09107500040005000700
[16:08:38.268] [D] -- ReceiveCmd: 0x6401 SRSP_AF_DATA_REQUEST, Len: 1, Data: 00
[16:08:40.603] [D] -- ReceiveCmd: 0x4480 AREQ_AF_DATA_CONFIRM, Len: 3, Data: 000102
[16:08:40.629] [D] -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 68, Data: 00000000B15D01010075004EC52D00003018750104000042185F545A333239305F6F743665776A766D656A7135656B686C05000042065453313230310700003003B15D1D
[16:08:40.645] [D] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0000 GEN_BASIC, SrcAddr: 0x5DB1, SrcEn: 1, DstEn: 1, WasBr: 0x00, LinkQuality: 117, SecurityUse: 0x00, TimeStamp: 0x002DC54E, TransSeqNum: 0, Len: 48, Data: 18750104000042185F545A333239305F6F743665776A766D656A7135656B686C05000042065453313230310700003003
[16:08:40.679] [D] ZCL FrameControl: 0x18, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 01, TrSeqNum: 117, CmdId: 0x01 READ_RSP, Payload: 04000042185F545A333239305F6F743665776A766D656A7135656B686C05000042065453313230310700003003
[16:08:40.705] [D] AttrId: 0x0004, AttrDataType: 0x42, AttrDataLen: 25, AttrValue: _TZ3290_ot6ewjvmejq5ekhl
[16:08:40.709] [D] AttrId: 0x0005, AttrDataType: 0x42, AttrDataLen: 7, AttrValue: TS1201
[16:08:40.724] [D] AttrId: 0x0007, AttrDataType: 0x30, AttrDataLen: 1, AttrValue: 3
[16:08:40.729] [D] -- SendCmd 0x2401 SREQ_AF_DATA_REQUEST, DataLen: 15, Data: B15D0101000002001E051076000600
[16:08:40.753] New device 'TS1201' with address 0x385B44FFFE5534B2 interview completed!
[16:08:40.771] [Z][ERROR] Device: 0x385B44FFFE5534B2 converter FromZigbee not found for CID: 0, ManufName: _TZ3290_ot6ewjvmejq5ekhl, ModelId: TS1201
[16:08:40.799] [D] -- ReceiveCmd: 0x6401 SRSP_AF_DATA_REQUEST, Len: 1, Data: 00
[16:08:41.104] [D] -- ReceiveCmd: 0x4480 AREQ_AF_DATA_CONFIRM, Len: 3, Data: 000102
[16:08:41.120] [D] -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 28, Data: 00000000B15D010100750095D72D0000081876010600004200B15D1D
[16:08:41.134] [D] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0000 GEN_BASIC, SrcAddr: 0x5DB1, SrcEn: 1, DstEn: 1, WasBr: 0x00, LinkQuality: 117, SecurityUse: 0x00, TimeStamp: 0x002DD795, TransSeqNum: 0, Len: 8, Data: 1876010600004200
[16:08:41.155] [D] ZCL FrameControl: 0x18, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 01, TrSeqNum: 118, CmdId: 0x01 READ_RSP, Payload: 0600004200
[16:08:41.178] [D] AttrId: 0x0006, AttrDataType: 0x42, AttrDataLen: 1, AttrValue:
[16:08:41.187] [Z][ERROR] Device: 0x385B44FFFE5534B2 converter FromZigbee not found for CID: 0, ManufName: _TZ3290_ot6ewjvmejq5ekhl, ModelId: TS1201
[16:08:42.546] [Z] Starting configuration for device 0x385B44FFFE5534B2, CID: 0, ManufName: _TZ3290_ot6ewjvmejq5ekhl, ModelId: TS1201
[16:08:42.562] [V] [Z] Device: 0x385B44FFFE5534B2 converter Configure not found for CID: 0, ManufName: _TZ3290_ot6ewjvmejq5ekhl, ModelId: TS1201
[16:08:42.583] SaveDevices()
[16:08:42.588] [D] GetZigbeeDevices
[16:08:42.593] [D] 2 GetZigbeeDevices() 457
[16:08:42.599] 3 296900 145140 98292
[16:08:42.603] FreeMem: 143832
[16:08:42.608] JsonSize: 457
[16:08:42.778] FileWrite time: 191
[16:08:42.786] free2
[16:08:42.788] free2 done
[16:08:42.958] [D] SaveDevices OK FileSize: 457
[16:08:42.297] [D] SaveGroups OK

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant