question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Support for Device 'TRADFRI motion sensor' E1745

See original GitHub issue

There is a new zigbee motion sensor (E1745) with brightness control at Ikea, currently available for 10€. Would be nice if this one was supported. 😃

https://www.ikea.com/de/de/p/tradfri-funk-bewegungsmelder-weiss-70429913/

database: {"id":17,"type":"EndDevice","ieeeAddr":"0x14b457fffe6b2a6f","nwkAddr":41444,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Battery","modelId":"TRADFRI motion sensor","epList":[1],"zclVersion":3,"appVersion":32,"stackVersion":98,"hwVersion":1,"swBuildId":"2.0.022","status":"online","joinTime":1563101614,"endpoints":{"1":{"profId":260,"epId":1,"devId":2128,"inClusterList":[0,1,3,9,32,4096,64636],"outClusterList":[3,4,6,8,25,4096],"clusters":{"64636":{"dir":{"value":1},"attrs":{}},"genBasic":{"dir":{"value":1},"attrs":{}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{}},"genOta":{"dir":{"value":2},"attrs":{}},"genPollCtrl":{"dir":{"value":1},"attrs":{}},"lightLink":{"dir":{"value":3},"attrs":{}}}}},"dateCode":"20190308","_id":"kMtU2fJpq9c4wbm8"} {"id":17,"type":"EndDevice","ieeeAddr":"0x14b457fffe6b2a6f","nwkAddr":41444,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Battery","modelId":"TRADFRI motion sensor","epList":[1],"zclVersion":3,"appVersion":32,"stackVersion":98,"hwVersion":1,"swBuildId":"2.0.022","status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":2128,"inClusterList":[0,1,3,9,32,4096,64636],"outClusterList":[3,4,6,8,25,4096],"clusters":{"64636":{"dir":{"value":1},"attrs":{}},"genBasic":{"dir":{"value":1},"attrs":{}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{}},"genOta":{"dir":{"value":2},"attrs":{}},"genPollCtrl":{"dir":{"value":1},"attrs":{}},"lightLink":{"dir":{"value":3},"attrs":{}}}}},"dateCode":"20190308","_id":"kMtU2fJpq9c4wbm8"}

