i'm trying to do a project where by i get a notification about mail or a button is pressed.
i have a following
- solar panel
- TP4056 (connected to solar and a battery)
- 18650 battery
- mcp1700 with 2 capacitors.
- either a ESP-01 or a ESP NodeMCU (still thinking) connects to wifi.
what i want to do is turn the ESP off during the night time and turn on during the day. Opposite to what a garden solar light does.
Is there anyway of doing this?
regards
Jeremy