During the course of writing a binding for the WeatherFlow SmartWeather series of weather stations, it occurred to me that some of the data presented by weather stations is derived from actual observations, and thus isn’t specific to any one product. Hoping to make life easier for other folks who have weather stations that are (or might be) supported by OpenHAB in the future, I created a binding that generates these derived values.
This binding is called Weather Calculations and you can find the source code and latest binary jar here:
The binding works by listening to channels that provide temperature, humidity and pressure, then creating channels for data points that are derived from those observations.
Some of the derived data include:
- sea level pressure
- feels like temperature
- heat index
To use it, install the jar in your addons folder and then add an instance of a Weather Calculations thing. In the configuration for your new thing, you specify things like station altitude and the names of the channels that provide the various observations used (you will need to copy and paste the channel names as OpenHAB doesn’t provide a way for me to create a dropbox for them).
The binding expects SI values (temp in C, pressure in mbar), and is smart enough to change values only when an observation that it uses changes.
I’ve got a few more calculations in the works including pressure trend and prevailing wind so I will post back here when I’ve got meaningful new versions of this binding.
As always, comments and suggestions are welcome!