Skip to content
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

Devices lose connections / Device removal not comprehensive #5365

Closed
2chilled opened this issue Oct 12, 2021 · 3 comments
Closed

Devices lose connections / Device removal not comprehensive #5365

2chilled opened this issue Oct 12, 2021 · 3 comments

Comments

@2chilled
Copy link

Describe the bug

The bug is in the context of pairing 3 qs-zigbee-c01 devices. On the surface of the problem space all three devices loose their connection, resulting in lost commands. Most of the time the devices still send status info to Conbee 2, but all commands to the devices are getting lost.

Steps to reproduce the behavior

Diving deeper, there are even more symptoms. I removed all three devices, reset one after another, and repaired them using Phoscon. What happened is one of the devices, after being removed, rejoined again using the old name it used to have before the removal. So that seems like kind of a failed delete out of database. In the notes printed below, this device is named "Rolladen Schlafzimmer Ost OG 2". The same happened later to "Rolladen Schlafzimmer Sued OG 2". For the rest of my repairing adventure please read my notes below. The end result was, out of a sudden, lots of connection simply got dropped, resulting in no connections for the 3 problem devices, but also lost connections for other devices.

17:13: Rolladen Schlafzimmer Ost OG 2 joined using OLD name!
17:27: Rolladen Kleiderschrank Ost OG 2
17:29: Rolladen Schlafzimmer Sued OG 2 joined using OLD name!
17:33: Remove Rolladen Kleiderschrank Ost OG 2 because manufacturer, model identifier not set and there are no
connections
17:35: 0xD7BF joins.
17:37: Renamed 0xD7BF to Rolladen Kleiderschrank Ost OG 2
17:37: Set and unset CRE Routers and end devices
17:40: Remove Rolladen Kleiderschrank Ost OG 2 because manufacturer, model identifier not set and there are no
17:40: 0xD7BF back there after searching for light but without resetting the device
17:43: Out of a sudden, lots of connections get simply dropped

This behaviour is perfectly reproducable. Normally I'm running deconz headless, so the attached logs describe the process from starting deconz GUI until the final state, where all connections of all 3 devices have been dropped (and bunch of connection drops for other, seemingly unrelated devices).

Expected behavior

The three devices should maintain good connections to the routers nearby, and a deleted device should really be deleted...

Screenshots

Screenshots and logs: https://e.pcloud.link/publink/show?code=kZIrT5Za7CsJN77F6p1G9d7Kqf4YyDs139V

Environment

  • Host system: Raspberry Pi
  • Running method: Raspbian
  • Firmware version: 26660700
  • deCONZ version: 2.12.06 / 8/19/2021
  • Device: ConBee II
  • Do you use an USB extension cable: yes
  • Is there any other USB or serial devices connected to the host system? Yes, a cistern sensor, but this is very unlikely to be relevant

deCONZ Logs

https://e.pcloud.link/publink/show?code=kZIrT5Za7CsJN77F6p1G9d7Kqf4YyDs139V

Additional context

55 end-devices, > 50 of them being routers
Brands:
"dresden elektronik",
"LEDVANCE",
"icasa",
"3A Smart Home DE",
"_TYZB01_qezuin6k",
"_TZ3000_fccpjz5z",
"_TZ3000_vd43bbfq",
"_TYZB01_qezuin6k",
"IKEA of Sweden",

Also note, that the qs-zigbee-c01 devices which have connection to Conbee 2 work fine. The three problem devices have NO coordinator connection, so they have to rely on routers around them. And there are a bunch of routers around them, including Ikea repeater. All my other devices work pretty fine, even after that last big connection drop.

@Smanar
Copy link
Collaborator

Smanar commented Oct 12, 2021

Almost the same issue here #3939 (comment)
Tuya device, works with direct connexion with coordinator but disconnect with router.

@Mimiix
Copy link
Collaborator

Mimiix commented Oct 12, 2021

Hi there,

As this is not a bug report as described in #5113, I am closing this issue.

Please use the forum.

Kind regards

@Mimiix Mimiix closed this as completed Oct 12, 2021
@2chilled
Copy link
Author

No idea what you mean exactly, but sure, I can repost in the forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants