Open mtomzig opened 4 weeks ago
I have now reached a state where the USB stick does not crash, when a paired device is switched on using the power switch. I have performed the following steps:
What I am wondering now is: Could it be that the pairing of more than 20 devices has led to this problem? Or is there possibly another reason for this?
I would like to reconnect the seven lamps that are now not paired, but I would like to avoid running into the original problem again.
Can anyone give me their opinion on this?
Thanks and greetings.
The CC2531 is known to crash and is not recommended. Consider updating to one of the recommended adapters (https://www.zigbee2mqtt.io/guide/adapters/)
Thank you. I already thought so.
I would say that the SONOFF USB stick is quite good.
But there seem to be two versions of it:
If I understand correctly, the "P" version is the better one for Zigbee2MQTT, right?
Both are good, P has been supported for longer, but E also works great nowadays, doesnt really matter anymore
What happened?
When I switch on a lamp (no matter which) connected to the coordinator (connect it to the power supply), the software crashes because the usb dongle is not available anymore.
The software is set up as a service and is supposed to restart on its own - but that fails. The software can only be restarted if the USB dongle is disconnected from the Raspberry for a few seconds.
In the logfile (see attached file) i see a line with the following content:
error: zh:zstack:znp: Failed to determine if path is valid: 'Error: ENOENT: no such file or directory, lstat '/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED16DA-if00''
What did you expect to happen?
The software (or the USB dongle) should not crash when a lamp is connected to the power supply.
How to reproduce it (minimal and precise)
Zigbee2MQTT version
1.39.1
Adapter firmware version
20211115
Adapter
Texas_Instruments_TI_CC2531_USB_CDC
Setup
RaspberryPI via Git clone
Debug log
log.log