zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

CC2531 adapter stopped working

Open Eddy555 opened this issue 6 years ago • 19 comments

What happened

CC2531 adapter stopped working after running succesfully for several weeks. My alternative adapter also does not work. It's connected to 9 x Aqara temperature humidty sensors and has been working fine.

What did you expect to happen

Adapter should work It says the adapter cannot be found at the path, but I can find it using ls

How to reproduce it (minimal and precise)

Restart Zigbee2mqtt and the errors appear

Debug Info

Zigbee2mqtt version: 1.12.2 Adapter hardware: CC2531 (I have 2 and both do the same thing) Adapter firmware version: Koenkk Z-stack Home 1.2 Coordinator 20190608 on one adapter My alternative is running CC2531_DEFAULT_20190608

Log errors attached zigbee2mqtt errors.txt

Eddy555 avatar Apr 29 '20 07:04 Eddy555

Some configuration information might be useful. Log says that your configured serial port is not right.

dreimer1986 avatar Apr 29 '20 12:04 dreimer1986

Thanks, I've attached my config file. As I say it was working fine then one day I saw it stopped receiving data part way through the day and hasn't worked since and I can't figure out why. The config for adapter seems OK (unless I've overlooked something). zigbee2mqtt config.txt

Eddy555 avatar Apr 29 '20 12:04 Eddy555

  • What is the output of ls -l /dev/serial/by-id
  • Can you change
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE95916-if00

to

  port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE95916-if00

Koenkk avatar Apr 29 '20 19:04 Koenkk

total 0 crw-rw---- 1 root audio 166, 0 Apr 21 06:07 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E21E95-if00

To be sure I've copied this back into the config and still get the same error.

I've changed the config to as you suggested but it appears to revert back and add >- after saving. And the error still persists

BTW the addon is now updated to 1.13.0

Eddy555 avatar Apr 30 '20 06:04 Eddy555

No clue if the CC2531 sets up several serial ports as my shiny new CC1352P_2 does, but did you try to change the port to: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E21E95-if00

dreimer1986 avatar Apr 30 '20 07:04 dreimer1986

Thanks, I've tried your suggestion and it's still not working. :-(

Eddy555 avatar Apr 30 '20 07:04 Eddy555

Can you try reflashing the adapter?

Koenkk avatar Apr 30 '20 11:04 Koenkk

I'll give it a go and report back

Eddy555 avatar Apr 30 '20 11:04 Eddy555

Hmm, I reflashed my alternative adapter again with the same firmware CC2531_DEFAULT_20190608 and plugged it in. Restarted the zigbee2mqtt addon and it worked! So I plugged in the main adapter and that didn't work, but then I started getting issues with Hassio and I had to unplug the power to restart it. The main adapter still didn't work so I plugged in the alternative and that doesn't work either. I soft restarted Hassio with the alternative adapter and it still doesn't work. It also appears the light on the adapter is going out as well (it didn't do that before). I've reflashed the alternative again, plugged it in, restarted the addon and it's not working. I'm so confused.

Eddy555 avatar Apr 30 '20 13:04 Eddy555

same problems with CC2531 and aqara devices. I tested with many raspberry (rpi2 & rpi zero), with many adaptaters. Always the same problems with aqara. They stopped working after one or two hours.

spectreman51 avatar Apr 30 '20 19:04 spectreman51

It's not that the Aqara devices lose connection, it's that the CC2531 stops being found by the addon. It had worked solidly for serveral weeks and then the adapter can't be found (although it did briefly work yesterday again.)

Eddy555 avatar May 01 '20 07:05 Eddy555

Are you on a raspberry? If yes, have you tried another order supply?

z4rn0x avatar May 01 '20 12:05 z4rn0x

Yeah it's running on a Pi 3 B+. Do you mean use a different hardware to run Hassio?

Eddy555 avatar May 01 '20 12:05 Eddy555

Sorry, autocorrect, another power supply

z4rn0x avatar May 01 '20 13:05 z4rn0x

Ah right, that makes more sense (Damned autocorrect :-) ) I'll dig one out and try that.

Eddy555 avatar May 01 '20 13:05 Eddy555

I changed the power supply for 3A charger --> same issue. If I watch MQTT explorer, the topic zigbee2mqtt/device disappears

spectreman51 avatar May 02 '20 15:05 spectreman51

Is it worth trying a different hardware adapter? Is there another adpater people use?

Eddy555 avatar May 11 '20 09:05 Eddy555

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 11 '20 01:07 stale[bot]

I have similar issue, but it started after my friend ask me if I could try his adapter , because it stopped to work for him. It isn't work , but after i plug in my adapter and restart everything, it didn't work also. Zigbbe2mqtt doesn't contain any logs

Bobbik1 avatar Dec 31 '21 08:12 Bobbik1