cottongin 1f40c41b38 fix: skip NTP sync and mDNS in deep sleep wake path to reduce battery drain
The syncNTP() call blocks up to 5 seconds waiting for NTP response on
every deep sleep wake cycle (every 10 minutes). Combined with mDNS
startup, this added significant active WiFi time per cycle.

Fix: Add 'minimal' flag to WiFiManager::begin()/startStation(). In
the deep sleep wake path, skip NTP sync and mDNS entirely. The system
clock is already seeded from the hardware RTC at boot, which is
accurate enough for 30-day date window calculations.

Normal interactive boot still does full NTP sync + mDNS as before.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 20:28:00 -04:00
Description
Custom ESP32 firmware for the M5Stack PaperColor connecting it to Immich for slideshow usage
MIT 2.3 MiB
Languages
C 51.3%
C++ 37.3%
HTML 8.1%
JavaScript 2.9%
CSS 0.4%