slsys / Gateway

Web site
https://slsys.github.io/Gateway/
245 stars 103 forks source link

Add new device support eWeLink - ZB-SW03 #91

Closed vbashkevych closed 3 years ago

vbashkevych commented 3 years ago

IMG

Router

Friendly name: switch ieeeAddr: 0x00124B002189ECCF nwkAddr: 0xDAC2 ManufName: eWeLink ModelId: ZB-SW03

Routes

Endpoint 1

ProfileId: 0x0104 DeviceId: 0x0100

Input clusters:

GEN_BASIC
GEN_IDENTIFY
GEN_GROUPS
GEN_SCENES
GEN_ON_OFF

Output clusters

GEN_BASIC

Endpoint 2

ProfileId: 0x0104 DeviceId: 0x0100

Input clusters

GEN_BASIC
GEN_IDENTIFY
GEN_GROUPS
GEN_SCENES
GEN_ON_OFF

Output clusters

GEN_BASIC

Endpoint 3

ProfileId: 0x0104 DeviceId: 0x0100

Input clusters

GEN_BASIC
GEN_IDENTIFY
GEN_GROUPS
GEN_SCENES
GEN_ON_OFF

Output clusters

GEN_BASIC

SLS LOG:

[14:33:05.476] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA016E000D00AD1D1300000708750A00001001C2DA1D
[14:33:05.483] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 1, DstEn: 110, WasBr: 0x00, LinkQuality: 13, SecurityUse: 0x00, TimeStamp: 0x00131DAD, TransSeqNum: 0, Len: 7, Data: 08750A00001001
[14:33:05.502] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 117, CmdId: 0x0A REPORT, Payload: 00001001
[14:33:05.517] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: true
[14:33:05.524] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 13
[14:33:05.541] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 117
[14:33:05.554] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03

[14:33:08.564] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA01010017001E3B1300000708760A00001000C2DA1D
[14:33:08.568] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 1, DstEn: 1, WasBr: 0x00, LinkQuality: 23, SecurityUse: 0x00, TimeStamp: 0x00133B1E, TransSeqNum: 0, Len: 7, Data: 08760A00001000
[14:33:08.612] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 118, CmdId: 0x0A REPORT, Payload: 00001000
[14:33:08.621] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: false
[14:33:08.692] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 23
[14:33:08.695] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 118
[14:33:08.721] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03

[15:12:27.611] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA026E0027006ABF83000007089B0A00001001C2DA1D
[15:12:27.617] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 2, DstEn: 110, WasBr: 0x00, LinkQuality: 39, SecurityUse: 0x00, TimeStamp: 0x0083BF6A, TransSeqNum: 0, Len: 7, Data: 089B0A00001001
[15:12:27.636] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 155, CmdId: 0x0A REPORT, Payload: 00001001
[15:12:27.652] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: true
[15:12:27.658] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 39
[15:12:27.672] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 155
[15:12:27.681] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03

[15:12:31.531] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA020100340009E983000007089C0A00001000C2DA1D
[15:12:31.535] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 2, DstEn: 1, WasBr: 0x00, LinkQuality: 52, SecurityUse: 0x00, TimeStamp: 0x0083E909, TransSeqNum: 0, Len: 7, Data: 089C0A00001000
[15:12:31.558] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 156, CmdId: 0x0A REPORT, Payload: 00001000
[15:12:31.572] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: false
[15:12:31.589] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 52
[15:12:31.592] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 156
[15:12:31.597] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03

[14:40:45.259] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA0315001F00430A2900000708870A00001001C2DA1D
[14:40:45.264] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 3, DstEn: 21, WasBr: 0x00, LinkQuality: 31, SecurityUse: 0x00, TimeStamp: 0x00290A43, TransSeqNum: 0, Len: 7, Data: 08870A00001001
[14:40:45.285] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 135, CmdId: 0x0A REPORT, Payload: 00001001
[14:40:45.302] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: true
[14:40:45.307] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 31
[14:40:45.324] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 135
[14:40:45.341] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03

[14:40:47.902] [D]  -- ReceiveCmd: 0x4481 AREQ_AF_INCOMING_MSG, Len: 27, Data: 00000600C2DA0301001F00BD272900000708880A00001000C2DA1D
[14:40:47.915] [V] AREQ_AF_INCOMING_MSG GroupId: 0x0000, ClusterId: 0x0006 GEN_ON_OFF, SrcAddr: 0xDAC2, SrcEn: 3, DstEn: 1, WasBr: 0x00, LinkQuality: 31, SecurityUse: 0x00, TimeStamp: 0x002927BD, TransSeqNum: 0, Len: 7, Data: 08880A00001000
[14:40:47.935] [V]   ZCL FrameControl: 0x08, Type: 00, ManuSpecific: 00, Direction: 01, DisableDefaultRsp: 00, TrSeqNum: 136, CmdId: 0x0A REPORT, Payload: 00001000
[14:40:47.949] [V]     AttrId: 0x0000, AttrDataType: 0x10, AttrDataLen: 1, AttrValue: false
[14:40:47.967] [D] SetDeviceState nwkAddr: 0xDAC2, linkquality = UINT8: 31
[14:40:47.970] [D] SetDeviceState nwkAddr: 0xDAC2, trSeqNum = UINT8: 136
[14:40:48.046] [ERROR] Device: 0x00124B002189ECCF converter FromZigbee not found for ModelId: ZB-SW03
vbashkevych commented 3 years ago

1613261621092 1613261926765

vbashkevych commented 3 years ago

added