Whomever can help,
After using home assistant for a few years now, I thought I would begin the next chapter by adding some Zigbee devices to my setup. I consider myself a fairly competent person with technology but I am struggling getting things working at all let alone satisfactory. I thought I would start out small so my setup consists of the following two items…
Sonoff Zigbee 3.0 USB Dongle Plus Coordinator
IKEA TRADFRI remote control (5 Button)
I run Home Assistant Container for my system (core-2022.4.1)
After originally purchasing the hardware (core-2022.3), I managed to update my docker stack to recognize the /dev/ttyUSB0 device and successfully paired the TRADFRI device to the coordinator.
I then proceeded to install a blueprint to utilize the buttons in automations. I successfully created a few automations to handle some light dimming and on/off functions for some existing wifi light bulbs. This setup worked for a couple days then the TRADFRI device would no longer control the lights. I assumed the battery was dead in the TRADFRI and replaced it. This did not solve my problem. I have since attempted to remove, re-setup the co-ordinator, re-pair the TRADFRI and anything else I can think of but for the past several weeks I have not been able to get this to work again. Is there an issue with ZHA that could be causing this issue? Am I missing something fundamental in my approach? I am at a loss to get this TRADFRI device to control anything again. Any support would be very appreciated.
So after waiting for 2022.4.4, then 2022.4.5 with no success in trying to get my remote working with Home assistant I decided to complete the following steps.
Removed the ZHA integration
Removed the zigbee.db file in my homeassistant directory
Restarted my docker container
Reinstalled the ZHA integration
Re-Paired my 5 button remote
After all this the zha_event[s] in my developer tools now show up successfully.
The device is still not reporting battery level but at least the buttons appear to be working now.
Will see if it remains stable over the coming days.
So my so called solution worked for about 24 hours then stopped. Not sure why the zha_event is not firing now. Again. If anyone has ideas for making my zha more stable please advise.
Sorry I can’t help, although I just wanted to say you are not alone. It is now almost October 2022 at the time of this reply. I been having the same issue for months. My Zigbee system falls apart within hours, but then may reappear days later. So unreliable!
The verdict is still out, but I replaced all the batteries in my devices (3x Tradfri switches) and things have been pretty stable for the last 2 weeks on my system. My new standard practice is going to be to replace the batteries that Ikea ships with the devices before setting them up out of the box.