I want to build a circuit for my home. The setup is as follows: I've got a circuit in my house, I can turn my lights on and off with switches from different positions. I'd like to have them switched off automatically after, say, five minutes, in case I forget them on, just like it works with staircase lamps.
It seems quite challenging to me, especially if I only limit myself to mechanical spring switches, step by step relays and timers (delay relays). Could such a circuit be possible to realize only with analogic components? Am I forced to use digital electronics?
Edit: clarification: at any given time, I want to be able to switch the lights on and off arbitrarily, just as I would do with my living room lights, except that I want them to turn off automatically after a given interval of time.