prusa3d / Prusa-Firmware-Buddy

Firmware for the Original Prusa MINI, Original Prusa MK4 and the Original Prusa XL 3D printers by Prusa Research.
Other
1.17k stars 229 forks source link

[BFW-6184] [ENHANCEMENT] Missing option for custom NTP or NTP via DHCP on Mini #3261

Open ghost opened 1 year ago

ghost commented 1 year ago

Printer type - [MINI]

Is your suggested improvement related to an existing problem? Please describe. This creates a problem because files already on the SD card have the correct time but anything uploaded over PrusaLink has a date of 1970. This problem makes Prusa Link unusable if you don't allow your devices Internet access.

Describe the expected functionality Current firmware for the Mini requires Internet access or the printer will not have the correct time. The firmware does not allow the configuration of a custom (local) NTP server FQDN/IP and it does not support using the NTP provided by DHCP either. Both options should be supported.

This is a know issue but no one bothered to fix it. https://help.prusa3d.com/article/ntp-server-mini_151132 Hopefully this request will put it on the table.

xtomasnemec commented 1 year ago

And maybe also add the non-standard time zones like +5:30 or +5:45

Prusa-Support commented 1 year ago

Thanks for your suggestions. However, these partially duplicate existing issues https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/639, https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/1779, https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/2317, https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/3141.

I suggest closing this one issue and sharing your relevant piece of feedback on the related existing issues. Scattered feedback over several issues doesn't quite help us track the popularity of the community requests and define development goals accordingly.

Michele Moramarco Prusa Research

Prusa-Support commented 1 year ago

It seems safe to close this issue as a duplicate of mixed already posted issues.

Michele Moramarco Prusa Research

GithubUser2687380 commented 4 months ago

How is this solved in the linked issues? There is still no option to use your own NTP server via a setting or DHCP option. In the meantime this looks like a phone-home functionality of the printer since it uses a specific NTP server 195.113.144.238 which resolves to tak.cesnet.cz

Contents of /lib/WUI/sntp/sntp_client.c ` / TODO: enable DNS for ntp.pool.org as default sntp server/

// TMP: ip of Czech CESNET NTP server tak.cesnet.cz
if (ipaddr_aton("195.113.144.238", &ntp_server)) {
    sntp_setserver(0, &ntp_server);
}

`

Prusa-Support commented 1 month ago

This is a quite old issue but thanks for the feedback. I guess the issue should stay open for now.

Michele Moramarco Prusa Research

CZDanol commented 1 month ago

Internal ticket: BFW-6184