Koenkk / Koenkk/zigbee2mqtt

[GL-B-002P / GLEDOPTO] lights constantly leave the network and reconnect

Open
#33,167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

D: Die Lampen verlassen ständig das Netzwerk und werden neu verbunden wenn "Beitritt erlauben" aktiviert ist.

E: The lights constantly leave the network and reconnect when "permit_join" is enabled.

`[19.9.2026, 18:21:12] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:21:15] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:21:15] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:21:18] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:21:18] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:21:23] z2m: Failed to read state of 'Esstisch5' after reconnect (ZCL command 0xa4c138c004a38487/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '2965'.))

[19.9.2026, 18:21:29] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:21:29] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:21:40] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:21:40] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:21:50] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:21:50] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:00] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:22:00] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:11] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:22:11] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:16] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:22:19] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:22:19] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:31] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:22:31] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:41] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:22:41] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:22:44] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:23:06] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:23:06] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:23:15] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:23:37] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:23:37] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:23:45] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:24:07] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:24:07] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:24:12] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:24:12] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:24:16] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:24:30] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:24:30] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:24:42] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:24:42] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:24:42] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:24:42] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:24:46] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))

[19.9.2026, 18:24:58] z2m: Failed to read state of 'Esstisch5' after reconnect (ZCL command 0xa4c138c004a38487/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '2965'.))

[19.9.2026, 18:25:04] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c13803b90e60a3 from endpoint 1.

[19.9.2026, 18:25:04] z2m: Failed to read state of 'Esstisch3' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:25:10] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138cb25d224e4 from endpoint 1.

[19.9.2026, 18:25:10] z2m: Failed to read state of '0xa4c138cb25d224e4' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:25:11] zh:controller:endpoint: Tried to get unknown/deleted device 0xa4c138d7ed86d206 from endpoint 1.

[19.9.2026, 18:25:11] z2m: Failed to read state of 'Esstisch2' after reconnect (Cannot read properties of undefined (reading 'manufacturerID'))

[19.9.2026, 18:25:11] z2m: Failed to read state of 'Esstisch1' after reconnect (ZCL command 0xa4c1388c30b06ce5/1 lightingColorCtrl.read(["colorMode","colorTemperature"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Delivery failed for '8247'.))`

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.14.1 (unknown)

Adapter firmware version

{"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170}

Adapter

EmberZNet

Setup

os: #1 SMP PREEMPT_DYNAMIC Fri Sep 18 08:21:07 UTC 2026 - 6.18.52-haos - x64
node: v24.18.1
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: GL-B-002P - Gledopto (v0.0.0)
software_build_id: 10051203
date_code: 20210712
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","lightingColorCtrl","touchlink"],"output":["genOta"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Health

time: Sat Sep 19 2026 18:27:08 GMT+0200 (Mitteleuropäische Sommerzeit)
os.load_average: 0.3, 0.41, 0.43
os.memory_percent: 29.3634
process.memory_percent: 1.7191
process.uptime_sec: 1805

{"leave_count":5,"messages":93,"messages_per_sec":0.0713,"network_address_changes":0}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the GL-B-002P device definition and trace the reconnect and state-read paths associated with permit_join, using the reported manufacturerID, unknown/deleted device, and delivery-failed messages. Reproduce the behavior with permit_join enabled; done means the lights remain joined and their state reads complete without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.