Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

SagerWeatherCaster Binding

Gaël L'hopital edited this page May 26, 2015 · 3 revisions

Introduction

The SagerWeatherCaster is scientific instrument for accurate prediction of the weather.

Binding Configuration

To operate, this binding will need to use items provided by other means (e.g. Weather Binding, Netatmo, a 1-Wire personal weather station...)

openhab.cfg Config

sagercaster:latitude : latitude of the observed items

sagercaster:persistence : name of the persistence service to use when searching past values for wind direction and sea level pressure. Default persistence service will be used if nothing filled here.

Here is an example;

sagercaster:latitude=48.9994077
sagercaster:persistence=db4o

Generic Item Binding Configuration

Input items

Number winddirection ... {sagercaster="windbearing"} : The wind direction expressed in 0-360°. **This item has to be persisted** 

Number seapressure ... {sagercaster="sealevelpressure"} : The Seal Level Pressure, expressed in hPa. **This item has to be persisted**

Number cloudlevel ... {sagercaster="cloudlevel"} : The current cloud level, expressed in %

Switch israining ... {sagercaster="raining"} : An item indicating wether it's raining or not. This item **must be a SwitchItem** 

Number beaufort ... {sagercaster="windspeed"} : Windspeed, **expressed in Beaufort Index**

Here are the list of items you can put in your .items file in order to use binding functionalities :

Group  swc "SagerWeatherCaster"

// Items directly derived from inputs
String swc_compass 		"Wind Orientation [%s]" 								(swc) { sagercaster = "compass" }
Number swc_windtrend 	"Wind Trend [MAP(sager/windtrend.map):%s]" 				(swc) { sagercaster = "windtrend" }
Number swc_presstrend 	"Pressure Tren [MAP(sager/presstrend.map):%s]" 			(swc) { sagercaster = "pressuretrend" }

// SagerWeatherCaster Forecast Items
String swc_forecast 	"Weather Forecast [MAP(sager/forecast.map):%s]" 		(swc) { sagercaster = "forecast" }
String swc_velocity 	"Wind Forecast [MAP(sager/windvelocity.map):%s]" 		(swc) { sagercaster = "velocity" }
Number swc_windfrom 	"Wind varying from [MAP(sager/winddirection_ntz.map):%s]" 	(swc) { sagercaster = "windfrom" }
Number swc_windto 	"Wind varying to [MAP(sager/winddirection_ntz.map):%s]" 	(swc) { sagercaster = "windto" 	}

Observation delay

You'll have noticed that some inputs for the binding needs to be persisted. SagerWeatherCaster needs an observation period of minimum 6 hours to start producing outputs.

Download

Sager Transform Files This files shall be placed in a /configurations/transform/sager folder for human readable results of the SagerWeatherCaster algorithm

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally