Hello, I installed FreedomBox on a Raspberry Pi 4 and activated Home Assistant. I was able to configure some ESP Home devices, which are working correctly. I plugged in a Sonoff Zigbee USB adapter. It’s recognized by FreedomBox but not by the Home Assistant container, so I can’t configure it. I tried launching additional containers with Podman, but they conflict with the Home Assistant FreedomBox container, which starts automatically. From here, I don’t know what to do. Have a good day.
Currently, there is a limitation with Home Assistant app that if new USB dongle is plugged in, you will need to enable/disable the app before the new hardware is picked up.
If this does not work, please let me know the device path for the USB dongle you have plugged in. This is usually, /dev/ttyUSB0 (or another number at the end). You confirm this by running:
ls /dev/ttyUSB*
Hello, I tried my USB drive on another Raspberry Pi with just Home Assistant. It was recognized and registered immediately, so the problem isn’t with my drive.
Here’s the response to the command I used:
gaston@freedombox:~$ sudo ls -l /dev/serial/by-id
lrwxrwxrwx 1 root root 13 Dec 14 14:52 usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_6453e27ceec2ef118e93edb08048b910-if00-port0 -> ../../ttyUSB0
gaston@freedombox:~$ sudo ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Dec 14 14:52 /dev/ttyUSB0
gaston@freedombox:~$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Dec 14 14:52 /dev/ttyUSB0
gaston@freedombox:~$ ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Dec 14 14:52 usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_6453e27ceec2ef118e93edb08048b910-if00-port0 -> ../../ttyUSB0
gaston@freedombox:~$
Have a good day and thank you for your work.
Please disable and re-enable the Home Assistant app in the FreedomBox interface after you plugin the USB dongle. That should fix this issue as the hardware will get exposed into the Home Assistant container. I have added this note to the documentation.
PS: I use a similar dongle. Works nicely.
Hello, I’m sorry, but I’ve disabled and re-enabled Home Assistant four or five times in the Freedombox interface, and then I completely reinstalled Freedombox and Home Assistant. I’ve disabled and re-enabled the Home Assistant interface in Freedombox again four or five times. My key is still not detected.
Hello, if I list my USB devices in the Freedombox console, my USB key appears.
gaston@freedombox:~$ ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Dec 17 10:46 /dev/ttyUSB0
But if I list the devices in the home-assistant-freedombox container, there’s nothing there.
gaston@freedombox:~$ sudo podman exec -it home-assistant-freedombox /bin/bash
[sudo] password for gaston:
freedombox:/config# ls -l /dev/ttyUSB*
ls: /dev/ttyUSB*: No such file or directory
freedombox:/config# ls -l /dev/ttyACM*
ls: /dev/ttyACM*: No such file or directory
Si je regarde comment le container a été lancé, j’ai un tableau vide
gaston@freedombox:~$ sudo podman inspect home-assistant-freedombox | grep -A5 Devices
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": 0,
gaston@freedombox:~$
How can I restart the container and include access to the devices?
Hello, this morning Home Assistant asked me to reload the interface and my Sonoff dongle was recognized. So I no longer have any problems. Have a good day.