Hi everyone,
It’s a bit despaired that I’m reaching out as I usually get my way around reading over and over posts and issues from others.
But this time, I can’t make it work.
Context :
I’m running a small network of devices, a few Aqara Zigbee Switches, a couple Yeelight Bulb and a few plugs, both Zigbee and Wifi. All this on the Rpi 3B+ with SSD and ZZh Zigbee stick.
I used to have my switches paired with the Xiaomi Gateway itself connected to HA and all automation done via nodered. This was more than 2 years ago. And it ran perfect for that long with literally no crash whatsoever.
I recently thought it was time to update HA seeing the most recent development which are amazing (such a long way in 3 years).
So I want for a fresh HA install and it went rather smooth. I took this opportunity to “get rid” of the gateway and pair my switches directly with HA through MQTT (Mosquito and Z2M) and still using Node Red.
Problem:
Since then, there wasn’t a single day I didn’t have to restart Z2M to make my network functional again.
I was working with an old Zigate V1 which is officially not supported. So I changed it for the praised ZZh thinking it would make things better. Nope.
So I tried all i could read:
- extension cable, 1.3m, 5m, several positions far from the router and Rpi. Nothing
- having only the ZZh stick on the Pi (with the SSD). Nothing
- changing Zigbee channel > I’m currently on 25 which is empty around (I can scan the wifi channels with my ISP router)
- unplug and replug the stick and well pushing the little reset button. Still nothing.
Nothing to do, after a few hours, like 6/8, the network is broken and I get the “failed to execute LQI for coordinator” and nothing works.
Nothing in the HA logs that is related to Z2m, only a couple things related to Xiaomi map extractor.
So I’ve enabled the Herdsman logging as I’ve seen asked in other posts, but I have to admit at this point it’s a bit Chinese to me…
If anyone has an idea, I’d love to hear it …
Thanks for reading through, that’s already something
Here is the last bit of the Z2M log in case it helps
022-03-15T19:42:35.577Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":64704,"srcaddr":31227,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":105,"securityuse":0,"timestamp":4227057,"transseqnumber":0,"len":70,"data":{"type":"Buffer","data":[28,95,17,23,10,247,0,65,61,100,16,0,3,40,25,152,57,0,0,0,0,149,57,44,233,181,61,150,57,0,192,15,69,151,57,0,0,0,0,5,33,1,0,154,32,0,8,33,22,1,7,39,0,0,0,0,0,0,0,0,9,33,2,4,11,32,0,155,16,0]}}
2022-03-15T19:42:35.579Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":23,"manufacturerCode":4447,"commandIdentifier":10},"Payload":[{"attrId":247,"dataType":65,"attrData":{"type":"Buffer","data":[100,16,0,3,40,25,152,57,0,0,0,0,149,57,44,233,181,61,150,57,0,192,15,69,151,57,0,0,0,0,5,33,1,0,154,32,0,8,33,22,1,7,39,0,0,0,0,0,0,0,0,9,33,2,4,11,32,0,155,16,0]}}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":31227,"endpoint":1,"linkquality":105,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2022-03-15T19:42:35.585Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2022-03-15T19:43:29.319Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,69,196,188,30,0,32]
2022-03-15T19:43:29.320Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,196,188,30,0,32]
2022-03-15T19:43:29.325Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 196 - [188,30,0] - 32
2022-03-15T19:43:29.326Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":7868,"relaycount":0,"relaylist":[]}
2022-03-15T19:43:29.326Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2022-03-15T19:43:29.330Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,62,68,129,0,0,0,0,188,30,1,1,0,102,0,115,198,115,0,0,42,28,95,17,4,10,1,255,66,33,100,16]
2022-03-15T19:43:29.331Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,62,68,129,0,0,0,0,188,30,1,1,0,102,0,115,198,115,0,0,42,28,95,17,4,10,1,255,66,33,100,16]
2022-03-15T19:43:29.333Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [1,3,40,29,152,57,195,245,240,64,149,57,42,76,9,65,5,33,12,0,154,32,0,8,33,92,17,9,33,0,2,188]
2022-03-15T19:43:29.334Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,62,68,129,0,0,0,0,188,30,1,1,0,102,0,115,198,115,0,0,42,28,95,17,4,10,1,255,66,33,100,16,1,3,40,29,152,57,195,245,240,64,149,57,42,76,9,65,5,33,12,0,154,32,0,8,33,92,17,9,33,0,2,188]
2022-03-15T19:43:29.336Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [30,29,151]
2022-03-15T19:43:29.337Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,62,68,129,0,0,0,0,188,30,1,1,0,102,0,115,198,115,0,0,42,28,95,17,4,10,1,255,66,33,100,16,1,3,40,29,152,57,195,245,240,64,149,57,42,76,9,65,5,33,12,0,154,32,0,8,33,92,17,9,33,0,2,188,30,29,151]
2022-03-15T19:43:29.338Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 62 - 2 - 4 - 129 - [0,0,0,0,188,30,1,1,0,102,0,115,198,115,0,0,42,28,95,17,4,10,1,255,66,33,100,16,1,3,40,29,152,57,195,245,240,64,149,57,42,76,9,65,5,33,12,0,154,32,0,8,33,92,17,9,33,0,2,188,30,29] - 151
2022-03-15T19:43:29.339Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":0,"srcaddr":7868,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":102,"securityuse":0,"timestamp":7587443,"transseqnumber":0,"len":42,"data":{"type":"Buffer","data":[28,95,17,4,10,1,255,66,33,100,16,1,3,40,29,152,57,195,245,240,64,149,57,42,76,9,65,5,33,12,0,154,32,0,8,33,92,17,9,33,0,2]}}
2022-03-15T19:43:29.343Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":4,"manufacturerCode":4447,"commandIdentifier":10},"Payload":[{"attrId":65281,"dataType":66,"attrData":{"3":29,"5":12,"8":4444,"9":512,"100":1,"149":8.581094741821289,"152":7.53000020980835,"154":0}}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":7868,"endpoint":1,"linkquality":102,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2022-03-15T19:43:29.350Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2022-03-15T22:01:26.822Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":0,"startindex":0}
2022-03-15T22:01:26.823Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,0,0,0,23]
2022-03-15T22:01:37.835Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":0,"startindex":0}
2022-03-15T22:01:37.836Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,0,0,0,23]
Zigbee2MQTT:error 2022-03-15 23:01:43: Failed to execute LQI for 'Coordinator'
2022-03-15T22:01:44.927Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":31227,"startindex":0}
2022-03-15T22:01:44.928Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,251,121,0,149]
2022-03-15T22:01:55.938Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":31227,"startindex":0}
2022-03-15T22:01:55.939Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,251,121,0,149]
Zigbee2MQTT:error 2022-03-15 23:02:01: Failed to execute LQI for 'Prise Test 1'
2022-03-15T22:02:02.954Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":7868,"startindex":0}
2022-03-15T22:02:02.955Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,188,30,0,181]
2022-03-15T22:02:13.963Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtLqiReq - {"dstaddr":7868,"startindex":0}
2022-03-15T22:02:13.964Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,3,37,49,188,30,0,181]
Zigbee2MQTT:error 2022-03-15 23:02:19: Failed to execute LQI for 'Prise murale Chambre'
2022-03-15T22:08:40.682Z zigbee-herdsman:controller:endpoint Command 0x00158d000313e2b7/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2022-03-15T22:08:40.683Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x00158d000313e2b7:7868/1 (0,0,1)
2022-03-15T22:08:40.684Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":7868,"destendpoint":1,"srcendpoint":1,"clusterid":6,"transid":4,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[1,4,0]}}
2022-03-15T22:08:40.685Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,13,36,1,188,30,1,1,6,0,4,0,30,3,1,4,0,144]
2022-03-15T22:08:46.690Z zigbee-herdsman:controller:endpoint Command 0x00158d000313e2b7/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
Zigbee2MQTT:error 2022-03-15 23:08:46: Publish 'set' 'state' to 'Prise murale Chambre' failed: 'Error: Command 0x00158d000313e2b7/1 genOnOff.off({}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'