emergency lighting project

when the lights go out and you need to switch on emergency lighting, you can program this using a photoresistor.