openhab-docs/_addons_actions/weather
Thomas Dietrich 826ef4abb4 Distinguish collections, improve update process (#514)
* Rename collection folders

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Change all occurences of addons and repos

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Add further corrections

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Remove temporary directories after processing

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Reduce addons menus, show current uncond.

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Fix typo

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Remove redundant addons from permalinks

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Sort UI menu entries correctly

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Split maven command

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
2017-09-22 21:05:09 +02:00
..
readme.md Distinguish collections, improve update process (#514) 2017-09-22 21:05:09 +02:00

readme.md

id label title type description source since install
weather Weather Weather - Actions action The Weather Action service provides meteorological information to your scripts and rules. https://github.com/openhab/openhab1-addons/blob/master/bundles/action/org.openhab.action.weather/README.md 1x manual

{% include base.html %}

Weather Actions

The Weather Action service provides meteorological information to your scripts and rules.

  • getHumidex(double temperature, int hygro): Compute the Humidex index given temperature in Celsius and hygrometry (relative percent). Returns Humidex index value.
  • getBeaufortIndex(double speed): Compute the Beaufort scale for a given wind speed in m/s. Returns the Beaufort Index between 0 and 12. transform/beaufort.map:
0=Calm
1=Light air
2=Light breeze
3=Gentle breeze
4=Moderate breeze
5=Fresh breeze
6=Strong breeze
7=High wind
8=Gale
9=Strong/severe gale
10=Storm
11=Violent storm
12=Hurricane force
  • getSeaLevelPressure(double pressure, double temp, double altitude): Compute the Sea Level Pressure, given absolute pressure in hPa, temperature in Celsius, and altitude in meters. Returns equivalent sea level pressure.
  • getWindDirection(int degree): Transform an orientation angle (in degrees) to its cardinal string equivalent. Returns string representing the direction.