About This Project
In this project I will create IoT ambient light sensor to control lamp, using NodeMCU and Cayenne.
Cayenne is so powerful to create IoT project, with less coding we can get awesome result.
What’s Connected
-
NodeMCU ESP-12E
-
1 CH Relay Module
-
TSL2561 Lux Sensor
Triggers & Alerts
This IoT ambient light sensor work with condition:
-
If the ambient lux value above 50 lux, the relay will switch OFF the lamp.
-
If the ambient lux value below 50 lux, the relay will switch ON the lamp.
Scheduling
- The lamp will be automatically on everyday at 5 pm and off at 7 am.