npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

signalk-activecaptain-resources

v1.0.0

Published

Provides points of interest from Garmin Active Captain API as SignalK resources

Downloads

61

Readme

Status GitHub Issues GitHub Pull Requests License


📝 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.