Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.75k stars 1.64k forks source link

About adding new devices #535

Closed Kanson4 closed 5 years ago

Kanson4 commented 5 years ago

I am based on TI example diy a temperture senser(use cc2530),Send a temperture vanlue report to the coordinator every 10 seconds. I'm trying to add new devices,I only see the pairing message, I don't see any message in the log file.(But I captured the package in the air, saw the complete process of joining the coordinator, and kept sending reports.) Thank, Kanson

total Log: https://hastebin.com/itokuvatat.coffeescript

Kanson4 commented 5 years ago

DEBUG=*: zigbee-shepherd:msgHdlr IND <-- ZDO:permitJoinInd +202ms zigbee-shepherd:msgHdlr IND <-- ZDO:mgmtPermitJoinRsp +0ms zigbee-shepherd:msgHdlr IND <-- ZDO:tcDeviceInd +21s zigbee-shepherd spinlock: false [] +489ms zigbee-shepherd:request REQ --> ZDO:nodeDescReq +11ms zigbee-shepherd:msgHdlr IND <-- ZDO:endDeviceAnnceInd +4ms zigbee-shepherd:msgHdlr IND <-- ZDO:nodeDescRsp +535ms zigbee-shepherd:request REQ --> ZDO:activeEpReq +2ms zigbee-shepherd:msgHdlr IND <-- ZDO:activeEpRsp +125ms zigbee-shepherd:request REQ --> ZDO:simpleDescReq +2ms zigbee-shepherd:msgHdlr IND <-- ZDO:simpleDescRsp +133ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 1 +28ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +18ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +82ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 1 +2ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +11ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +42ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms zigbee-shepherd Identified Device: { manufacturer: TexasInstruments, product: HTU21D_01 } +4ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 2 +27ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +20ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 2 +1ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +23ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +36ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +3ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 3 +8ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +18ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +51ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 3 +1ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +18ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +21ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 4 +3ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +13ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +84ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 4 +0ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +27ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +19ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee2mqtt:debug 2018-10-25 20:13:08 Received zigbee message of type 'devInterview' with data '"0x00124b00042fd145"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 5 +13ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +13ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +78ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 5 +1ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +11ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +4ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 6 +2ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +12ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +110ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 6 +0ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +11ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +4ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee2mqtt:debug 2018-10-25 20:13:08 Received zigbee message of type 'devInterview' with data '"0x00124b00042fd145"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 7 +5ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +14ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +103ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 7 +0ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +10ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +4ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 8 +2ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +18ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +105ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 8 +1ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +15ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +9ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee2mqtt:debug 2018-10-25 20:13:09 Received zigbee message of type 'devInterview' with data '"0x00124b00042fd145"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 9 +9ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +20ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +84ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 9 +1ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +14ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +4ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 10 +2ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +13ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +114ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +4ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms zigbee2mqtt:debug 2018-10-25 20:13:09 Received zigbee message of type 'devInterview' with data '"0x00124b00042fd145"' zigbee-shepherd Device: 0x00124b00042fd145 join the network. +8ms zigbee2mqtt:debug 2018-10-25 20:13:09 Received zigbee message of type 'devIncoming' with data '"0x00124b00042fd145"' of device 'HTU21D_01' (0x00124b00042fd145) zigbee2mqtt:info 2018-10-25 20:13:09 Device incoming... zigbee2mqtt:info 2018-10-25 20:13:09 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"device incoming"}' zigbee2mqtt:debug 2018-10-25 20:13:09 Received zigbee message of type 'devStatus' with data '"online"' of device 'HTU21D_01' (0x00124b00042fd145) zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +114ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 10 +0ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +12ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +10ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms

Kanson4 commented 5 years ago

The problem is solved , the sending report endpoint is incorrect.