"Zigbee home automation" installation not working on Yellow

Fresh installation of Home Assistant Yellow, the Zigbee home automation ends up with error

Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Log viewer shows:

File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 188, in async_step_choose_serial_port
    ports = await list_serial_ports(self.hass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: coroutine raised StopIteration

Any idea why is onboard Zigbee radio not working right out-of-the box?

image

Screenshot from Add integration/Zigbee Home Automation
image

Not sure why there is suddenly a ton of these exact threads happening. I guess maybe something must’ve broken in the ZHA setup flow in HASS 2025.1?

One thing to try is installing an older version of HASS, at least 2024.12 or perhaps something even older, and see if you can complete the setup flow. If you are successful then try upgrading to the latest version.

Could it be that your USB Coordinator USB dongle is too close to your system? I ran into that when I upgraded from an SD card to an external HD to run HA on. Once I tethered the USB Coordinator (CONBEEII Stick) away from my system interference such as lag and drop-out disappeared. I have ZHA running on a Pi 4 with an external HA and a USB Coordinator, both tethered away from the system. I’m running:

Core: 2025.1.2
Supervisor: 2024.12.3
OS: 14.1
Frontend: 20250100.0

For Zig-Bee devices I’m am using Zig-Bee Home Automation (ZHA) with a Conbee II stick which works very well with my IKEA Tradfri bulbs (E26) and Zig-Bee wall plugs. Hope some of that helps and let us know if you find a solution.

Thanks Mayhem_SWE, I will try to install older version if possible.

@ Khamrun This is built-in onboard radio, not an USB stick.

Oh, O.K… I wasn’t sure of what an "On-Board, Radio was or what it was for. I thought it was maybe a Zig-Bee USB Coordinator which you may have been having some difficulties with. I did look up what an “On-Board” Radio was and I’m just not all that familiar with it. There looks to be, by my searches, quite a few people having difficulties with integrating it. I hope you find a solution to the problem. It’s kinda like a puzzle, one piece at a time. When I did do a search I came upon this:

Thank you for your response and please do let us know should you find a solution. All the best.

Tried update OS to 14.0, same error. Then tried to the latest [14.2.rc1] available, same error while adding Zigbee integration.

Seems, currently, ZHA is not working with a 8Gb CM5 module on HA Yellow w/ PoE.
Link

HAOS is just a customized distribution of the Linux operating system though. What you need to try an earlier version of is the application layer, Home Assistant Core, of which ZHA is a part. Try downgrading HA Core through the command line: