Connection to Linkind ZS130000078 lost after some hours/days
What happened?
The keypad is successfully paired and known to z2m. It can be used to enter codes, switch arm modes etc. without issue. But after a couple of days (for others one or a couple of hours), out of the sudden, it is not able to communicate to z2m anymore. The red "network" LED is blinking that it usually uses to signal that the keypad has to be initialized (e.g. via send "disarm" payload) first. But sending the payload is not able to init it again. Only after resetting/repairing it with z2m makes it work again. While the keypad is not able to reconnect, z2m can still receive its health status messages though.
At the time, the keypad disconnected, the follow log was printed in z2m:
error 2022-03-02 20:14:00: Error: CommandResponse 0x588e81fffe21eede/1 ssIasAce.getPanelStatusRsp({"panelstatus":0,"secondsremain":0,"audiblenotif":0,"alarmstatus":0}, {"sendWhen":"active","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC no ack' (233))
Followed by those, when trying to send the usual disarm payload:
error 2022-03-02 20:21:13: Error: CommandResponse 0x588e81fffe21eede/1 ssIasAce.getPanelStatusRsp({"panelstatus":0,"secondsremain":0,"audiblenotif":0,"alarmstatus":0}, {"sendWhen":"active","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))
There is already a discussion going on, where 2 other guys having similar issues and also reporting that they can see similar errors in the logs.
We're running out of ideas what might cause this.
What did you expect to happen?
Connection between the keypad and z2m is not lost.
How to reproduce it (minimal and precise)
Init the keypad and use it for a couple of hours/days. Maybe also with long idle pauses in between. At some point it should disconnect.
Zigbee2MQTT version
1.23.0
Adapter firmware version
20220103
Adapter
SONOFF 3.0 USB Dongle Plus
Debug log
No response
Same here.
I have a similar or identical problem. Sometimes it works, sometimes after activating it by proximity it takes really long to (I assume) get the current state, then fail with a red blinking connection error on the keypad. I use a Conbee2 stick with newest firmware. For me it is not necessary to repair it. Most of the times another attempt with proximity activation is successful. I will try to isolate the error message if the keypad is not acting like it should.
Thanks for sharing! After it shows the red led, do you have to send the disarm payload to make it work again? Or really only retry with proximity? Do you have any automation in the background like HA or so that sends the init payload maybe?
I also started to use another zigbee channel to cross general connection issues off the list. Debug log is enabled. Let's see when it fails next time. Also I monitor the LQI. It never drops below 40 or so when it happens.
I'm wondering If it would be a connection issue, why it does not go back to normal once I place it near the coordinator? Only repair seems to work for me.
Hi, no up until now I didn’t have the repairing issue. It works kind of, but is unresponsive and laggy (like timing out). I thought this could maybe be an issue of a low energy state of the keypad in which it is going to. The only automation I am using is this blueprint Here
I also fiddles around this the occupancy clearing times from the default 90s up until 18h. I doesn’t improve this behaviour. I was thinking about trying to prevent the keypad to go into „sleep mode“ (not even knowing if something like this exists) by initialising it every 30min.
Mine was again dropping out from a previous working state. Again "no network route (205)". Moved it next to the sender, but the getpanelstatusresp error 205 continues. No auto recover or so. I'm wondering what it actually means. Does it mean it gets a panelStatusRequest from the keypad but fails to send the response to it? How can this be? Sounds strange that the network fails only in one direction.
I will also start now, to send the current state every 30 mins or so. Maybe it makes a difference...
I have the same issue as vguna but using the same blueprint as writepatrick. Once it drops off mine doesn't ever connect again but continues to send stats to HA without an issue. I've tried sending a message to it but 205 error. Have to take battery out or reset to get it working again. LQI never drops below 85.
So, one night keeping it next to the coordinator does not bring it back to live. I can confirm that. In the log at the bottom you can see that I tried to send the disarm payload twice, but this did not have any effect. If I'm near proximity, it logs those line though:
Received Zigbee message from 'LinkindKeypad', type 'commandGetPanelStatus', cluster 'ssIasAce', data '{}' from endpoint 1 with groupID 0`
So for me it looks like it is still connected, but somehow the disarm does not get through and the keypad does not get the panel status response as requested.
Maybe let's loop in @robertalexa, @GSzabados and @stefangries since it seems they're the experts with this keypad.
BTW: Just put batteries out and in again, and now it seems to work again :/.
Just out of curiosity, what router devices do you have on your network?
Hi, just for debugging I am currently on zigbee2mqtt version 1.23.0-dev commit: [afe94a7]
My LQI is at 255 since it is just 2 meters away from the coordinator.
Did somebody use the included hub? How is the zigbee traffic there (is it even possible to sniff the traffic?), maybe we are missing some commands to keep the connection alive? Since I am just a hobbyist, this is my best guess. I‘d love to have the time to debug this, but with a family of four this is not possible for me.😞
Hi guys, don't have any keypada anymore so my following thoughts are just guesses.
I have seen very similar behaviour with my thermostat remote from Hive.
And in my case my conclusion was a poor connection issue. The device wants to connect to the device it was originally adopted by, even though that device has a poor connection if moved around.
My suggestion would be to try to pair it using the closest router to the keypad.
In the backened, next ro the permit join button there is a dropdown that allows you to choose which router should do the pairing. Try to use one that is close to the keypad and monitor if it stilla falls off the network.
At least this will eliminate some variables...
Just out of curiosity, what router devices do you have on your network?
Just one IKEA TRÅDFRI lightbulb
@GSzabados : I have no routers on my network. Also this network only contains of the PIR sensor and the keypad that came with the Linkind bundle. And the PIR is only for playing around with it. I'm using the SONOFF 3.0 USB Dongle Plus on a rpi 4, connected via USB and 1,5m long cable. Firmware is 20220103 that came with the stick. Z2M version is 1.23.0. I also tried already to shift channels, but this does not make a huge difference in LQI as it seems.
@writepatrick : not used the hub at all yet. Maybe I will try one day to see if there is a new firmware available and flash it. I saw some guys also "hacked" it. It seems it's OpenWRT on it or so - but didn't follow closely. I also thought about it - that we might miss some commands it needs to stay alive.
@writepatrick : what firmware does your keypad have? Mine is 3.13.
And in my case my conclusion was a poor connection issue. The device wants to connect to the device it was originally adopted by, even though that device has a poor connection if moved around.
Hm since I only have one coordinator in the network, it should always be the same it should try to connect to. Also once it lost connection, moving it next to the coordinator does not bring it back. But it still talks to the coordinator and I can see received messages in the logs. So it has not really abandoned it, no? Sadly I don't know much about the zigbee protocols and handshakes needed :/.
I saw some guys also "hacked" it.
It was me as well...The MAC ack should be a communication issue on the Zigbee mesh. Either the device itself or interference corrupts the packages.
It was me as well...The MAC ack should be a communication issue on the Zigbee mesh. Either the device itself or interference corrupts the packages.
Huh, small world it is ;). IIRC the mac ack error only happened not that much, but 205 did. To understand better: how can it be, that the coordinator can receive messages from the keypad without an issue, but sending a response (panelState response as it seems?) results in 205 to the keypad?
But even if there is one or two corrupt messages, shouldn't it auto-recover if placed next to the coordinator (maybe 1-2 meters away) eventually? With a LQI of 176 or so.
Huh, small world it is ;). IIRC the mac ack error only happened not that much, but 205 did. To understand better: how can it be, that the coordinator can receive messages from the keypad without an issue, but sending a response (panelState response as it seems?) results in 205 to the keypad?
That is a good question, but it looks like a routing issue.
With battery powered devices routing is different.
You can try the following and check what is happening.
- Wake up the keypad
- Hit reconfigure in Z2M
- Important, make sure that the device will not go to sleep meanwhile doing the reconfigure.
Or to add a twist, before doing any of these, just try to restart Z2M first and then do the above.
@writepatrick, is your IKEA bulb running the latest firmware? If not, try to update it, and then pair the keypad through the bulb.
@GSzabados : thanks, I will try that! Should I do it as a pre-setup or only if it already went south to revive it?
Try to revive it that way. But I usually do a reconfigure with my battery powered devices when I pair them.
I'll try this also. I have connected the keypad back to its original hub and it seems we're all on the same firmware, no updates. 3.13 is the latest. I'm using latest firmware on sonoff 3+, but also had another CC2652 BLE Simplelink 2.4G device that wasn't working hence the switch to sonoff(everything else worked mind). I do have a few routers like plugs, switches etc but have put it 2 feet from Coordinator now, still stops working
@GSzabados „is your IKEA bulb running the latest firmware? If not, try to update it, and then pair the keypad through the bulb.“ I have created a network map in z2m and it is a mess, since most devices are bound to the coordinator even if they are far away. I tried to bind some sensors to the lightbulb because they are 1-2meters away, but I was not able to bind them to the tradfri bulb. Is there a special trick to bind to an router, other then just to enable binding to a specific router? I am on the latest ikea firmware.