Here is a simple idea for a power off timer. Take a clock set it to 12:00(clock with hands the runs on batteries). Plug in a wallwort type power supply. Take a relay and have it connected to the power supply and have batteries in the clock but when the power goes out it closes the contacts for the relay and the clock runs until the power comes back on again. Would this idea work?? I was bored and thought of it one day and want to try it.