There are multiple reasons to switch off your WiFi router at night - from lowering the risk to affect your health or cause insomnia to save planet's energy resources. Most routers do not have this feature, so you will have to do it manually. However, if you own a MikroTik RouterBOARD one, you can easily do it. Moreover, you can even make this automated!
Another alternative is to lower WiFi output power to minimal values. I usually run my router with 100mW output during the working hours, and 8 mW at night. Fortunately, Mikrotik RouterOS also allows to change this setting from scripts, so you can program your own power scheme.
MikroTik RB951G-2HnD is a wireless SOHO Gigabit AP/Router featuring five Gigabit Ethernet ports, one USB 2.0 port and a high power 2.4GHz 1000mW 802.11b/g/n wireless module with built-in antennas.
It's a robust and reliable device, however, it may be bricked if it was uploaded with incorrect firmware.
In this article I'm going to show how to recover it. The information here is applicable to RB951G-2HnD, but may be useful for other models as well.