Skip to content

Add NTP server and timezone configuration for time synchronization#92

Merged
TheRealMoeder merged 1 commit intoTheRealMoeder:mainfrom
oldboys92:ui_ntp_sync
Mar 12, 2026
Merged

Add NTP server and timezone configuration for time synchronization#92
TheRealMoeder merged 1 commit intoTheRealMoeder:mainfrom
oldboys92:ui_ntp_sync

Conversation

@oldboys92
Copy link
Contributor

This PR adds user-configurable NTP (Network Time Protocol) time synchronization to the Energy2Shelly ESP firmware. The device now obtains accurate wall-clock time on boot via a configurable NTP server and timezone, exposed through the WiFiManager captive portal. This is a prerequisite for Shelly API responses that include timestamps (e.g., Sys.GetStatus, Shelly.GetStatus).

@TheRealMoeder
Copy link
Owner

Great. I will merge after testing tonight.

@TheRealMoeder TheRealMoeder merged commit 8dedf3a into TheRealMoeder:main Mar 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants