obehr / esp32-wordclock

0 stars 0 forks source link

Sleep2 #13

Closed obehr closed 5 years ago

obehr commented 5 years ago

Sleep mode for Wifi and small delay main loop added. Should reduce the power consumtion significantly.

Power consumption can still be improved but this would make a change in behaviour neccessary. The clock should not be constantly available via Wifi but only ~5 Minutes after power up. Then the Wifi can be completely turned off and only switched on to synchronize the time via NTP server.

Wifi Off -> Deep sleep possible. Deep sleep would only be interrupted for scheduled events: