This document describes a smart home system that automatically controls fan speed and lighting based on temperature and light intensity readings. The system uses a microcontroller, LCD display, temperature sensor, light sensor, motor driver, and relays to vary the fan speed based on room temperature between 25-45 degrees Celsius and switch lights on/off based on light intensity above or below 150 units. It also tracks the number of people in the room and turns everything off when unoccupied to save power.