zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Telink/Tuya router devices join, interview successfully, then leave in a loop β€” other devices unaffected

Open seiferrtalle opened this issue 2 months ago β€’ 13 comments

What happened?

Mains-powered router devices with a Telink chipset (IEEE prefix a4c138) join, complete the interview successfully, and are dropped again after 20–35 seconds. This repeats indefinitely. Every join is logged as STANDARD_SECURITY_UNSECURED_JOIN with a new network address, so the device rejoins as if factory-new.

Affected β€” four devices, three vendors, two device classes:

Direct Signs DS-Z-001DE LED controller (two separate units) Gledopto GL-C-002P LED controller Nous A1Z smart plug (TS011F, _TZ3000_2putqrmw)

All 55 existing devices are unaffected: the bridge health report shows leave_count: 0 for every device except these.

The last device I paired successfully was an Aqara MCCGQ11LM (NXP, prefix 00158d), joined today via the exact same parent router (58321). It interviewed, configured and stayed, leave_count: 0. It reports as pre-21 Zigbee revision, so revision is not the differentiator.

Ruled out: range (reproduces at 50 cm from the coordinator), hardware defect (four devices, three vendors), ZHA (not installed), coordinator firmware (no update offered), stale state (full power-cycle plus Z2M restart), passlist/blocklist (not configured). No denied joining lines and no key/address table warnings in the log.

Network runs on Z2M defaults: channel 11, PAN ID 0x1A62, extended PAN ID DD:DD:DD:DD:DD:DD:DD:DD, TX power 5 dBm.

What did you expect to happen?

he device should stay on the network after a successful interview, like every other device does.

How to reproduce it (minimal and precise)

Put a Telink-based mains-powered router device into pairing mode, open permit join, wait for the interview to complete, then observe the log for the next minute.

Zigbee2MQTT version

2.14.2

Adapter firmware version

7.5.1

Adapter

EmberZNet, Connect ZBT-2

Setup

HA-Add-on

Device database.db entry

No response

Debug log

45df7312_zigbee2mqtt_2026-10-02T12-55-31.625Z.log

No response

Notes

No response

seiferrtalle avatar Oct 02 '26 12:10 seiferrtalle

Debug log attached. The affected device is 0xa4c138cd98a21cb3 (Nous A1Z, TS011F).

seiferrtalle avatar Oct 02 '26 12:10 seiferrtalle

I have this on https://www.zigbee2mqtt.io/devices/TS0044_2.html which has Telink chipset but is an end device (battery powered). Joins the ember co-ordinator, shows up, then 10 seconds later drops off the network. Tried a load of combinations and it never seems to remain connected.

I thought it was my instance acting up, so tried pairing an Ikea socket which was new, acted normally.

techie-dreamer avatar Oct 03 '26 15:10 techie-dreamer

I also spent hours trying in vain to integrate two different devices with a Telink/Tuya chipset into Z2M. Finally, I thought it might be my setup, so I integrated an Aqara door and window sensor that I still had lying around. And lo and beholdβ€”it worked without any problems. Only the devices with the above-mentioned chipset didn't. :-(

seiferrtalle avatar Oct 03 '26 17:10 seiferrtalle

Glad it's not just me, I've also spent hours trying to persuade Tuya TS0501B to join, it does for a few seconds then drops off again. I have a load of these working well already in the house, so I suspect it's a problem with the interview process or adding the device definition.

Guess what, the Tuya TS0501B has Telink TLSR8258 chipset

Config

  • Controller: smlight SLZB-06Mg24 / EmberZNet
  • Zigbee2MQTT version 2.14.2
  • Frontend version 2.15.0
  • zigbee-herdsman-converters version 26.115.1
  • zigbee-herdsman version 10.10.0
  • HA Core 2026.9.4
  • Supervisor 2026.09.3
  • Operating System 18.3

techie-dreamer avatar Oct 03 '26 18:10 techie-dreamer

Additional information: there are already four Telink-based devices (IEEE prefix a4c138) on this network, and they have been running without any problems for a long time. One of them is a mains-powered router.

Manufacturer Model (Z2M) Device type Power Role Firmware IEEE
Lonsonho ZB-RGBCW RGB+CCT LED controller Mains Router 2.0.1 0xa4c1383288477bf7
HOBEIAN ZG-204ZM mmWave/PIR presence sensor 2Γ— AAA End device 0122052017 0xa4c138237356615c
HOBEIAN ZG-204ZM mmWave/PIR presence sensor 2Γ— AAA End device 0122052017 0xa4c1381fc566f9d5
Adaprox TS0001_fingerbot_1 Fingerbot Plus CR2 End device – 0xa4c138ae4c4ea7d1

All four stay connected and report normally, with no leaves. The Lonsonho router currently reports LQI 204.

So the problem does not seem to be Telink devices on the network in general. It only occurs when new Telink router devices join. Devices that joined earlier are not affected.

