@signalk/set-system-time

Signal K server plugin to set system date & time on Signal K data, usually from a GPS

Usage no npm install needed!

<script type="module">
  import signalkSetSystemTime from 'https://cdn.skypack.dev/@signalk/set-system-time';
</script>

README

set-system-time

Signal K Node server plugin to set system time on time data from GPS

UI image

Configuration Interface

Use sudo when setting the time :

When this option is checked, set-system-time plugin will try to use sudo to set the date. It's required that sudo have a password-less access to the date command.

To give sudo a no password access only to the date command, you can add the following line to your sudoers file :

pi ALL=(ALL) NOPASSWD: /bin/date

--- In this example, pi is the username that run the signalk server. Yours could be different.