New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xiaomi Switch QBKG03LM - Failed to ping #1454
Comments
Are you also unable to turn it on/off? What error is logged in that case? |
@Koenkk, yes, I'm unable to turn it on or off. See the logs:
I've just removed this wall switch with the idea of repairing it with zigbee2mqtt but I'm having trouble with full removal of the device from Home Assistant (hass.io). |
It doesn't have to be removed from home assisant, can you try re-pairing it? |
After re-pairing (at least trying to) I have an error:
EDIT: I don't have this Xiaomi Wall Switch name nor friendly name in database.db (#837 (comment)) |
Can you restart zigbee2mqtt and retry pairing? |
Hello, I am having a similar "failed to ping" error after (say) 24-48h of no use.
|
As far as I remember, I have restarted zigbee2mqtt and whole hass.io instance before trying to re-pair. During the weekend will try to do that again. |
I also experienced this issue with the same switch. I added a home assistant automation that calls zigbee2mqtt/<device_id>/get every 15 minutes - since then I haven't had any issues. Other things were changed at around the same time, so this may not have been the thing that fixed it. |
For those still having this issue, can you check if this has been fixed with the latest dev firmware? https://github.com/Koenkk/Z-Stack-firmware/tree/dev/coordinator/Z-Stack_Home_1.2/bin |
Please test with the latest dev branch, things should have been improved (#943 (comment)). If you have any issues, please report there. |
Unfortunately still receiving an error:
EDIT:
back to the database.db I can overcome the issue "Cannot get the Node Descriptor of the Device" but still can see in the logs:
|
After the removal, can you restart zigbee2mqtt and make sure to pair the switch close to the coordinator? |
I'm still receiving the "Failed to ping" error: https://pastebin.com/raw/cs3rztEM.
Today I'll mount two new Xiaomi Wall Switches (QBKG03LM) next to the coordinator and see if any issue will appear. |
I successfully paired different Xiaomi Wall Switch (QBKG03LM): https://pastebin.com/raw/qMmdEANn but was still receiving "Failed to ping" on old switch. --- (later that day) --- I have connected old Xiaomi wall switch closer to the coordinator, removed it from zigbee2mqtt (using mqtt message), paired it again, disconnected it physically from the wall, moved to the old place and now it's working... Thanks, |
Not so fast, sadly mine is still showing ping errors... And it is
permanently set up about 2m from the coordinator...
…On Sun, 28 Apr 2019, 15:54 VivantSenior, ***@***.***> wrote:
I successfully paired different Xiaomi Wall Switch (QBKG03LM):
https://pastebin.com/raw/qMmdEANn but was still receiving "Failed to
ping" on old switch.
--- (later that day) ---
I have connected old Xiaomi wall switch closer to the coordinator, removed
it from zigbee2mqtt (using mqtt message), paired it again, disconnected it
physically from the wall, moved to the old place and now it's working...
Will close the issue.
Thanks,
Viv
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1454 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHW4H356TPJCKADMEMOS3QTPSW3DZANCNFSM4HHLRJQQ>
.
|
Weird, over the night I had few "Failed to ping" on all Xiaomi Wall Switches (near and far from the coordinator). When I turn on debug log level, shepard debug set to true and restart zigbee2mqtt I can't see any "Failed to ping", just "Successfully pinged". I will monitor the logs... |
No "Failed to ping" over the night. But I have found weird bug. When I connect the load only on one of the button (second button had connected cables to it but on the other end of the cable there was nothing) the light connected to first button started to flickers for a split of the second even when I didn't turn it on or off. It repeated every minute or two. EDIT: After connecting some load to the second line flickers stops. |
That is interesting because in both of the switches, I only have one line
connected (L2 I think but would have to check) - could it be that the
switch needs L1 connected to draw power (or even both)?
What's your setup (if I recall, you have several)?
…On Tue, 30 Apr 2019, 08:36 VivantSenior, ***@***.***> wrote:
No "Failed to ping" over the night. But I have found weird bug. When I
connect the load only on one of the button (second button had connected
cables to it but on the other end of the cable there was nothing) the light
connected to first button started to flickers for a split of the second
even when I didn't turn it on or off. It repeated every minute or two.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1454 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHW4H35XDB2H5BCMRWELYBTPS7SB3ANCNFSM4HHLRJQQ>
.
|
Yeah, I have three of them. Two of them are in the same room. I have all lines connected but on line didn't had the load on it. After attaching simple bulb flickering stopped. My idea was that maybe response on a ping from HA caused the flickering (drawing power). I don't know if this is more of a switch firmware issue than zigbee2mqtt... |
@VivantSenior it seems to be a hardware design issue: #943 (comment) #943 (comment) |
@Koenkk, https://pastebin.com/raw/Ji72Rkfp. Do you need debug info? |
Could you sniff the zigbee traffic when failed to ping happens? (http://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html) |
I'm a bit confused right now... I have restarted Zigbee2Mqtt HA addon several times (to allow join few new battery devices). I will monitor the logs for the "Failed to ping" error. Weird part is that despite the error I was able turn on/off switches remotely. |
Bug Report
What happened
Hello,
I'm unable to use Xiaomi Wired Wall Switch (version without neutral line) - QBKG03LM. After successful pairing I can see in the logs:
Detailed logs: https://pastebin.com/raw/cfYU0rXj.
@Koenkk created similar issue there: #943 but not the same.
Thank you for any advice,
Vivant
What did you expect to happen
Xiaomi Switch should show its current state in Home Assistant and respond on requested state change.
How to reproduce it (minimal and precise)
Pair Xiaomi Wired Wall Switch (QBKG03LM) device.
Debug Info
zigbee2mqtt version: 1.3.1
CC2531 firmware version: 20190223 (default)
Hass.io version: 0.91.4
Hass.io supervisor: 160
The text was updated successfully, but these errors were encountered: