signalk-activecaptain-resources

1.0.0 • Public • Published

SignalK Active Captain Resources

Status GitHub Issues GitHub Pull Requests License


A plugin for the node.js Signal K server for boats to import points of interest from the Garmin Active Captain API and make these available as resources.

📝 Table of Contents

🧐 About

  • Garmin's ActiveCaptain brings together the large boating community enabling sharing of information making boating safer, less expensive and more enjoyable.

  • Signal K is an open source server application that runs as a central information hub on a boat. It centralises data, provides a rich API to consume the data, and is extensible through a comprehensive suite of plugins (such as this one) and web applications.

  • Freeboard is a powerful chart plotter web application that runs as a webapp on the Signal K server.

This plugin's purpose is to bring together these 3 components by making information from the ActiveCaptain API available as resources throught the Signal K server which can then be consumed and displayed by Freeboard as an extra layer of information on the chart.

🏁 Getting Started

These instructions will get you up and running.

Prerequisites

  • A running instance of the Signal K node server with a position source (a GPS).

Instructions here

Installing this plugin

Through the Signal K server Appstore, search for signalk-activecaptain-resources, and click the Install button.

Signal K AppStore search

Configuration

In the Signal K menu, head to Server -> Plugin Config, and find Garmin Active Captain Resources then enable the plugin. Default values are fine for now, so just click Submit.

Signal K Plugin Config

🎈 Usage

In the Signal K menu, head to Webapps and launch Freeboard-SK. In the Freeboard settings, navigate to Resources, and check the box next to "activecaptain".

Freeboard resources settings

Next, click the layers button, select activecaptain, and

Freeboard layers activecaptain

Finally, select the point of interest categories you would like to see displayed on the chart, and you will see coloured dots for the active captain data appear.

Freeboard Point of Interest

Notes

This plugin uses the built-in resources feature of the Signal K server and the data gathered from ActiveCaptain is available to be consumed using the resources API. The resources published under the custom type 'activecaptain' are specifically intended for consumption by Freeboard, but by enabling the "notes" feature in the plugin configuration, data may also be consumed as standard 'note' type resources by other plugins/webapplications using the API.

> curl -XGET "localhost:3000/signalk/v2/api/resources/notes/562951" | jq
{
 "name": "Pont de Fontaines (amont)",
 "description": "Note 1 - Above and below bridge, bollards on right bank. Rubbish bins and tables.\n",
 "position": {
   "latitude": 46.85870176208298,
   "longitude": 4.797202907502652
 },
 "group": "Anchorage",
 "url": "https://activecaptain.garmin.com/en-US/pois/562951"
}

✍️ Authors

See also the list of contributors who participated in this project.

Package Sidebar

Install

npm i signalk-activecaptain-resources

Weekly Downloads

61

Version

1.0.0

License

MIT

Unpacked Size

915 kB

Total Files

11

Last publish

Collaborators

  • captain_spes