HackerNews
Favorites
Projects
Topics
fodkodrasz
I think an USB controllable USB hub might be more handy.
riedel
There are already off the shelf hubs that support power control:
https://github.com/mvp/uhubctl