Note: the Lonsonho ZB-RGBCW is identical to the eWeLight ZB-CL01, so it probably runs an eWeLight Zigbee stack rather than Tuya's. That may be relevant when comparing it with the affected devices.

seiferrtalle avatar Oct 04 '26 12:10 seiferrtalle

Additional information: there are already four Telink-based devices (IEEE prefix a4c138) on this network, and they have been running without any problems for a long time. One of them is a mains-powered router.

Manufacturer Model (Z2M) Device type Power Role Firmware IEEE Lonsonho ZB-RGBCW RGB+CCT LED controller Mains Router 2.0.1 0xa4c1383288477bf7 HOBEIAN ZG-204ZM mmWave/PIR presence sensor 2Γ— AAA End device 0122052017 0xa4c138237356615c HOBEIAN ZG-204ZM mmWave/PIR presence sensor 2Γ— AAA End device 0122052017 0xa4c1381fc566f9d5 Adaprox TS0001_fingerbot_1 Fingerbot Plus CR2 End device – 0xa4c138ae4c4ea7d1 All four stay connected and report normally, with no leaves. The Lonsonho router currently reports LQI 204.

So the problem does not seem to be Telink devices on the network in general. It only occurs when new Telink router devices join. Devices that joined earlier are not affected.

Note: the Lonsonho ZB-RGBCW is identical to the eWeLight ZB-CL01, so it probably runs an eWeLight Zigbee stack rather than Tuya's. That may be relevant when comparing it with the affected devices.

Yes, I have 22 devices on my network (joined ages ago) with IEEE prefix a4c138 who are performing normally.

Image

Adding new devices causes this issue:

  • https://www.zigbee2mqtt.io/devices/TS0044_2.html (note, this is an END devices as battery powered)
  • Tuya TS0501B (suspect this is a router as mains powered) so far, but given the prevelence of the chipset, I suspect this will be a widespread issue.

techie-dreamer avatar Oct 04 '26 13:10 techie-dreamer

Any ideas on a workaround for this? I'd assume this would effect a whole bunch of Telink-based devices

techie-dreamer avatar Oct 07 '26 20:10 techie-dreamer

Did anyone make progress on resolving this?

techie-dreamer avatar Oct 26 '26 09:10 techie-dreamer

Same symptom here on Z-Stack (CC2674P10, Z2M 2.14.3): join, then leaveInd ~20 s after the last join attempt, independent of the parent. Details in #33293, so it seems to affect both Ember and Z-Stack.

bembissss avatar Nov 12 '26 12:11 bembissss

Does anyone have any ideas or suggestions for solving this problem? πŸ€·β€β™‚οΈ

seiferrtalle avatar Nov 12 '26 19:11 seiferrtalle

I have an ember adapter not z-stack but solved it via EUI64 / Trust Center Link Key (TCLK) sync using ember-zli I've documented this at https://github.com/Koenkk/zigbee2mqtt/issues/33560#issuecomment-6561582450

I'm not sure it there is an equivilent for z-stack

techie-dreamer avatar Nov 12 '26 19:11 techie-dreamer

Thanks a lot for taking the time to document this – it helped me a great deal!

I had the same constellation: migrated from a Sonoff (Z-Stack) dongle to a ZBT-2 (ember) and kept the old IEEE address. Tuya/Telink devices joined, interviewed successfully and then left again, with the same TC_REQUESTER_VERIFY_KEY_TIMEOUT in the debug log.

ember-zli (6.1.0) β†’ Repairs β†’ "Check for EUI64 mismatch" did indeed find a mismatch between the Node EUI64 and the Trust Center EUI64 and fixed it. A second run reported "EUI64 match. No fix required", so I didn't need the extra "Write EUI64 NVM3 token" step. All existing devices came back without re-pairing.

Unfortunately I can't confirm yet that the affected devices now stay on the network – I've already sent the device back. πŸ˜‰ I'll report back once I get my hands on another one.

seiferrtalle avatar Nov 13 '26 13:11 seiferrtalle

Thanks for the Ember confirmation. On Z-Stack (Sonoff Dongle-PP10, fw 20250321, Z2M 2.14.3) I see the same symptom without any IEEE migration, so the EUI64 mismatch doesn’t explain it:

A brand-new network on the same dongle (new key/PAN, channel 20 and also 11, empty NV): GL-C-008P, two Girier TS011F plugs and a Sonoff ZBMINIL2 all join and stay. Restoring the original network (39 devices, 44 entries in the backup) from coordinator_backup.json after clearing NV: the problem returns, and new devices leave ~20 s after the last join, also with permit join on the coordinator only. This is not a coordinator IEEE migration: the network was created on this dongle from the start (no coordinator was ever replaced). So the EUI64/TCLK fix from ember-zli does not seem to apply here.

Is there a Z-Stack equivalent of that check, or a way to inspect the trust center link key table?

bembissss avatar Nov 13 '26 13:11 bembissss