zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Zigbee2mqtt stops responding randomly on CC26X2R1 stick

Open cvhoang opened this issue 6 years ago • 9 comments

Bug Report

Zigbee2mqtt randomly stops every few days. Log file shows SRSP - AF - dataRequest after 6000ms error message. The only way to get it working again is pressing the reset button new USB adapter and restart Z2M container.

What did you expect to happen

No random crashes.

How to reproduce it (minimal and precise)

Runs Z2M on CC26X2R1 with a large number of devices (~100) for a period of time.

Debug Info

Zigbee2mqtt version: 1.14.1 Adapter hardware: CC26X2R1 Adapter firmware version: 20200417

More information

I'm currently running Z2M in Docker on Intel NUC with around 90 devices.

My devices are mostly Hue lights, sensors, Samsung Smart Plugs and Xiaomi sensors. I previously ran Conbee II stick. It was really stable but I migrated because I think Z2M is the future.

configuration.yaml:

serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L11008CR-if00

docker-compose.yaml:

  zigbee2mqtt:
    container_name: z2m
    volumes:
      - /opt/docker/zigbee2mqtt:/app/data
      - /opt/zigbee2mqtt/zigbee-herdsman-converters:/app/node_modules/zigbee-herdsman-converters
      - /opt/zigbee2mqtt/homeassistant.js:/app/lib/extension/homeassistant.js
    devices:
      - /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.13__Embed_with_CMSIS-DAP_L11008CR-if00
    environment:
      - TZ
    image: koenkk/zigbee2mqtt
    restart: always

cvhoang avatar Aug 08 '20 06:08 cvhoang

Can you check with the new firmware? 20200805: https://github.com/Koenkk/Z-Stack-firmware/tree/develop/coordinator/Z-Stack_3.x.0/bin

Koenkk avatar Aug 08 '20 14:08 Koenkk

Thanks @Koenkk. Will try the new firmware soon. I'll keep you updated.

cvhoang avatar Aug 09 '20 23:08 cvhoang

Unfortunately after a few days running the latest version of the firmware, Z2M just crashed. @Koenkk do you think that buying a different stick (zzh one for example) would help? Thanks.

cvhoang avatar Aug 23 '20 22:08 cvhoang

I'm not sure, note that the Conbee II is also supported by Zigbee2MQTT.

Can you catch a herdsman debug log of the crash?

To enable herdsman debug logging, see https://www.zigbee2mqtt.io/information/debug.html#zigbee-herdsman-debug-logging

Koenkk avatar Aug 24 '20 20:08 Koenkk

Thank you. I assume switching from TI board to Conbee II doesn't require repairing all the devices? It's a dreadful task with 100s of devices and automations.

cvhoang avatar Aug 24 '20 22:08 cvhoang

@cvhoang officially it does, but I heard users reporting that just plugging the conbee and starting works (but it can result in some values not being reported).

Koenkk avatar Aug 25 '20 16:08 Koenkk

Thanks @Koenkk. I can confirm that devices gradually connect to Conbee stick. However I repaired them anyway to prevent any issues. I'll update this thread so that we know that if there are indeed issues with TI board.

cvhoang avatar Aug 25 '20 23:08 cvhoang

@Koenkk I've been running Conbee II stick for the last ten days or so and there have been no crashes. Since the list of devices are the same, it's reasonable to conclude that TI board firmware has issues dealing with a large number of nodes. Unfortunately I didn't capture Herdsman log before switching to Conbee. Hopefully someone will be able to do it in the future. For now I hope Conbee II integration improves as it seems to be a more stable option for large deployment.

cvhoang avatar Sep 05 '20 04:09 cvhoang

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Oct 06 '20 00:10 github-actions[bot]