I’ve purchased an Odroid N2+, as recommended on the home assistant website. I’ve decided to also buy the WiFi module from hardkernel, which seemed to be the recommended fit for the odroid N2+. It uses the Realtek RTL8821CU chip. However, this dongle is not recognized by the Home Assistant OS. What I tried :
plugging the dongle into an USB port ; 2 events are recorded :
using the following commands in the CLI on home assistant : login nmcli radio
, which informed me that WIFI-HW is ENABLED, WIFI is ENABLED, WWAN-HW is ENABLED, WWAN is ENABLED nmcli device wifi rescan
, which told me the following : Error : No Wi-Fi device found. nmcli device wifi
, which told me nothing.
Does anyone have an idea on how to get this dongle to work ?
Thanks in advance
It seems to me that the kernel drivers are not installed, so the radio can’t be used. Home Assistant OS is also a super minimal distribution without a package manager (like apt) or a toolchain on it, so we can’t install or compile the kernel module on the device as well.
Switch to Home Assistant Supervised:
following these instructions. By installing Debian or Ubuntu as a base, it should be relatively straightforward to get the driver via apt. The downside is that now all the hardware configuration and supervisor setup is on you.
I think I’m going to investigate #1 right now, it’s more effort now but with some luck it doesn’t mean maintaining my local OS for the rest of my life
So the first piece of the puzzle is here:
when the dongle is connected, it first shows up as a CD-ROM with the (windows) driver on it. By running usb_modeswitch -KW -v 0bda -p 1a2b it can be put into operating mode and then immediately starts working as a bluetooth dongle on Home Assitant OS, but WIFI still doesn’t work.
EDIT: I managed to build and install the driver in a custom hassos image, a PR can be found here:
There appears to be a bug in the buildroot usb_modeswitch package that prevents it from functioning as expected (it should do the modeswitch automatically). I’ll try to bring that up upstream as well.
I’m trying to use the Odroid 5BK wifi/bluetooth module on a Home Assistant Blue but it seems to be not recognised.
I see this in Supervisor log when I connect the dongle: