Hey bro!! There are electronic and mechanical timers for sockets that control hygrometers and thermometers, check them out! Regarding the humidifier - many models have a built-in hygrometer and humidity control, so once the set humidity is reached, the device will stop working on its own, but will be ready to turn on as soon as the humidity goes out of the set range again! 👌 Good luck, bro! ✊😇