zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

QBKG04LM: status code: 240. MAC transaction expired.

Open HKC001 opened this issue 8 years ago • 5 comments

I just installed a new today, but every once in awhile it stops working and throws this error:

Zigbee publish to 'device_name', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - 2 failed with error Error: AF data request fails, status code: 240. MAC transaction expired.

Can't find any additional info online. How can I help to dig deeper into this issue?

HKC001 avatar Oct 08 '18 10:10 HKC001

Can you post your zigbee network map? (https://github.com/Koenkk/zigbee2mqtt/wiki/MQTT-topics-and-message-structure#zigbee2mqttbridgenetworkmap), maybe it's a connection problem.

Koenkk avatar Oct 08 '18 13:10 Koenkk

Sorry, I was unable to get the map, and I'm going to need some advice here as well. Running Hass.IO. I tried creating a sensor:

- platform: mqtt
  name: network map
  state_topic: "zig/bridge/networkmap/graphviz"

then under Dev Tools > Service > mqtt.publish:

{"topic": "zig/bridge/networkmap ", "payload": "graphviz"}

zig is my mqtt_base_topic.

But nothing is showing up under States?

HKC001 avatar Oct 08 '18 14:10 HKC001

Quick update: I tried zig/bridge/config/remove with both device ID and friendly name, and got:

Cannot handle MQTT config option 'remove  ' with message '0x00158d00026a10a4'
Cannot handle MQTT config option 'remove  ' with message 'ltsw_1

I manually removed the entries in database.db, and rejoined the device. It worked for an hour or so, then the 240 error appeared again. Here's my current db after the 240 failure:

{"id":12,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":3538,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"9CuzBVWL7tJJmV8J"}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed39af","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1538995530,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}}},"_id":"HSQ4IYr2Wx0CtnEL"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d000237c63d","nwkAddr":27063,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"IEL1JBOMHcr45yRX"}
{"id":8,"type":"EndDevice","ieeeAddr":"0x00158d000252d579","nwkAddr":45413,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{}}},"_id":"JdWoH4yhoVwT8wul"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00020f542e","nwkAddr":21575,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"Q3dBaxyn5psDpvfm"}
{"id":2,"type":"Router","ieeeAddr":"0x00158d00024f1d15","nwkAddr":1880,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,1,2,3,4,5,6,10,16],"outClusterList":[10,25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":30,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"09-29-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2176}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":25}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":0}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":50812928,"onOff":1}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"outOfService":0,"presentValue":0,"statusFlags":0}},"genOta":{"dir":{"value":2},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":9,"inClusterList":[12],"outClusterList":[4,12],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"TEL3r7hgS3vGzpfT"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d00024e1a0a","nwkAddr":47922,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"TVZssfDEUJ4TA57f"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d00026a35a9","nwkAddr":64373,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"bChcVcptCuk3UBwb"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d000232c0c5","nwkAddr":11132,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"kjq6KNVkWdAcnxnY"}
{"id":10,"type":"Router","ieeeAddr":"0x00158d00026a10a4","nwkAddr":64368,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral1","epList":[1,2,3,4,5,6,8],"status":"online","joinTime":1538995713,"endpoints":{"1":{"profId":260,"epId":1,"devId":6,"inClusterList":[0,1,2,3,10,25],"outClusterList":[0,10,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":0,"appVersion":18,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"11-11-2016","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":33,"lowTempThres":55,"highTempThres":60}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":117440586,"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109376}}}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL2","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109377}}}},"4":{"profId":260,"epId":4,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"5":{"profId":260,"epId":5,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"6":{"profId":260,"epId":6,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"8":{"profId":260,"epId":8,"devId":83,"inClusterList":[12],"outClusterList":[],"clusters":{"genAnalogInput":{"dir":{"value":1},"attrs":{"description":"POWER","maxPresentValue":1600,"minPresentValue":0,"outOfService":0,"presentValue":0,"resolution":1,"statusFlags":0,"applicationType":590336}}}}},"_id":"yXpWkbaJIx1P9E1n"}
{"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed39af","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1538995778,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}}},"_id":"HSQ4IYr2Wx0CtnEL"}
{"id":12,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":3538,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"9CuzBVWL7tJJmV8J"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d000237c63d","nwkAddr":27063,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"IEL1JBOMHcr45yRX"}
{"id":8,"type":"EndDevice","ieeeAddr":"0x00158d000252d579","nwkAddr":45413,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{}}},"_id":"JdWoH4yhoVwT8wul"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00020f542e","nwkAddr":21575,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"Q3dBaxyn5psDpvfm"}
{"id":2,"type":"Router","ieeeAddr":"0x00158d00024f1d15","nwkAddr":1880,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,1,2,3,4,5,6,10,16],"outClusterList":[10,25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":30,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"09-29-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2176}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":25}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":0}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":50812928,"onOff":1}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"outOfService":0,"presentValue":0,"statusFlags":0}},"genOta":{"dir":{"value":2},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":9,"inClusterList":[12],"outClusterList":[4,12],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"TEL3r7hgS3vGzpfT"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d00024e1a0a","nwkAddr":47922,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"TVZssfDEUJ4TA57f"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d00026a35a9","nwkAddr":64373,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"bChcVcptCuk3UBwb"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d000232c0c5","nwkAddr":11132,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"kjq6KNVkWdAcnxnY"}
{"id":10,"type":"Router","ieeeAddr":"0x00158d00026a10a4","nwkAddr":64368,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral1","epList":[1,2,3,4,5,6,8],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":6,"inClusterList":[0,1,2,3,10,25],"outClusterList":[0,10,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":0,"appVersion":18,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"11-11-2016","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":33,"lowTempThres":55,"highTempThres":60}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":117440586,"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109376}}}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL2","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109377}}}},"4":{"profId":260,"epId":4,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"5":{"profId":260,"epId":5,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"6":{"profId":260,"epId":6,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"8":{"profId":260,"epId":8,"devId":83,"inClusterList":[12],"outClusterList":[],"clusters":{"genAnalogInput":{"dir":{"value":1},"attrs":{"description":"POWER","maxPresentValue":1600,"minPresentValue":0,"outOfService":0,"presentValue":0,"resolution":1,"statusFlags":0,"applicationType":590336}}}}},"_id":"yXpWkbaJIx1P9E1n"}

HKC001 avatar Oct 08 '18 14:10 HKC001

Finally got the network map! Funny why the connection is so low though. RTCGQ01LM is located in almost the same spot as QBKG04LM, only its slightly closer to the coordinator. Will move the coordinator closer and check again.

digraph G {
node[shape=record];
  "0x00124b0018ed39af" [label="{0x00124b0018ed39af|Coordinator|No model information available|online}"];
  "0x00158d00024f1d15" [label="{pow_1|Router|Xiaomi Mi power plug ZigBee (ZNCZ02LM)|online}"];
  "0x00158d00024f1d15" -> "0x00124b0018ed39af" [label="23"]
  "0x00158d00026a35a9" [label="{pir_1|EndDevice|Xiaomi MiJia human body movement sensor (RTCGQ01LM)|online}"];
  "0x00158d00026a35a9" -> "0x00124b0018ed39af" [label="39"]
  "0x00158d00020f542e" [label="{tmp_1|EndDevice|Xiaomi MiJia temperature & humidity sensor  (WSDCGQ01LM)|online}"];
  "0x00158d00020f542e" -> "0x00124b0018ed39af" [label="54"]
  "0x00158d000237c63d" [label="{con_2|EndDevice|Xiaomi Aqara door & window contact sensor (MCCGQ11LM)|online}"];
  "0x00158d000237c63d" -> "0x00158d00024f1d15" [label="174"]
  "0x00158d000232c0c5" [label="{con_1|EndDevice|Xiaomi Aqara door & window contact sensor (MCCGQ11LM)|online}"];
  "0x00158d000232c0c5" -> "0x00158d00024f1d15" [label="160"]
  "0x00158d00024e1a0a" [label="{con_3|EndDevice|Xiaomi MiJia door & window contact sensor (MCCGQ01LM)|online}"];
  "0x00158d00024e1a0a" -> "0x00124b0018ed39af" [label="47"]
  "0x00158d000252d579" [label="{tog_1|EndDevice|Xiaomi MiJia wireless switch (WXKG01LM)|online}"];
  "0x00158d000252d579" -> "0x00158d00024f1d15" [label="176"]
  "0x00158d00026a10a4" [label="{0x00158d00026a10a4|Router|Xiaomi Aqara single key wired wall switch (QBKG04LM)|online}"];
  "0x00158d00026a10a4" -> "0x00124b0018ed39af" [label="3"]
  "0x00158d000276fd78" [label="{cube_1|EndDevice|Xiaomi Mi smart home cube (MFKZQ01LM)|online}"];
  "0x00158d000276fd78" -> "0x00124b0018ed39af" [label="85"]
  "0x00158d000282a0f6" [label="{d_ltsw_1|EndDevice|Xiaomi Aqara double key wireless wall switch (WXKG02LM)|online}"];
  "0x00158d000282a0f6" -> "0x00124b0018ed39af" [label="16"]
}

HKC001 avatar Oct 09 '18 05:10 HKC001

Re-arranged the coordinators / router, and things seem ok now. Looks like a signal of 3 will cause errors after an hour or so, but 6 is fine for at least the last few hours.

HKC001 avatar Oct 09 '18 13:10 HKC001