Zigbee Error help

I have an issue where my zigbee sensors (motion sensors from SmartThings and Lowes Iris) stop working after a few days and the only thing that brings them back is a power down / restart of the server I have running HA (simple restart won’t suffice). I have the HUSBZB-1 stick and have been using it since Jan. This issue has been going on for the past month or two.

when turning on debugging - here’s the error log I get:

2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Data frame: b'375cb5caf0d0e1bc59fb4725a1527e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Sending: b'8430fc7e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.ezsp] Application frame 98 (incomingSenderEui64Handler) received
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Data frame: b'475cb1ed502a15b259944a2dae5592ef1bf31b2812316c0e9ce57082fc1132a7ebcdff717e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Sending: b'8520dd7e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.ezsp] Application frame 69 (incomingMessageHandler) received
2018-08-12 14:09:42 DEBUG (MainThread) [zigpy.zdo] [0x833c:zdo] ZDO request 0x0000: [00:0d:6f:00:0b:13:23:61, 0, 0]
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.ezsp] Send command sendUnicast
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Sending: b'755d219c541696b25994ca25aa1593499c452ca5e6ce06a8eecd63e6f17d5e3fa7ebcd455b7e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Data frame: b'505da19c54199a357e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.uart] Sending: b'8610be7e'
2018-08-12 14:09:42 DEBUG (MainThread) [bellows.ezsp] Application frame 52 (sendUnicast) received
2018-08-12 14:09:47 DEBUG (MainThread) [bellows.uart] Data frame: b'605db197541696b25994ca25aa1593499c7d2ccded8bb47e'
2018-08-12 14:09:47 DEBUG (MainThread) [bellows.uart] Sending: b'87009f7e'
2018-08-12 14:09:47 DEBUG (MainThread) [bellows.ezsp] Application frame 63 (messageSentHandler) received
2018-08-12 14:09:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/bellows/zigbee/application.py", line 241, in request
    v = await send_fut
zigpy.exceptions.DeliveryError: Message send failure: EmberStatus.DELIVERY_FAILED

This just repeats every few seconds… can anyone help decipher what’s going on here?

Did you find out anything with regard to this issue? I have been having the same problem.

If I revert back to 7.3 zigbee seems stable(ish) but have other issues non-zigbee related.

Nope. and 10 chars

Hey Steve,

I think I solved this issue on my box.
I was getting a ton of “out of sync” errors in my logs shortly before ZHA would take a dump.
On the suggestion from another user I disabled Discovery in my configuration.yaml and restarted HASS.
Just go in and hash out the “discovery:” line in the config is all you should need.

Not only have my Zigbee devices stayed connected, but my automations seem to be running a hell of a lot faster as well, and my log file is finally pretty stable.

Let me know if this helps your case.

Thanks for the suggestion, @Bill_Surowiecki! Unfortunately, I have had discovery disabled for a long time on my system…

Well oh well, have you come across anything else?

Im still seeing some oddities with Zigbee, though not near as much. It might last for 2 days now instead of a few hours. And all of a sudden my HASSIO install fails to reboot and is running like crap.

Im really considering moving all of my Zwave/Zigbee connections over to VERA or some other local hub.
This issue has been going on for too long. Just trying to figure out if its a cheaper/better route to buy an all in one hub to handle the zigbee devices, or replace my zigbee motion sensors with zwave and get a hue bridge to control my OSRAM lights.

Small update.
I said screw it with HASSIO and the RasPi.
I moved my install back to my UnRaid server running Home-Assistant in a Docker.
It always ran much more smoothly this way than the Pi ever could, especially the UI.
After moving all of my settings over to the new install and getting the docker to recognize my HUSBZB-1, I continued to have issues with Zigbee.

So I ended up blowing away my zigbee.db and re-adding all of the devices.
I left home-assistant/.storage/core.entity_registry as it was, so at least I didnt need to rename all of the entities after adding them back. So far so good, at 24 hours.

Im still getting the following, but only once at startup.

“Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/bellows/zigbee/application.py”, line 241, in request
v = await send_fut
zigpy.exceptions.DeliveryError: Message send failure: EmberStatus.DELIVERY_FAILED
2018-09-10 01:09:39 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting”

Ill update again if the issue returns.