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 a barometer connected to SignalK, i.e. the bme680, outputting the 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 two new SignalK values:
'environment.outside.pressure.trend'
'environment.outside.pressure.trend.text'
From the environment.outside.pressure.trend
value you could for example setup an alarm (using another plugin) if the trend is changing fast, possibly indicating foul weather.
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.
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.
The above GIF-animation is actual radar image from Meteo France at the time.
The above satelitte photo animation is from NOAA.
Possible values are
FALLING: | RISING: |
---|---|
FALLING.STEADY | RISING.STEADY |
FALLING.SLOW | RISING.SLOW |
FALLING.CHANGING | RISING.CHANGING |
FALLING.QUICKLY | RISING.QUICKLY |
FALLING.RAPIDLY | RISING.RAPIDLY |
Contribute
Please feel free to contribute to this plugin by creating a Pull Request including test code.
Disclaimer
This plugin is based on the GitHub project 'barometer-trend', also by the same author.
External links
- GitHub: barometer-trend
- SignalK
- Plugin inspired by: How to use a barometer when sailing