You can't flip a circuit breaker every night and every morning.
Firstly the school's safety code would not allow it. Secondly they are not designed for that. Thirdly, there are probably lots of things in a high school which need to be kept on overnight: computers, fridges, lab equipment.
Most circuit breakers that you’ll find on lighting circuits are designed for switching duty of modern lighting loads. Circuit breakers so designed will have an “SWD” printed in them (“switching duty”)
Circuit breakers are designed to be flipped thousands of times. You can most certainly flip a circuit breaker every night and every morning for years. It's tripping a breaker that you don't want to do very often.
Yes, but now you're redesigning a normal electricity setup for a large building like a school. This is the system that was, presumably, replaced by the broken IoT system, plus the absolute minimum of traditional kit outside of that.
Firstly the school's safety code would not allow it. Secondly they are not designed for that. Thirdly, there are probably lots of things in a high school which need to be kept on overnight: computers, fridges, lab equipment.