Hello all,
I would love to be able to switch the USB-Hub of my Raspberry Pi (3b) off and on. There are several ways as discribed e.g. here.
The best way for me would be to use the method that disables the usb-hub along side ethernet, as normally I do not use both. This way I could save energy but still be able to occasionally power up a usb device connected (e.g. some ESP-sensor or -camera). The command would be like this:
sudo echo '1-1'|sudo tee /sys/bus/usb/drivers/usb/unbind
sudo echo '1-1'|sudo tee /sys/bus/usb/drivers/usb/bind
As I am running Home Assistant OS I do not know how to achieve this. As I understand it, I would have to get access to the underlying OS from the HA containter. Unfortunately I was not able to find a way how to do this.
I hope someone can give me some advice or point me to the right ressources to get a better understanding of the barriers that exist in the HA OS environment.
1 post - 1 participant