Help with zigpy/ZHA error

Hello,

I have ZHA configured with about 4 zigbee devices… for the past day, I’ve been getting this error about every 10 min in my log. Is there any way to figure out which device is causing this? All the my zigbee devices are functioning properly, so I’m not sure what’s happening.

2018-03-05 20:26:08 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 182, in _step
    result = coro.throw(exc)
  File "/usr/local/lib/python3.6/site-packages/bellows/zigbee/application.py", line 248, in request
    v = yield from send_fut
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 327, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
    raise self._exception
zigpy.exceptions.DeliveryError: Message send failure: EmberStatus.DELIVERY_FAILED

Sorry if this is a noob question…

It’s not a great error as it doesn’t give you the device or ieee id. If you restart HA, and don’t issue any commands to your devices does the error still occur? What are your zigbee devices?

just submit a bug report for it, but its not hurting anything at all so it doenst bug me.

Yes it does it immediately upon restarting HA. My device are:

  • Centralite 3305 Motion Sensor (reports motion and temp)
  • Centralite 3300 Open/Closed Sensor (reports open/closed and temp)
  • Iris Gen 2 motion sensor (reports motion and temp)
  • GE Link Bulb (can’t remember the model number) (dimmable LED bulb)

They all appear to be working correctly. Just getting that error in the log every 10 min

If everything is working correctly, it’s probably a bug somewhere in bellows, zigpy, or zha – Perhaps a message going to the wrong cluster.

The only way I could think to find it would be to backup your zigbee.db, remove one device at a time from the database, restart HA and then see if the error continues. Once you have the right device, you could turn on full debugging and submit an issue at zigpy/bellows on GitHub.