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 🙏

© 2026 – Pkg Stats / Ryan Hefner

signalk-net-weather-finland

v1.0.0

Published

Finnish Meteorological Institute coastal weather station data for Signal K

Readme

Signal K Weather Station Plugin

This plugin fetches weather data from Finnish Meteorological Institute coastal weather stations for Signal K. It automatically selects nearby stations, providing weather updates for maritime navigation.

Features

  • Fetches data from the nearest Finnish Meteorological Institute coastal weather stations
  • Automatically selects stations based on vessel position using haversine distance
  • Configurable number of monitored stations (1-51)
  • Configurable update interval (minimum 10 minutes)
  • Fetch timeout (30s) and concurrency guard prevent hangs and overlapping requests
  • Handles missing sensor data gracefully (NaN values are excluded)
  • Provides the following weather data per station:
    • Station name and short name
    • FMISID (station identifier)
    • Station position (latitude/longitude)
    • Temperature (Kelvin)
    • Wind speed (m/s)
    • Wind gust (m/s)
    • Wind direction (radians, true)
    • Atmospheric pressure (Pa)
    • Observation timestamp

Data Source

This plugin fetches weather observation data directly from the Finnish Meteorological Institute Open Data WFS API (opendata.fmi.fi). The data is freely available under the Creative Commons Attribution 4.0 license. No API key is required.

The plugin queries the fmi::observations::weather::timevaluepair stored query for each station using its FMISID, requesting the following parameters: t2m, ws_10min, wg_10min, wd_10min, p_sea.

Signal K Paths

Weather data is published under the meteo context with the following paths:

| Path | Description | Unit | |------|-------------|------| | environment.station.fmisid | FMI station identifier | - | | navigation.position | Station coordinates | lat/lon | | environment.outside.temperature | Air temperature | Kelvin | | environment.wind.averageSpeed | Wind speed (10 min avg) | m/s | | environment.wind.gust | Wind gust speed | m/s | | environment.wind.directionTrue | Wind direction (true) | radians | | environment.outside.pressure | Sea level pressure | Pascal | | environment.date | Observation timestamp | ISO 8601 |

Usage

Once installed and configured, the plugin will automatically fetch data from the nearest weather stations to your boat's location. Station weather data is available under the meteo context.

Freeboard-SK is able to show meteo data and this needs to be enabled from settings.

Configuration

Plugin settings:

  • Data fetching interval -- how often to fetch (minimum 10 minutes)
  • Number of stations -- how many nearest stations to monitor (1-51)

Development

Prerequisites

  • Node.js 18 or later (uses native fetch)

Setup

npm install        # Install dependencies
npm run build      # Compile TypeScript to dist/

Scripts

npm run clean       # Clean dist/ output folder
npm run build       # Compile TypeScript
npm run typecheck   # Type-check without emitting
npm test            # Build and run tests (Node built-in test runner)
npm run lint        # Run linter (ESLint + TypeScript typecheck)
npm run audit-check # Check for vulnerabilities

Project Structure

src/
  index.ts          # Plugin source
  types.ts          # TypeScript interfaces
test/
  plugin-runtime.test.js   # Comprehensive test suite
  tooling.test.js          # Build artifact verification
dist/               # Compiled output (gitignored)

Support

For any issues or inquiries, please open an issue on the GitHub repository. We welcome any feedback or contributions.

License

This project is licensed under the MIT License. Feel free to modify and distribute it according to the terms of the license.