How can i implement this mini project?

my idea of the project is... when a person enters the room, the lights switch on automatically sensing the luminous intensity(i.e. during late evenings or nights) and the fan turns on sensing the temperature of the room(i.e. if it is too hot, the fan speed is greater than during cold days). please help me with the... show more my idea of the project is... when a person enters the room, the lights switch on automatically sensing the luminous intensity(i.e. during late evenings or nights) and the fan turns on sensing the temperature of the room(i.e. if it is too hot, the fan speed is greater than during cold days). please help me with the circuit and the needy details.
3 answers 3