Know how the potentiometer works and make it control the LED
The code to understand the LDR sensor and how it works. Using the LED as an output in presence of lights.
Connect the apps from the smartphone to the ESP8266. Making the project become a Internet of Things. The apps can monitor the LDR sensor and also control the LED as a real bulb.