blog.mizukinana.jp
Lab 3 ESP32 Wireless control and Light sensor
Fang's blog
By using If Else statements, it is possible to create an auto light detector to turn on or off when the surrounding become brighter or darker.
Furthermore, I also learn how to assign a list of input into one channel to control them once together.
.