OpenMarine

Full Version: Timeserver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Signal K can set system time from a connected GPS.

Can OpenPlotter configure a time server so that connected devices can get time updates when not connected to the internet.
The signal k set system time plugin is already included in openplotter 1.0.0 and connected devices can get time data from SK server. Is this what you need?
If you are looking to configure an NTP server on your PI, then yes, that can be done. Here's a project that might be a good starting point. https://www.safematix.com/how-to/raspber...erver-gps/
The Signal K plugin sets the time on the node server.
Is there some way for it to set time on other machines ?

I would like to be able to set time on other onboard computers; Linux, win10. I don’t think Apple I devices can specify the timeserver.

So, like what abarrow linked to, but pre-configured in OpenPlotter.
(04-22-2019, 11:38 AM)NahanniV Wrote: [ -> ]The Signal K plugin sets the time on the node server.
Is there some way for it to set time on other machines ?

I would like to be able to set time on other onboard computers; Linux, win10. I don’t think Apple I devices can specify the timeserver.

So, like what abarrow linked to, but pre-configured in OpenPlotter.

A NTP server will serve out time information to all devices connected to your wifi onboard.  It's simple thing to set it up using input from a GPS on USB. Having SignalK as input to the NTP server is unfamiliar. 

I have only made NTP servers with USB-GPS  devices. A small server based on a small NanoPi NEO with a USB-GPS is a very simple option which provides an independent NTP server onboard. But one more device which is a minus.


Ole
Ah ok, now I understand. This should be easier in our case because system time is set every minute by "set system time SK plugin" which is already taken the time from any NMEA 0183/2000 source connected to openplotter. We should just share the system time by the ntp server.

Could anyone who has already done this in openplotter share an example?