All Zigbee Battery Devices Offline/Unavailable

Hi,

i have a problem where all zigbee devices on battery (eg. Ikea Zigbee button and Ikea Motion Sensors) become offline/unvailable over night.

when i go to bed everything works.
when i woke up all buttons and motion sensors on battery did not work.
Nothing happens when clicking on buttons, Nothing is shown in Logbook.

All constant powered zigbee devices (Routers) worked fine through companion app

I choose one Ikea button and clicked on reconfigure in app. Then clicked “turn on press” on ikea button.and then it connected again.
After this all other zigbee buttons and motion sensors also worked again.
Very strange.

This has happened 2 times now

Please help

/Tue

About my setup:
Have been using Smartthings for several years now, but was tired of things constantly stopped working.
so have now moved everything to HA the last couple of days. Have only been using HA for 1 week now.

I am running HA on Synology Docker
Connected all zignee devices to SkyConnect controller

I am still running SmartThings Controller because i still have about 20 Z-Wave devices. So using this as Z-Wave controller and have setup a Home Assistant to Smartthings Integration.

The first time the error happened i also had Smartthings connected, but i still had many zignee devices connected to smartthings, so i thought the error was maybe because the same zigbee devices was both in smartthings and HA at the same time.

But when it happened again today all zigbee devices was removed from smartthings. And i had also prior to this deleted smartthings integration and reconnected it again with no zignee devices present in SmartThings to be sure that there would be no double devices.

I am also running a Hue Bridge where all Hue devices are connected to.

1 Like

Welcome and congrats.

First question. How far are the battery devices from the nearest routing device. Also how far is the device from the coordinator.

Your typical coordinator stick isn’t quite as powerful as a smartthings v2 hub. If you left all your devices in place you may have signal issues on your first hop.

Also you don’t specify what your devices are. (especially the routers) some font play nice. Model number matters.

So what do you have?

Thanks for getting back.
The issue just happened again this evening.

Had just clicked an ikea button.
Few mintues later all battery devices are dead.

All my ikea buttons is:
TRADFRI on/off switch by IKEA of Sweden
zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn
Firmware: 0x22010631

My motion sensors:
TRADFRI motion sensor by IKEA of Sweden
zhaquirks.ikea.motionzha.IkeaTradfriMotionE1745_Var02
Firmware: 0x20022623

My skyconnect is really close to some routers and also some battery devices like an ikea button. I do not believe i have bad network as i can operate all hard powered devices through app when this happens.
Also it is not only one or 2 battery devices that stops working. It is all of them. So for me it sounds more like a software problem.

When i click reconfigure on 1 device. Then all devices works again.

My routers is a mix of ikea bulbs and outlets.
For example:
TRADFRI control outlet by IKEA of Sweden
No Quirk info
Firmware: 0x20024623

When problem happens I can for example control 1 outlet router via app.
According to network visualization one of the ikea battery button is connected directly to this outlet router that works and have a green connection. It is 1 meter away. So i do not believe it has bad connection.

1 Like

Have now enabled central logging, and found below.
i can see that many others have problems with this, but have not seen a solution to this problem

This is very bad as this error happens 1-2 times every day.
i can quickly get things running again by clicking reconfigure on 1 of my ikea buttons and then clicking on one of the physical buttons ont the device. then everything works again.
And as written above, i only need to do this on 1 EndDevice, then ALL EndDevices works again.

The odd thing is that it is all my routers the error is about in the log.
but i can control all my routers.
it is all my enddevices that stops working

i am strongly considering to move to Zigbee2MQTT instead, to see if the error is gone there

here is the logs:

2023-09-22 14:02:06.813 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x3650:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:06.851 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x8E75:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:06.899 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x3650:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:06.961 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x2443:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:06.976 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAB0B:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.163 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAB0B:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.298 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xABFB:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.315 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x2443:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.405 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x8E75:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.446 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x4313:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.531 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xFDA4:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.555 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAA3C:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.794 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xAA3C:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.908 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xFDA4:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:07.977 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xABFB:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:08.055 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x3650:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:08.114 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x5FAE:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:08.171 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xFDA4:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:08.258 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xD079:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:09.412 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xD079:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:11.236 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x4ECF:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-09-22 14:02:11.795 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x4ECF:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]

After reconfiguring an EndDevice i see this in log:
and then everything works again

2023-09-22 14:02:42.526 INFO (MainThread) [homeassistant.components.zha.core.group] [Default Lightlink Group](0x0000): group_member_added - endpoint: <EZSPEndpoint id=1 in=[basic:0x0000] out=[] status=<Status.ENDPOINT_INACTIVE: 3>>

Same problem here. Are there any solutions to this?

i have found the following in another thread.
if you disable “Enable enhanced brightness slider during light transition” in ZHA settings, then it does not loose connectivity when Home Assistant is running. i have not lost connectivity to zigbee battery devices in several days now. And i do not get the above in the log.

However, every time i reboot Home Assistant, the same problem occurs.
Then i have to reconfigure 1 Ikea button, and the all the rest is working again.

If you can live with this, then it is a working workaround as HA is not rebooted very often.

However, i think it is annoying so i am in the progress of moving to Zigbee2MQTT.
currently i have both ZHA and Z2M running at the same time to test, before i need to move and rejoin all devices to Z2M.
But so far Z2M keeps devices also after reboot.

i do not know if this problem is because of skyconnect or ZHA
i have on purpose bought a Sonoff ZBDongle-E Dongle instead to run on Z2M. I also like that the Sonoff have a big antenna.
i know it says that the “E” version of sonoff is still experimental on Z2M, but i could no longer get the “P” version. Until now it runs fine, but i have also only very few devices on Z2M

Any improvements with Zigbee2MQTT?

I had updated the settings in Z2MQTT settings>availability from 1500 down to 180 and suffered similar issues with sensors showing offline. Change it back and now they dont report as offline. Hope this helps