Difficulty connecting zigbee devices

I’ve been using HasOS on an old raspberry pi 2 with a GoControl CECOMINOD016164 HUSBZB-1 USB Hub for zigbee, and perhaps someday z-wave. Everything was working great for the most part, and things “just worked” with a variety of devices from aquara, eWeLink, sengled, etc.

I recently decided to transfer my install over to a pi 4, to give myself room to grow and expand. I backed up my home assistant config, flashed the pi4 USB drive to a fresh install of HasOS, and booted things up. At the initial setup screen, I uploaded the backup from my pi2, and all my configuration seems to have been imported successfully.

Ever since I transitioned though, I’m having connectivity issues with all my zigbee devices, with many seeming to be unable to connect. If I look at the entities under my ZHA integration, 11/36 entities are down, corresponding to 5/14 devices.

I then manually removed all my zigbee devices and made sure they were powered off where applicable, and went to add a brand new cheap tekber smart plug. I already had one of these in my network with the pi2, so I know it should fundamentally work. Unfortunately both the old and the new ones refuse to pair, with nothing in the “show logs” section of the zha pairing screen. I need at least one of the plugs working as a powered node in order to get reception on all my devices, but while pairing I’m more or less right beside the pi4.

I’m at a bit of a loss for where to go from here. I’m not afraid of linux or command line things in general, so if I need to get my hands dirty to troubleshoot or diagnose what’s happening I’m more than happy to. Any advise would be much appreciated.

Can you try with the USB stick inserted in a usb2 port or with an extension cable? Some sticks have trouble with usb3.

2 Likes

I’ve ensured the usb stick is on one of the USB2 ports, and left it for a few days. No luck unfortunately, the zigbee devices are still coming and going in terms of availability.

Have you got an USB extension cable by any change? It’s interference of usb3. So it might be a distance thing. Mine is about a meter away from my Intel NUC to make sure it works.

1 Like

Thank you! It was indeed interference that was causing issues. I happened to have a wifi AP right beside my pi for some other testing, and it seems that was interfering with the stick.

Fyi:

See

https://github.com/home-assistant/home-assistant.io/pull/18864https://github.com/home-assistant/home-assistant.io/pull/18864/commits/b21c49589d898d60a1a235afa7b9c148d013cfee

and

https://www.home-assistant.io/integrations/zha#best-practices-for-avoiding-pairing-difficulties