You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to reset three Tradfri lights on the same chandelier. When I do this, Z2M crashes.
[2024-05-10 21:52:36] warning: z2m: Device '0x980c33fffef167d8' left the network
Error: DatabaseEntry with ID '19' already exists
at Database.insert (/app/node_modules/zigbee-herdsman/src/controller/database.ts:38:19)
at Device.undelete (/app/node_modules/zigbee-herdsman/src/controller/model/device.ts:439:25)
at Controller.onDeviceJoined (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:573:20)
[21:52:56] INFO: Preparing to start...
[21:52:57] INFO: Socat not enabled
[21:53:02] INFO: Starting Zigbee2MQTT...
What happened?
I'm trying to reset three Tradfri lights on the same chandelier. When I do this, Z2M crashes.
What did you expect to happen?
Three lights to get paired, Z2M not to crash
How to reproduce it (minimal and precise)
This triggers an
undelete
which does not seem to be concurrency safe.Zigbee2MQTT version
1.37.1
Adapter firmware version
221226
Adapter
SONOFF Zigbee 3.0 USB Dongle Plus TI CC2652P + CP2102(N)
Setup
Add-on on HAOS on x86-64
Debug log
Before the crash
After the crash
The text was updated successfully, but these errors were encountered: