1f40c41b38b57c129f6e4ca00f9a5dd9c9072a35
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>
Description
Custom ESP32 firmware for the M5Stack PaperColor connecting it to Immich for slideshow usage
Languages
C
51.3%
C++
37.3%
HTML
8.1%
JavaScript
2.9%
CSS
0.4%