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-meteogalicia-meteogram

v0.1.0

Published

MeteoGalicia Meteogram (webapp) para Signal K. Sirve public/index.html y usa el Weather Provider.

Readme

Meteograma MeteoGalicia (Signal K Webapp)

Webapp para Signal K que muestra un meteograma por horas (viento, dirección, lluvia, temperatura, oleaje, etc.) y permite ver la predicción para cualquier punto del mapa (posición del cursor).

Esta webapp se apoya en el MeteoGalicia Weather Provider (plugin aparte), que consulta la API MeteoSIX v5 de MeteoGalicia y expone el forecast a Signal K.


Qué necesitas antes (API MeteoGalicia)

Para usar el sistema completo necesitas una API_KEY de MeteoGalicia (MeteoSIX / API v5).

  • Web del modelo MeteoSIX:
    https://www.meteogalicia.gal/web/modelos-numericos/meteosix

  • Documentación oficial (PDF):
    API_MeteoSIX_v5_gl.pdf (el proveedor se construyó siguiendo este documento)

La API_KEY se configura dentro del plugin Weather Provider, no en esta webapp.


Componentes del sistema

1) Weather Provider (obligatorio)

  • Paquete: signalk-meteogalicia-weather-provider
  • Función: descarga y transforma la predicción de MeteoGalicia (WRF/WW3/SWAN + mareas opcionales) y la ofrece a Signal K como “Weather Provider”.

2) Meteograma (esta webapp)

  • Paquete: signalk-meteogalicia-meteogram
  • Función: interfaz visual (HTML/JS) que consume los datos del provider desde Signal K y los presenta en formato meteograma.

Instalación

Opción A) Appstore / Add-ons (recomendada)

  1. Entra en Signal K → Server → Appstore / Available
  2. Busca: Meteograma MeteoGalicia
  3. Instala y habilita:
    • signalk-meteogalicia-weather-provider
    • signalk-meteogalicia-meteogram

Opción B) Entorno Docker (nota importante)

Lo importante es que el plugin se instale dentro del mismo entorno donde corre Signal K.

Si Signal K corre en Docker, instalar npm “en tu Windows” no sirve. Debe quedar dentro del contenedor / volumen del servidor.


Configuración (paso a paso)

1) Configura el Weather Provider (obligatorio)

Signal K → Server → Plugin ConfigMeteoGalicia Weather Provider

Campos:

  • API_KEY de MeteoGalicia (obligatorio)
  • Cache (min) (opcional)
  • Incluir mareas (opcional)
  • Debug (opcional)

Guarda y reinicia el servidor si te lo pide.

2) Habilita la webapp Meteograma

Signal K → Server → Webapps

  • Debe aparecer: Meteograma MeteoGalicia
  • Ábrela desde ahí.

Si no la ves en “Webapps”, revisa que el package.json incluya el bloque signalk (ver más abajo).


Cómo usarlo (para cualquier punto del mapa)

  1. Abre la webapp Meteograma MeteoGalicia
  2. Activa el modo de posición de Cursor (si existe en tu UI) o usa Mi posición.
  3. Al mover el cursor/pulsar en el mapa, la webapp consulta el forecast de ese punto.

En términos técnicos, la webapp solicita el forecast a Signal K, que a su vez se lo pide al provider:

  • Forecast por punto (Signal K): /signalk/v2/api/weather/forecasts/point?lat=...&lon=...&count=...

No hace falta conocer esta URL para usarlo, pero sirve para depurar.


Qué datos muestra (unidades)

El provider entrega, entre otros:

  • Viento:
    • wind.speedTrue (m/s)
    • wind.directionTrue (rad, dirección FROM)
  • Lluvia:
    • precipitation.amount (mm)
  • Temperatura:
    • temperature.air (°C)
  • Olas:
    • waves.significantHeight (m)
    • waves.meanDirection (°)
    • waves.peakPeriod (s)
  • Temperatura del mar:
    • sea.waterTemperature (°C)
  • Mareas (opcional):
    • tide.height (m) + resumen pleamar/bajamar

Problemas típicos

401 Unauthorized al abrir /plugins/...

Si tienes seguridad activada en Signal K, algunas rutas pueden requerir sesión. Solución:

  • abre la webapp desde Webapps (UI oficial)
  • o asegúrate de estar logueado en Signal K en ese navegador.

No aparece en Webapps

Revisa que el package.json contenga:

  • keywords incluyendo signalk-webapp
  • signalk.displayName
  • signalk.appIcon

Licencia

MIT