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
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?
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.