Electrical – Making a light switch timer

arduinohome-automationswitchesswitching

I'd like to have a light switch that turns on for at most 1 hour. My idea is to put a USB charger (110AC -> 5DC) + arduino + relay inside the wall. When the switch is turned on, it will turn the arduino, which should be programmed to close the relay, sleep 1 hour, open the relay.

Then I'd need to turn off/on to restart the arduino or just optionally turn off in order to save power.

But I feel this solution is a bit overkill (and not too nice). Maybe a physical button that turns off (using a spring?) after a timer? I couldn't find it; or some other suggestion?

Oh, and it would be nice if the solution doesn't have a high probability of setting my house on fire.

Best Answer

Is this the type of switch you're looking for?

1800 Watt 7 Button Countdown Timer Switch Maximum 60 Minutes Delay https://www.maxximastyle.com/wall-timers-and-switches/7-button-timer-switch-turns-lights-off-automatically?gclid=CMunxuL1rcwCFcNehgod2FAHrw

Also, the more analog type:
FF Series Commercial Auto-Off Timer, SPDT (60 Minutes) http://www.supplyhouse.com/Intermatic-FF360M-FF-Series-Commercial-Auto-Off-Timer-SPDT-60-Minutes?gclid=CMDY3eb2rcwCFYsmhgodDXkK5Q

To use these you just replace it for the original wall switch.