You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wui: Allow overriding the NTP server from the settings ini
The SNTP client is hardcoded to prusa3d.pool.ntp.org and there is no
way to point it elsewhere, so a printer on a network without a route to
the internet can never obtain a time. On printers without a backup
battery this is every boot, which leaves timestamps at 1970 and breaks
TLS certificate validation for Prusa Connect deployments using
hostname/custom_cert from this same ini.
Add an ntp key to the [network] section of prusa_printer_settings.ini,
stored in the config store beside the hostname and applied after
sntp_init(), which unconditionally resets server 0 to the compiled-in
default. The setting is empty by default and loading an empty value
reverts to the default, so behaviour is unchanged for anyone who does
not set it.
BFW-6184
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments