I've just setup this night vision camera with my RPI
https://thepihut.com/products/raspberry-pi-night-vision-camera
But I have an issue that whenever the raspberry PI is powered, so are the LEDs, this leads to them heating up when the camera is not actually in use (the PI is used for a home hub as well as camera)
While this heat may not matter much, I would feel better if I could control them, and only have them on when I want to use the camera.
Is there any software method for disabling power to the camera until I need to use it? Or any other software method around this?
If no, what would be the simplest hardware method for limiting camera to the power when I'm not using it? (I'm much better at software than hardware)
Thanks!