Debug log: zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1030,"srcaddr":6171,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":73,"securityuse":0,"timestamp":2602830,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[24,130,10,0,0,24,1]}} +1m zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +56s zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1030,"srcaddr":6171,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":73,"securityuse":0,"timestamp":2602830,"transseqnumber":0,"len":7,"data":{"0":24,"1":130,"2":10,"3":0,"4":0,"5":24,"6":1},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":130,"cmdId":"report","payload":[{"attrId":0,"dataType":24,"attrData":1}]}} +6ms zigbee2mqtt:debug 2019-7-14 12:53:09 Received zigbee message of type 'attReport' with data '{"cid":"msOccupancySensing","data":{"occupancy":1}}' of device 'lumi.sensor_motion' (0x00158d0001d926ca) of endpoint 1 zigbee2mqtt:info 2019-7-14 12:53:09 MQTT publish: topic 'zigbee2mqtt/KU_Xiaomi_Motion', payload '{"battery":97,"voltage":2995,"linkquality":73,"occupancy":true}' zigbee-shepherd Device: 0x14b457fffe6b2a6f leave the network. +0ms zigbee2mqtt:debug 2019-7-14 12:53:20 Received zigbee message of type 'devLeaving' with data '"0x14b457fffe6b2a6f"' of endpoint undefined zigbee2mqtt:warn 2019-7-14 12:53:20 Message without device! zigbee-shepherd:msgHdlr IND <-- ZDO:leaveInd +11s zigbee-shepherd:msgHdlr IND <-- ZDO:tcDeviceInd +10s zigbee-shepherd:msgHdlr IND <-- ZDO:tcDeviceInd +2s zigbee-shepherd spinlock: false [] +5m zigbee-shepherd:request REQ --> ZDO:nodeDescReq +1m zigbee-shepherd Device: 0x14b457fffe6b2a6f endAnnounce. +13s zigbee-shepherd:msgHdlr IND <-- ZDO:endDeviceAnnceInd +272ms zigbee-shepherd:msgHdlr IND <-- ZDO:nodeDescRsp +250ms zigbee-shepherd:request REQ --> ZDO:activeEpReq +258ms zigbee-shepherd:msgHdlr IND <-- ZDO:activeEpRsp +300ms zigbee-shepherd:request REQ --> ZDO:simpleDescReq +301ms zigbee-shepherd:msgHdlr IND <-- ZDO:simpleDescRsp +319ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 1 +410ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +36ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":0,"endpoint":1,"transid":1} +25s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 1 +308ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":162,"securityuse":0,"timestamp":2680689,"transseqnumber":0,"len":53,"data":{"type":"Buffer","data":[24,1,1,4,0,0,66,14,73,75,69,65,32,111,102,32,83,119,101,100,101,110,5,0,0,66,21,84,82,65,68,70,82,73,32,109,111,116,105,111,110,32,115,101,110,115,111,114,7,0,0,48,3]}} +9ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +26ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":162,"securityuse":0,"timestamp":2680689,"transseqnumber":0,"len":53,"data":{"0":24,"1":1,"2":1,"3":4,"4":0,"5":0,"6":66,"7":14,"8":73,"9":75,"10":69,"11":65,"12":32,"13":111,"14":102,"15":32,"16":83,"17":119,"18":101,"19":100,"20":101,"21":110,"22":5,"23":0,"24":0,"25":66,"26":21,"27":84,"28":82,"29":65,"30":68,"31":70,"32":82,"33":73,"34":32,"35":109,"36":111,"37":116,"38":105,"39":111,"40":110,"41":32,"42":115,"43":101,"44":110,"45":115,"46":111,"47":114,"48":7,"49":0,"50":0,"51":48,"52":3},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":1,"cmdId":"readRsp","payload":[{"attrId":4,"status":0,"dataType":66,"attrData":"IKEA of Sweden"},{"attrId":5,"status":0,"dataType":66,"attrData":"TRADFRI motion sensor"},{"attrId":7,"status":0,"dataType":48,"attrData":3}]}} +21ms zigbee2mqtt:debug 2019-7-14 12:53:34 Received zigbee message of type 'readRsp' with data '{"cid":"genBasic","data":{"manufacturerName":"IKEA of Sweden","modelId":"TRADFRI motion sensor","powerSource":3}}' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee2mqtt:debug 2019-7-14 12:53:34 Configuring 0x14b457fffe6b2a6f (0x14b457fffe6b2a6f) zigbee-shepherd zclFoundation(): attrIds: [{"attrId":"4"},{"attrId":"5"},{"attrId":"7"}], readStatusRecsRsp: {"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":1,"cmdId":"readRsp","payload":[{"attrId":4,"status":0,"dataType":66,"attrData":"IKEA of Sweden"},{"attrId":5,"status":0,"dataType":66,"attrData":"TRADFRI motion sensor"},{"attrId":7,"status":0,"dataType":48,"attrData":3}]} +1s zigbee-shepherd Identified Device: { manufacturer: IKEA of Sweden, product: TRADFRI motion sensor } +2ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 2 +247ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +22ms zigbee-shepherd:request REQ --> ZDO:bindReq +259ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":0,"endpoint":1,"transid":2} +2s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 2 +2s zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":155,"securityuse":0,"timestamp":2686251,"transseqnumber":0,"len":48,"data":{"type":"Buffer","data":[24,2,1,0,0,0,32,3,1,0,0,32,32,2,0,0,32,98,3,0,0,32,1,6,0,0,66,8,50,48,49,57,48,51,48,56,0,64,0,66,7,50,46,48,46,48,50,50]}} +17ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +153ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":155,"securityuse":0,"timestamp":2686251,"transseqnumber":0,"len":48,"data":{"0":24,"1":2,"2":1,"3":0,"4":0,"5":0,"6":32,"7":3,"8":1,"9":0,"10":0,"11":32,"12":32,"13":2,"14":0,"15":0,"16":32,"17":98,"18":3,"19":0,"20":0,"21":32,"22":1,"23":6,"24":0,"25":0,"26":66,"27":8,"28":50,"29":48,"30":49,"31":57,"32":48,"33":51,"34":48,"35":56,"36":0,"37":64,"38":0,"39":66,"40":7,"41":50,"42":46,"43":48,"44":46,"45":48,"46":50,"47":50},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":2,"cmdId":"readRsp","payload":[{"attrId":0,"status":0,"dataType":32,"attrData":3},{"attrId":1,"status":0,"dataType":32,"attrData":32},{"attrId":2,"status":0,"dataType":32,"attrData":98},{"attrId":3,"status":0,"dataType":32,"attrData":1},{"attrId":6,"status":0,"dataType":66,"attrData":"20190308"},{"attrId":16384,"status":0,"dataType":66,"attrData":"2.0.022"}]}} +141ms zigbee2mqtt:debug 2019-7-14 12:53:36 Received zigbee message of type 'readRsp' with data '{"cid":"genBasic","data":{"zclVersion":3,"appVersion":32,"stackVersion":98,"hwVersion":1,"dateCode":"20190308","swBuildId":"2.0.022"}}' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee-shepherd zclFoundation(): attrIds: [{"attrId":"0"},{"attrId":"1"},{"attrId":"2"},{"attrId":"3"},{"attrId":"6"},{"attrId":"16384"}], readStatusRecsRsp: {"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":2,"cmdId":"readRsp","payload":[{"attrId":0,"status":0,"dataType":32,"attrData":3},{"attrId":1,"status":0,"dataType":32,"attrData":32},{"attrId":2,"status":0,"dataType":32,"attrData":98},{"attrId":3,"status":0,"dataType":32,"attrData":1},{"attrId":6,"status":0,"dataType":66,"attrData":"20190308"},{"attrId":16384,"status":0,"dataType":66,"attrData":"2.0.022"}]} +2s zigbee-shepherd:request REQ --> AF:dataRequest, transId: 3 +2s zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +27ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":3} +6s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 3 +6s zigbee2mqtt:debug 2019-7-14 12:53:43 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 4 +6s zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +32ms zigbee-shepherd:request REQ --> ZDO:bindReq +2s zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":0,"endpoint":1,"transid":4} +3s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 4 +3s zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":181,"securityuse":0,"timestamp":2715374,"transseqnumber":0,"len":13,"data":{"type":"Buffer","data":[24,4,13,1,32,0,32,33,0,32,253,255,33]}} +7ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +54ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":181,"securityuse":0,"timestamp":2715374,"transseqnumber":0,"len":13,"data":{"0":24,"1":4,"2":13,"3":1,"4":32,"5":0,"6":32,"7":33,"8":0,"9":32,"10":253,"11":255,"12":33},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":4,"cmdId":"discoverRsp","payload":{"discComplete":1,"attrInfos":[{"attrId":32,"dataType":32},{"attrId":33,"dataType":32},{"attrId":65533,"dataType":33}]}}} +49ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 5 +803ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":181,"securityuse":0,"timestamp":2715454,"transseqnumber":0,"len":48,"data":{"type":"Buffer","data":[24,2,1,0,0,0,32,3,1,0,0,32,32,2,0,0,32,98,3,0,0,32,1,6,0,0,66,8,50,48,49,57,48,51,48,56,0,64,0,66,7,50,46,48,46,48,50,50]}} +16ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +61ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":0,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":181,"securityuse":0,"timestamp":2715454,"transseqnumber":0,"len":48,"data":{"0":24,"1":2,"2":1,"3":0,"4":0,"5":0,"6":32,"7":3,"8":1,"9":0,"10":0,"11":32,"12":32,"13":2,"14":0,"15":0,"16":32,"17":98,"18":3,"19":0,"20":0,"21":32,"22":1,"23":6,"24":0,"25":0,"26":66,"27":8,"28":50,"29":48,"30":49,"31":57,"32":48,"33":51,"34":48,"35":56,"36":0,"37":64,"38":0,"39":66,"40":7,"41":50,"42":46,"43":48,"44":46,"45":48,"46":50,"47":50},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":2,"cmdId":"readRsp","payload":[{"attrId":0,"status":0,"dataType":32,"attrData":3},{"attrId":1,"status":0,"dataType":32,"attrData":32},{"attrId":2,"status":0,"dataType":32,"attrData":98},{"attrId":3,"status":0,"dataType":32,"attrData":1},{"attrId":6,"status":0,"dataType":66,"attrData":"20190308"},{"attrId":16384,"status":0,"dataType":66,"attrData":"2.0.022"}]}} +45ms zigbee2mqtt:debug 2019-7-14 12:53:46 Received zigbee message of type 'readRsp' with data '{"cid":"genBasic","data":{"zclVersion":3,"appVersion":32,"stackVersion":98,"hwVersion":1,"dateCode":"20190308","swBuildId":"2.0.022"}}' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +71ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":5} +100ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 5 +104ms zigbee2mqtt:debug 2019-7-14 12:53:46 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 6 +93ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +23ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":6} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 6 +1s zigbee2mqtt:debug 2019-7-14 12:53:47 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 7 +976ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +64ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":7} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 7 +999ms zigbee2mqtt:debug 2019-7-14 12:53:48 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 8 +935ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +26ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":8} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 8 +1s zigbee2mqtt:debug 2019-7-14 12:53:49 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 9 +983ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +27ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":9} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 9 +1s zigbee2mqtt:debug 2019-7-14 12:53:50 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 10 +973ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +37ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":10} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 10 +1s zigbee2mqtt:debug 2019-7-14 12:53:51 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 11 +971ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +27ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":11} +999ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 11 +998ms zigbee2mqtt:debug 2019-7-14 12:53:52 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 12 +964ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +29ms zigbee2mqtt:debug 2019-7-14 12:53:52 Saving state to file /opt/zigbee2mqtt/data/state.json zigbee-shepherd:request REQ --> ZDO:bindReq +3s zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":12} +7s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 12 +7s zigbee2mqtt:debug 2019-7-14 12:53:59 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 13 +4s zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +27ms zigbee-shepherd:msgHdlr IND <-- ZDO:bindRsp +181ms zigbee-shepherd-converters:devices Configured '(cb) => device.bind('genPowerCfg', coordinator, cb)' with result 'OK' +4m zigbee-shepherd:request REQ --> AF:dataRequest, transId: 14 +454ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +23ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":0,"endpoint":1,"transid":13} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 13 +1s zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":4096,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":136,"securityuse":0,"timestamp":2760476,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[24,13,13,1,253,255,33]}} +1ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +5ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":4096,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":136,"securityuse":0,"timestamp":2760476,"transseqnumber":0,"len":7,"data":{"0":24,"1":13,"2":13,"3":1,"4":253,"5":255,"6":33},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":13,"cmdId":"discoverRsp","payload":{"discComplete":1,"attrInfos":[{"attrId":65533,"dataType":33}]}}} +6ms zigbee-shepherd:request REQ --> AF:dataRequest, transId: 15 +707ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +26ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":15} +775ms zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 15 +779ms zigbee2mqtt:debug 2019-7-14 12:54:01 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee-shepherd:request REQ --> AF:dataRequest, transId: 16 +758ms zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +28ms zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":240,"endpoint":1,"transid":16} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 16 +1s zigbee2mqtt:debug 2019-7-14 12:54:02 Received zigbee message of type 'devInterview' with data '"0x14b457fffe6b2a6f"' zigbee2mqtt:debug 2019-7-14 12:54:02 Accept device incoming with ieeeAddr '0x14b457fffe6b2a6f' permit join is 'true' zigbee2mqtt:debug 2019-7-14 12:54:02 Allowing device '0x14b457fffe6b2a6f' to join zigbee-shepherd Device: 0x14b457fffe6b2a6f join the network. +25s zigbee2mqtt:debug 2019-7-14 12:54:02 Received zigbee message of type 'devIncoming' with data '"0x14b457fffe6b2a6f"' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee2mqtt:info 2019-7-14 12:54:02 Device incoming... zigbee2mqtt:info 2019-7-14 12:54:02 MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}' zigbee2mqtt:debug 2019-7-14 12:54:02 Received zigbee message of type 'devStatus' with data '"online"' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: {"status":0,"endpoint":1,"transid":14} +1s zigbee-shepherd:msgHdlr IND <-- AF:dataConfirm, transId: 14 +1s zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":170,"securityuse":0,"timestamp":2770136,"transseqnumber":0,"len":4,"data":{"type":"Buffer","data":[8,14,7,0]}} +8ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +13ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":170,"securityuse":0,"timestamp":2770136,"transseqnumber":0,"len":4,"data":{"0":8,"1":14,"2":7,"3":0},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":0},"manufCode":0,"seqNum":14,"cmdId":"configReportRsp","payload":[{"status":0}]}} +6ms zigbee-shepherd-converters:devices Configured '(cb) => device.foundation('genPowerCfg', 'configReport', [cfg], foundationCfg, cb)' with result 'OK' +4s zigbee2mqtt:info 2019-7-14 12:54:03 Successfully configured 0x14b457fffe6b2a6f (0x14b457fffe6b2a6f) zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":168,"securityuse":0,"timestamp":2773154,"transseqnumber":0,"len":13,"data":{"type":"Buffer","data":[24,4,13,1,32,0,32,33,0,32,253,255,33]}} +962ms zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +972ms zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":168,"securityuse":0,"timestamp":2773154,"transseqnumber":0,"len":13,"data":{"0":24,"1":4,"2":13,"3":1,"4":32,"5":0,"6":32,"7":33,"8":0,"9":32,"10":253,"11":255,"12":33},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":4,"cmdId":"discoverRsp","payload":{"discComplete":1,"attrInfos":[{"attrId":32,"dataType":32},{"attrId":33,"dataType":32},{"attrId":65533,"dataType":33}]}}} +10ms zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":176,"securityuse":0,"timestamp":2846419,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[8,2,10,33,0,32,47]}} +23s zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +23s zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1,"srcaddr":41444,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":176,"securityuse":0,"timestamp":2846419,"transseqnumber":0,"len":7,"data":{"0":8,"1":2,"2":10,"3":33,"4":0,"5":32,"6":47},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":0},"manufCode":0,"seqNum":2,"cmdId":"report","payload":[{"attrId":33,"dataType":32,"attrData":47}]}} +6ms zigbee2mqtt:debug 2019-7-14 12:54:27 Received zigbee message of type 'attReport' with data '{"cid":"genPowerCfg","data":{"batteryPercentageRemaining":47}}' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee2mqtt:info 2019-7-14 12:54:27 MQTT publish: topic 'zigbee2mqtt/0x14b457fffe6b2a6f', payload '{"battery":47,"linkquality":176}' zigbee2mqtt:debug 2019-7-14 12:54:27 Received zigbee message of type 'devChange' with data '{"cid":"genPowerCfg","data":{"batteryPercentageRemaining":47}}' of device 'TRADFRI motion sensor' (0x14b457fffe6b2a6f) of endpoint 1 zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: {"groupid":0,"clusterid":1030,"srcaddr":6171,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":84,"securityuse":0,"timestamp":2869115,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[24,131,10,0,0,24,1]}} +7s zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +7s zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: {"groupid":0,"clusterid":1030,"srcaddr":6171,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":84,"securityuse":0,"timestamp":2869115,"transseqnumber":0,"len":7,"data":{"0":24,"1":131,"2":10,"3":0,"4":0,"5":24,"6":1},"zclMsg":{"frameCntl":{"frameType":0,"manufSpec":0,"direction":1,"disDefaultRsp":1},"manufCode":0,"seqNum":131,"cmdId":"report","payload":[{"attrId":0,"dataType":24,"attrData":1}]}} +11ms zigbee2mqtt:debug 2019-7-14 12:54:35 Received zigbee message of type 'attReport' with data '{"cid":"msOccupancySensing","data":{"occupancy":1}}' of device 'lumi.sensor_motion' (0x00158d0001d926ca) of endpoint 1 zigbee2mqtt:info 2019-7-14 12:54:35 MQTT publish: topic 'zigbee2mqtt/KU_Xiaomi_Motion', payload '{"battery":97,"voltage":2995,"linkquality":84,"occupancy":true}' zigbee-shepherd:request REQ --> ZDO:mgmtPermitJoinReq +52s zigbee2mqtt:info 2019-7-14 12:54:53 Successfully reenabled joining zigbee-shepherd:msgHdlr IND <-- ZDO:mgmtPermitJoinRsp +18s `

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:38 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
Gwoonycommented, Dec 29, 2019

Now I can’t detect the new one… it is possible to see brightness value?

2reactions
logluxcommented, Aug 5, 2019

And what about Night/Day mode? Is it working?

Read more comments on GitHub >

github_iconTop Results From Across the Web

IKEA E1745 TRADFRI "Help needed" - SmartThings Community
The only way is to install a custom device handler in IDE, then remove/reset the IKEA motion sensor and pair it again. It...
Read more >
IKEA TRÅDFRI Motion Sensor E1745 User Manual - Manuals+
ADDING DEVICES TO YOUR MOTION SENSOR​​ Before you can use your motion sensor it must be paired to the light source you want...
Read more >
IKEA E1525/E1745 control via MQTT - Zigbee2MQTT
Notes. # Pairing. Pair the sensor to Zigbee2MQTT by pressing the pair button 4 times in a row. The red light on the...
Read more >
IKEA Tradfri Motion Sensor E1745 Zigbee compatibility
This device supports OTA updates. For more information see your gateway's software documentation. Pairing. Pair the sensor by pressing the pair button 4...
Read more >
How to add IKEA Motion Sensor in Home Assistant very easily
I'm adding an #IKEA Tradfri # Motion # sensor in my Home Assistant and I'm showing all the steps. At the end I'm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found