Use the light intensity sensor to be able to capture the light intensity of the surrounding environment. From there, it is possible to automatically turn on/off the lights when the light intensity is strong/weak and can control the lights on/off remotely via the web server.
View demo in here
Name | Image |
---|---|
light intensity sensor |
|
NodeMCU ESP8266 |
|
Female-Male Cables 20cm |
|
LED 5mm |
|
Micro-USB (A-MicroB) |