This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Synchronising time, with GPS, between servers when off grid(NTP)
#1
The use case, creating an offline NTP, was that I'm on our boat sometimes don't have an Internet connection but always have a connected GPS. The GPS updates time on a Raspberry(RPi) running OpenPlotter/Signal K.

The actual issue is that there are other devices on the LAN that needs to be updated and then you have to set up an NTP server.
Of course this setup is also valid for a RPi/server, with a RTC, acting as a NTP server in an isolated LAN.

Did a post handling the subject https://pysselilivet.blogspot.com/2021/0...fline.html

/Mats
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#2
That is interesting. I have wondered about this issue and you have a solution. I'll be sure to check this out later...

Thanks for sharing!
Reply
#3
tinypilot does this as well

https://github.com/pypilot/pypilot/tree/master/scripts

there are both bash and python scripts for setting time and date from gps
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)