open-index/open-npm huggingface dataset:
npm package: @signalk/set-system-time
Description: Signal K server plugin to set system date & time on Signal K data, usually from a GPS
Author: teppo.kurki@iki,fi
Latest version: 1.5.0

# set-system-time
Signal K Node server plugin to set system time on time data from GPS
<br>

![UI image](https://i.imgur.com/K0IZQxG.png "UI image")
<br>
<br>

# 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.*

Sudo is not available in Signal K Server image, but setting time should work without it with the latest Docker image.
npm package: @signalk/signalk-client
Description: Signal K JavaScript Client
Author: Teppo Kurki
Latest version: 0.1.0
Deprecated: Please use @signalk/client

# Signal K JavaScript Client Library

## Installation

```
$ npm install signalk-client
```

Mdns is an optional dependency for doing [automatic
discovery](http://signalk.org/specification/master/connection.html).
It is not relevant in browser environment, but Browserify will fail if you don't ignore or exclude it explicitly as in
`--exclude mdns`. For Webpack you can [declare it as an
external](https://github.com/SignalK/instrumentpanel/blob/b66047dd6c3382d5981601ed0c7c58d39505fdb6/webpack.config.js#L36).

## Usage

```
var SignalKClient = require('@signalk/signalk-client').Client;
var signalk = new SignalKClient;
var connection;

var thisCallback = function(msg) {
  $.each(listenerList, function(i, obj) {
    obj.onmessage(msg, connection);
  });
};

function connectDelta(host, thisCallback, onConnect, onDisconnect) {
  debug("Connecting to " + host);

  // try mdns
  connection = signalk.discoverAndConnect();
  if(connection) {
    return;
  }

  console.log("Could not use mdns, falling back to " + host);

  connection = signalk.connectDelta(host, thisCallback,
    function(skConnection) {
      skConnection.subscribeAll();
      onConnect();
    },

    function(skConnection) {
      skConnection.close();
      debug('Disconnected');
    },

    function(error) {
      console.log(error)
    },

    'self'
  );
}
```
npm package: @signalk/signalk-node-red
Description: Combine Node-RED with Signal K data
Author: Scott Bender
Latest version: 4.3.0

# signalk-node-red
Node server plugin that embeds node red

You do not need to install node-red separately, just install this plugin via the app store.

Go to Webapps in the node server admin ui to get to node-red.

Security is supported with node server version 1.4.0 or greater

See https://github.com/SignalK/node-red-embedded for available Nodes.

You can access the node-red Admin console by navigating to Webapps on the node server admin console, or use a direct url like http://localhost:3000/plugins/signalk-node-red/redAdmin/

If you install node red dashboard, then the url for the dashboard will be we be http://localhost:3000/plugins/signalk-node-red/redApi/ui/
npm package: @signalk/signalk-ws-provider
Description: Signal K Node Server plugin to pull data from Signal K Gateways/Servers via WebSocket connection
Author: Teppo Kurki
Latest version: 0.1.0

# ws-provider-plugin
[Signal K Node server plugin](https://github.com/SignalK/signalk-server-node/blob/master/SERVERPLUGINS.md) that can connect to other SK servers/gateways to pipe their data into this server. You can use the plugin to connect to another server or for example iKommunicate and pipe its data into this server for processing, for example for logging purposes.

Currently the `self` identity in the incoming data must match what is in the configuration file of this server for the data to be treated as `self` data. Maybe add a configurable option to map incoming data context to self?

Install by installing with npm in the node server's installation directory:
```
npm install signalk/ws-provider-plugin
```

The plugin will perform discovery automatically and add the discovered servers to the list of configured servers. You need to refresh the page to get an updated list of servers.

Once on the list you can have the plugin connect to a server with the host level `Active` flag & submit.


![image](https://cloud.githubusercontent.com/assets/1049678/22710033/821b5990-ed84-11e6-858d-a5b74b2f6589.png)
npm package: @signalk/streams
Description: Utilities for handling streams of Signal K data
Author: Teppo Kurki
Latest version: 6.2.0

# @signalk/streams

Used within the [Signal K](http://signalk.org) [Node Server](https://github.com/SignalK/signalk-server-node) for streaming and converting input data in different formats.

The code is not compiled and is not more effective, but allows using the streams and their conversions independently outside the server.

## Development

- Install dev packages with `npm i`.
- Edit files with `/src`.
- `npm link`
- `cd ../../`
- `npm link @signalk/streams`
- Restart signalk `npm start`
npm package: @signalk/tracks-plugin
Description: Plugin to keep track of tracks of vessels
Author: Teppo Kurki
Latest version: 2.1.0

# @signalk/tracks and @signalk/tracks-plugin
This repo contains two npm modules:
- `@signalk/tracks` - RxJs based module that accumulates positions into a track, using a configured time resolution and retains a sliding window of points. Contains the code for both a Signal K server plugin that implements the track api and client side "TrackAccumulator" class that manages the track for a single vessel. TrackAccumulator can optionally bootstrap the track data from the server. The result is available as `Observable<LatLng[]>`.
- `@signalk/tracks-plugin` Convenience module that exposes the plugin part of `@signalk/tracks`.


# Tracks
Plugin for tracks accumulation and the track API


# Usage:

__Retrieve tracks for individual vessel:__

`/signalk/v1/api/tracks/<vesselId>`

---

__Retrieve tracks for all vessels:__

`/signalk/v1/api/tracks`

_If `maxRadius` is specified only vessels with last track position within this distance are returned._

---

__Retrieve tracks for all vessels within a given radius (in meters) from your vessel position:__

`/signalk/v1/api/tracks?radius=50000`

_Note: This value overrides the `maxRadius` value specified in plugin configuration._

---

__Retrieve tracks for all vessels within a bounded area:__

`/signalk/v1/api/tracks?bbox=130,-35,139,-33`

_Bounded area is defined as `lon1, lat1, lon2, lat2`_

_`lon1, lat1` = lower left corner of bounded area_

_`lon2, lat2` = upper right corner of bounded area_

---