I want to make an irrigation system (more like a mist-sprayer) for a little terrarium I have, and I'm planning everything I'll need.
So I've found a little usb water pump.
As this would be automated with a humidity sensor, I need to be able to turn on/off the water pump.
I've seen online that usb ports can be powered off/on the rpi 3b+ using https://github.com/mvp/uhubctl
But I want to make sure and ask you guys. Thanks