OpenMarine
Signal k set-system-time from M hat gps - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Signal k set-system-time from M hat gps (/showthread.php?tid=3417)



Signal k set-system-time from M hat gps - Josacraw - 2021-04-29

How do I set the system time from gps? I have looked under set-system-time and see no option to set time using gps. It is currently enabled.



Thanks


RE: Signal k set-system-time from M hat gps - PaddyB - 2021-04-29

(2021-04-29, 02:02 AM)Josacraw Wrote: How do I set the system time from gps? I have looked under set-system-time and see no option to set time using gps. It is currently enabled.



Thanks

The setsystem time app uses GPS navigation.datetime - is that available from the HAT GPS? You can look in the data browser, if it is then the app should work, defaults to running once on startup and should have  an entry in the connection & plugin status list in the dashboard. 

[Image: WS5R4QY.png]


RE: Signal k set-system-time from M hat gps - Josacraw - 2021-04-29

I looked under signal k and the navigation.datetime variable is set to the current time. Went back into set-system-time and changed the interval between updates to 30 seconds and this fixed the problem. Perhaps it is a bug.


RE: Signal k set-system-time from M hat gps - PaddyB - 2021-04-29

Works OK here - what does the connection & plugin status say about set-system-time when you boot with 0 seconds in the config?