Skip to content

Version 4.0.0.0

Latest

Choose a tag to compare

@roblatour roblatour released this 07 Nov 23:41
· 24 commits to main since this release
v4.0.0.0
58ca494
  • Added support for the ESP32-S1 (preview) chip. The ESP32-S31 provides
    for Gigabit Ethernet connections, while the ESP32-P4 only
    provides 100 Megabit Ethernet connections. Performance wise the
    ESP32-S31 (preview) surpasses the ESP32-P4 rel 1.3 chip, but is
    below the ESP32-P4 rel 3.2 chip.

  • Added Precision Time Protocol (PTP) support. The server can now operate
    as an NTP, PTP Layer 2 (L2), PTP Layer 3 (L3) UDP, or any and all
    combinations simultaneously.

  • Both the NTP and PTP L2 protocols support operation with or without
    authentication. NTP and PTP L2 have independent mixed/authenticated-only
    policy settings, each defaulting to mixed mode.

    Additional notes:

    1. PTP servers sync time with their clients with a degree of precision measured in
      Nanoseconds (ns) as opposed to a Network Time Protocol (NTP) server with a degree of
      precision measured in Microseconds (µs) (1 second = 1 million µs = 1 billion ns).

    2. PTP L2 works with Linux chrony, PTP L3 UDP works with the native Windows w32Time service.

    3. PTP servers and their followers, will not work in virtual environments nor
      across hardware firewall (OPNSense/PFSense) interfaces - they do however work
      within the same hardware firewall interface.

    4. Linux chrony implementations provides for NTP time and or
      PTP L2 time with a fall back to NTP time. Windows implementations
      provide for either NTP time or PTP L3 UDP time but with not
      PTP L3 UDP time with a fallback to NTP time.

    5. with PTP macOS does not natively synchronize the Mac's main system clock.
      Instead, the native implementation is restricted to sub-systems like AirPlay
      and professional AVB audio streaming. In this release macOS sub-system support
      has not been tested nor is it supported.

  • added/updated the following companion programs:

    (added) ESP32PTPL2Follower ( https://github.com/roblatour/ESP32PTPL2Follower )
    an example ESP32 based PTP L2 Follower for the ESP32-P4 and ESP32-S31 platforms

    (added) ESP32PTPL3Follower ( https://github.com/roblatour/ESP32PTPL3Follower )
    an example ESP32 based PTP L3 UDP Follower for the ESP32-P4 and ESP32-S31 platforms

    (added) configTimeSettings.ps1 ( https://github.com/roblatour/ESP32TimeServer/tools )
    a python script for configuring Windows' native w32Time server for either NTP or PTP L3 UDP

    (updated) ESP32TimeServerTester ( https://github.com/roblatour/ESP32TimeServerTester )
    to test PTP L2 and L3 UDP servers

  • removed use of the Arduino Sparkfun GNSS library (adapting its needed code for use within
    esp-idf) as well as the last vestiges of Arduino code. This was done
    to support the ESP32-S31 chip which while supported in the ESP-IDF environment is
    not supported in the Arduino environment (although may be in the future)

  • added automated regression testing
    for more information please see: https://github.com/roblatour/ESP32TimeServer/testing/README.md

  • updates to MQTT messaging for new PTP reporting and to enable, in most cases, more saved
    messages in memory when a TF card is not available

  • updates to Home Assistant configurations for new PTP reporting

  • added external TF card reader support for the ESP32-S31 as the Espressif's Functional CoreBoard - 1
    does not have a built in TF card reader

  • revised leap-second processing aligned to the CGPM's decision to do away with leap-second processing in May 2027
    for more information please see: https://github.com/roblatour/ESP32TimeServer/misc/leap_second_handling.md

  • added read back confirmation of Ublox receiver going in to stationary mode
    (as requested by Github user spacemanspiff2007)

  • several other updates and improvements

  • Thank you to github user TMW2N for updating the PCB files to use the project's current pin configurations
    associated with the ESP32-P4-ETH series of boards and the Sparkfun GNSS receiver (change published outside
    a formal release on 2026-11-06)


Important Notes

  • If you're upgrading from a prior release, please apply your prior setting file changes to the new settings file

  • NTP processing thresholds in this release:
    7,000 requests/second for the ESP32-P4 release 1.3 chip (unchanged),
    10,000 requests/second for the ESP32-P4 above release 1.3 chip (unchanged),
    8,500 requests/second for the ESP32-S1 preview chip