There's an app called Sweet Dreams
that turn Wi-Fi/Bluetooth/Ringer/ on or off based on some things like current day, hour of the day, location, sound in the room, movement of the handset.
It's more focused on saving battery and turning sound down when you sleep but works perfectly for what you need.
There's also something like Locale
----- Google Galaxy Nexus GSM -----
Bootloader: From JOP40C Radio: XXLH1 Recovery: CWM 188.8.131.52 Kernel: CM10.1 ROM: CM10.1 Nightly
--------- Google Nexus 7 16GB --------
Bootloader: 4.13 Recovery: CWM 184.108.40.206 Kernel: Stock ROM: Rooted Stock JOP40C