Posts: 43
Threads: 9
Joined: May 2016
Reputation:
1
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.
Posts: 3,057
Threads: 64
Joined: Mar 2016
Reputation:
295
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?
Posts: 43
Threads: 9
Joined: May 2016
Reputation:
1
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.
Posts: 3,057
Threads: 64
Joined: Mar 2016
Reputation:
295
2019-05-07, 07:17 PM
(This post was last modified: 2019-05-07, 07:18 PM by Sailoog.)
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?
Posts: 495
Threads: 26
Joined: Jun 2019
Reputation:
31
2022-04-25, 07:21 PM
(This post was last modified: 2022-04-25, 07:57 PM by ironman.)
Any updates on this one? I'm looking for an answer to exactly the same question. Before I reinvent the wheel I'd rather steal it from someone who has already done it ;-)
Would be nice if the Openplotter DHCP server would serve the NTP service details to any (DHCP) client.
Posts: 163
Threads: 15
Joined: Oct 2020
Reputation:
4
I did this. After you set up SignalK to set the time in the RPi, you set up a simple NTP server to run on the Pi. Then, you give all the other devices the Pi’s IP address as the time server to connect to. It works fine and there’s nothing else needed besides installing an NTP server onto the Pi. I think I used Chrony, but I can’t remember. Easy to do if you google “how to set up an NTP server on raspberry pi”
Posts: 3,057
Threads: 64
Joined: Mar 2016
Reputation:
295
I think this is something we could add to openplotter-settings app.