JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q74159F
  • License ISC

Get pressure trend and weather predictions from a barometer over time

Package Exports

  • signalk-barometer-trend

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (signalk-barometer-trend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

signalk-barometer-trend

Calculate the pressure trend of a barometer. Are there foul weather on the way?

Install & Use

Note: To use this plugin you need at minimum a barometer connected to SignalK, i.e. the bme680, outputting the SignalK-sentence 'environment.outside.pressure'.

Install the plugin through the SignalK plugin interface.
After installation you may want to 'Activate' it through the SignalK Plugin Config interface.

The plugin will output several new SignalK-values, such as:

'environment.outside.pressure.trend.tendency'
'environment.outside.pressure.trend.severity'
'environment.outside.pressure.prediction.quadrant'

Based on the severity value it's possible to set an alarm, i.e. with the Simple Notification-plugin (see table below).

If 'environment.outside.temperature' and 'navigation.gnss.antennaAltitude' (GPS altitude) is present, the plugin will make calculations by adjusting the pressure to sea level. Defaults are altitude = 0 (sea level) and temperature = 15C.
(Note: The plugin will not change the pressure readings you observe in SignalK - just internally for calculations.)

PS: It might take a couple of minutes before the plugin show any data, as it need to collect pressure readings to calculate a trend. The plugin is setup to read the pressure every 1 minute. Pressure readings older than three hours will be discarded.

More details

For more details please visit github.com/oyve/barometer-trend library.

SignalK Data Browser SignalK Data Browser

Possible severity values are (in parentheses)

'environment.outside.pressure.trend.severity'

FALLING: RISING:
(0) FALLING.STEADY (0) RISING.STEADY
(-1) FALLING.SLOW (1) RISING.SLOW
(-2) FALLING.CHANGING (2) RISING.CHANGING
(-3) FALLING.QUICKLY (3) RISING.QUICKLY
(-4) FALLING.RAPIDLY (4) RISING.RAPIDLY

Based on the severity value you could set an alarm, i.e. with the Simple Notification-plugin.

Contribute

Please feel free to contribute to this plugin by creating a Pull Request including test code.

Disclaimer

  • See all disclaimers by reading the README at the GitHub project 'barometer-trend', also by the same author.

A real world example

This is actual data while developing the plugin. A tropical wave, OT-48, was moving through the Caribbean creating local heavy rainfall and stormy wind in Guadeloupe.

SigK Pressure Trend

Meteo France - Guadeloupe Radar NOAA Satelitte Photo

The above GIF-animation is actual radar image from Meteo France at the time.
The above satelitte photo animation is from NOAA.