Zigbee2mqtt on CC2531

zigbee2mqtt very unstable. Zigbee2mqtt log error in home-assistant supervisor.

Couldn't start Legacy TI_CC = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 157, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.8/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/application.py", line 110, in startup
    await self.form_network()
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/application.py", line 132, in form_network
    status = await start_znp(
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/start_znp.py", line 280, in start_znp
    await initialise(znp, version, options)
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/zigbee/start_znp.py", line 171, in initialise
    await znp.request(Subsystem.SYS, "osalNvWrite", Items.startupOption(0x02))
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py", line 117, in request
    return await self.request_raw(obj, waiter_id, expected_status)
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py", line 121, in request_raw
    return await self._request_raw(obj, waiter_id, expected_status)
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py", line 141, in _request_raw
    result = await waiter.wait()
  File "/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py", line 47, in wait
    return await asyncio.wait_for(self.future, self.timeout / 1000)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

Details on hardware, connection, operating system?

You say Zigbee2MQTT, but I see errors from zigpy in your log ? Zigpy = ZHA. Are you using Zigbee2MQTT or ZHA, or trying to use both at the same time ?

1 Like

That’s ZHA, not Zigbee2MQTT

1 Like

As far as I know, the CC2531 does not work with ZHA, so make sure to use z2m. You can install it via the addon: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#installation

1 Like

Thanks, everyone after delete ZigbeeHomeAutomation in integration. Zigbee2mqtt working fine now. I was installed zigbee2mqtt add-on and ZgbeeHomeAutomation :worried: