added migrated 2.x add-ons

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer
2020-09-21 01:58:32 +02:00
parent bbf1a7fd29
commit 6df6783b60
11662 changed files with 1302875 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<binding:binding id="openweathermap" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:binding="https://openhab.org/schemas/binding/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/binding/v1.0.0 https://openhab.org/schemas/binding-1.0.0.xsd">
<name>OpenWeatherMap Binding</name>
<description>OpenWeatherMap - Current weather and forecasts in your city.</description>
<author>Christoph Weitkamp</author>
</binding:binding>

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<config-description:config-descriptions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<!-- Config for OpenWeatherMap Binding -->
<config-description uri="bridge-type:openweathermap:weather-api">
<parameter name="apikey" type="text" required="true">
<context>password</context>
<label>API Key</label>
<description>API key to access the OpenWeatherMap API.</description>
</parameter>
<parameter name="refreshInterval" type="integer" min="10" unit="min">
<label>Refresh Interval</label>
<description>Specifies the refresh interval (in minutes).</description>
<default>60</default>
</parameter>
<parameter name="language" type="text">
<label>Language</label>
<description>Language to be used by the OpenWeatherMap API.</description>
<options>
<option value="ar">Arabic</option>
<option value="bg">Bulgarian</option>
<option value="ca">Catalan</option>
<option value="zh_cn">Chinese - Simplified</option>
<option value="zh_tw">Chinese - Traditional</option>
<option value="hr">Croatian</option>
<option value="cz">Czech</option>
<option value="nl">Dutch</option>
<option value="en">English</option>
<option value="fi">Finnish</option>
<option value="fr">French</option>
<option value="gl">Galician</option>
<option value="de">German</option>
<option value="el">Greek</option>
<option value="hu">Hungarian</option>
<option value="it">Italian</option>
<option value="ja">Japanese</option>
<option value="kr">Korean</option>
<option value="la">Latvian</option>
<option value="lt">Lithuanian</option>
<option value="mk">Macedonian</option>
<option value="fa">Persian (Farsi)</option>
<option value="pl">Polish</option>
<option value="pt">Portuguese</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option>
<option value="sk">Slovak</option>
<option value="se">Swedish</option>
<option value="sl">Slovenian</option>
<option value="es">Spanish</option>
<option value="tr">Turkish</option>
<option value="ua">Ukrainian</option>
<option value="vi">Vietnamese</option>
</options>
</parameter>
</config-description>
<config-description uri="thing-type:openweathermap:weather-and-forecast">
<parameter name="location" type="text" required="true">
<context>location</context>
<label>Location of Weather</label>
<description>Location of weather in geographical coordinates (latitude/longitude/altitude).</description>
</parameter>
<parameter name="forecastHours" type="integer" min="0" max="120" step="3">
<label>Number of Hours</label>
<description>Number of hours for hourly forecast.</description>
<default>24</default>
</parameter>
<parameter name="forecastDays" type="integer" min="0" max="16" step="1">
<label>Number of Days</label>
<description>Number of days for daily forecast.</description>
<default>6</default>
</parameter>
</config-description>
<config-description uri="thing-type:openweathermap:uvindex">
<parameter name="location" type="text" required="true">
<context>location</context>
<label>Location of Weather</label>
<description>Location of weather in geographical coordinates (latitude/longitude/altitude).</description>
</parameter>
<parameter name="forecastDays" type="integer" min="1" max="8" step="1">
<label>Number of Days</label>
<description>Number of days for UV Index forecast.</description>
<default>6</default>
</parameter>
</config-description>
</config-description:config-descriptions>

View File

@@ -0,0 +1,15 @@
# thing status
offline.conf-error-missing-apikey = The 'apikey' parameter must be configured.
offline.conf-error-invalid-apikey = Invalid API key. Please see https://openweathermap.org/faq#error401 for more info.
offline.conf-error-not-supported-refreshInterval = The 'refreshInterval' parameter must be at least 10 minutes.
offline.conf-error-not-supported-language = The given 'language' parameter is not supported.
offline.conf-error-missing-location = The 'location' parameter must be configured.
offline.conf-error-parsing-location = The 'location' parameter could not be split into latitude and longitude.
offline.conf-error-not-supported-number-of-hours = The 'forecastHours' parameter must be between 0 and 120 - increment 3.
offline.conf-error-not-supported-number-of-days = The 'forecastDays' parameter must be between 0 and 16.
offline.conf-error-not-supported-uvindex-number-of-days = The 'forecastDays' parameter must be between 1 and 8.
# discovery result
discovery.openweathermap.weather-and-forecast.api.local.label = Local Weather And Forecast
discovery.openweathermap.uvindex.api.local.label = Local UV Index

View File

@@ -0,0 +1,263 @@
# binding
binding.openweathermap.name = OpenWeatherMap Binding
binding.openweathermap.description = OpenWeatherMap - Aktuelles Wetter und Prognosen in Ihrer Stadt.
# bridge types
thing-type.openweathermap.weather-api.label = OpenWeatherMap Konto
thing-type.openweathermap.weather-api.description = Ermöglicht den Zugriff auf die OpenWeatherMap API.
# bridge types config
bridge-type.config.openweathermap.weather-api.apikey.label = API Schlüssel
bridge-type.config.openweathermap.weather-api.apikey.description = API Schlüssel für den Zugriff auf die OpenWeatherMap API.
bridge-type.config.openweathermap.weather-api.refreshInterval.label = Abfrageintervall
bridge-type.config.openweathermap.weather-api.refreshInterval.description = Intervall zur Abfrage der OpenWeatherMap API (in min).
bridge-type.config.openweathermap.weather-api.language.label = Sprache
bridge-type.config.openweathermap.weather-api.language.description = Sprache zur Anzeige der Daten.
bridge-type.config.openweathermap.weather-api.language.option.ar = Arabisch
bridge-type.config.openweathermap.weather-api.language.option.bg = Bulgarisch
bridge-type.config.openweathermap.weather-api.language.option.ca = Katalanisch
bridge-type.config.openweathermap.weather-api.language.option.cz = Tschechisch
bridge-type.config.openweathermap.weather-api.language.option.de = Deutsch
bridge-type.config.openweathermap.weather-api.language.option.el = Griechisch
bridge-type.config.openweathermap.weather-api.language.option.en = Englisch
bridge-type.config.openweathermap.weather-api.language.option.es = Spanisch
bridge-type.config.openweathermap.weather-api.language.option.fa = Persisch (Farsi)
bridge-type.config.openweathermap.weather-api.language.option.fi = Finnisch
bridge-type.config.openweathermap.weather-api.language.option.fr = Französisch
bridge-type.config.openweathermap.weather-api.language.option.gl = Galizisch
bridge-type.config.openweathermap.weather-api.language.option.hr = Kroatisch
bridge-type.config.openweathermap.weather-api.language.option.hu = Ungarisch
bridge-type.config.openweathermap.weather-api.language.option.it = Italienisch
bridge-type.config.openweathermap.weather-api.language.option.ja = Japanisch
bridge-type.config.openweathermap.weather-api.language.option.kr = Koreanisch
bridge-type.config.openweathermap.weather-api.language.option.la = Lettisch
bridge-type.config.openweathermap.weather-api.language.option.lt = Litauisch
bridge-type.config.openweathermap.weather-api.language.option.mk = Mazedonisch
bridge-type.config.openweathermap.weather-api.language.option.nl = Holländisch
bridge-type.config.openweathermap.weather-api.language.option.pl = Polnisch
bridge-type.config.openweathermap.weather-api.language.option.pt = Portugiesisch
bridge-type.config.openweathermap.weather-api.language.option.ro = Rumänisch
bridge-type.config.openweathermap.weather-api.language.option.ru = Russisch
bridge-type.config.openweathermap.weather-api.language.option.se = Schwedisch
bridge-type.config.openweathermap.weather-api.language.option.sk = Slowakisch
bridge-type.config.openweathermap.weather-api.language.option.sl = Slowenisch
bridge-type.config.openweathermap.weather-api.language.option.tr = Türkisch
bridge-type.config.openweathermap.weather-api.language.option.ua = Ukrainisch
bridge-type.config.openweathermap.weather-api.language.option.vi = Vietnamesisch
bridge-type.config.openweathermap.weather-api.language.option.zh_cn = Chinesisch - Simplified
bridge-type.config.openweathermap.weather-api.language.option.zh_tw = Chinesisch - Traditional
# thing types
thing-type.openweathermap.weather-and-forecast.label = Wetterinformationen
thing-type.openweathermap.weather-and-forecast.description = Ermöglicht die Anzeige der aktuellen Wetterinformationen und der Wettervorhersage.
thing-type.openweathermap.uvindex.label = UV-Index
thing-type.openweathermap.uvindex.description = Ermöglicht die Anzeige des aktuellen UV-Index.
# thing types config
thing-type.config.openweathermap.weather-and-forecast.location.label = Ort der Wetterdaten
thing-type.config.openweathermap.weather-and-forecast.location.description = Ort der Wetterdaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).
thing-type.config.openweathermap.weather-and-forecast.forecastHours.label = Stunden
thing-type.config.openweathermap.weather-and-forecast.forecastHours.description = Anzahl der Stunden für die Wettervorhersage.
thing-type.config.openweathermap.weather-and-forecast.forecastDays.label = Tage
thing-type.config.openweathermap.weather-and-forecast.forecastDays.description = Anzahl der Tage für die Wettervorhersage.
thing-type.config.openweathermap.uvindex.location.label = Ort der Wetterdaten
thing-type.config.openweathermap.uvindex.location.description = Ort der Wetterdaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).
thing-type.config.openweathermap.uvindex.forecastDays.label = Tage
thing-type.config.openweathermap.uvindex.forecastDays.description = Anzahl der Tage für die UV-Index Vorhersage.
# channel group types
channel-group-type.openweathermap.station.label = Wetterstation
channel-group-type.openweathermap.station.description = Fasst Daten über die Wetterstation oder den Ort zusammen.
channel-group-type.openweathermap.weather.label = Aktuelles Wetter
channel-group-type.openweathermap.weather.description = Fasst aktuelle Wetterdaten zusammen.
channel-group-type.openweathermap.hourlyForecast.label = 3 Stunden Wettervorhersage
channel-group-type.openweathermap.hourlyForecast.description = Fasst Daten der 5 Tage / 3 Stunden Wettervorhersage zusammen.
channel-group-type.openweathermap.dailyForecast.label = Tägliche Wettervorhersage
channel-group-type.openweathermap.dailyForecast.description = Fasst Daten der 16 Tage / täglichen Wettervorhersage zusammen.
channel-group-type.openweathermap.uvindex.label = Aktueller UV-Index
channel-group-type.openweathermap.uvindex.description = Fasst aktuelle UV-Index Daten zusammen.
channel-group-type.openweathermap.uvindexForecast.label = UV-Index Vorhersage
channel-group-type.openweathermap.uvindexForecast.description = Fasst Daten der UV-Index Vorhersage zusammen.
# channel groups
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.label = Wettervorhersage für 3 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.description = Fasst Daten der Wettervorhersage in den nächsten drei Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours06.label = Wettervorhersage für 6 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours06.description = Fasst Daten der Wettervorhersage in sechs Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours09.label = Wettervorhersage für 9 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours09.description = Fasst Daten der Wettervorhersage in neun Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours12.label = Wettervorhersage für 12 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours12.description = Fasst Daten der Wettervorhersage in zwölf Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours15.label = Wettervorhersage für 15 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours15.description = Fasst Daten der Wettervorhersage in 15 Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours18.label = Wettervorhersage für 18 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours18.description = Fasst Daten der Wettervorhersage in 18 Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours21.label = Wettervorhersage für 21 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours21.description = Fasst Daten der Wettervorhersage in 21 Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastHours24.label = Wettervorhersage für 24 Stunden
thing-type.openweathermap.weather-and-forecast.group.forecastHours24.description = Fasst Daten der Wettervorhersage in 24 Stunden zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastToday.label = Wettervorhersage für heute
thing-type.openweathermap.weather-and-forecast.group.forecastToday.description = Fasst Daten der heutigen Wettervorhersage zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastTomorrow.label = Wettervorhersage für morgen
thing-type.openweathermap.weather-and-forecast.group.forecastTomorrow.description = Fasst Daten der morgigen Wettervorhersage zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastDay2.label = Wettervorhersage für übermorgen
thing-type.openweathermap.weather-and-forecast.group.forecastDay2.description = Fasst Daten der übermorgigen Wettervorhersage zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastDay3.label = Wettervorhersage für 3 Tage
thing-type.openweathermap.weather-and-forecast.group.forecastDay3.description = Fasst Daten der Wettervorhersage in drei Tagen zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastDay4.label = Wettervorhersage für 4 Tage
thing-type.openweathermap.weather-and-forecast.group.forecastDay4.description = Fasst Daten der Wettervorhersage in vier Tagen zusammen.
thing-type.openweathermap.weather-and-forecast.group.forecastDay5.label = Wettervorhersage für 5 Tage
thing-type.openweathermap.weather-and-forecast.group.forecastDay5.description = Fasst Daten der Wettervorhersage in fünf Tagen zusammen.
thing-type.openweathermap.uvindex.group.forecastTomorrow.label = UV-Index für morgen
thing-type.openweathermap.uvindex.group.forecastTomorrow.description = Fasst Daten der morgigen UV-Index Vorhersage zusammen.
thing-type.openweathermap.uvindex.group.forecastDay2.label = UV-Index für übermorgen
thing-type.openweathermap.uvindex.group.forecastDay2.description = Fasst Daten der übermorgigen UV-Index Vorhersage zusammen.
thing-type.openweathermap.uvindex.group.forecastDay3.label = UV-Index für 3 Tage
thing-type.openweathermap.uvindex.group.forecastDay3.description = Fasst Daten der UV-Index Vorhersage in drei Tagen zusammen.
thing-type.openweathermap.uvindex.group.forecastDay4.label = UV-Index für 4 Tage
thing-type.openweathermap.uvindex.group.forecastDay4.description = Fasst Daten der UV-Index Vorhersage in vier Tagen zusammen.
thing-type.openweathermap.uvindex.group.forecastDay5.label = UV-Index für 5 Tage
thing-type.openweathermap.uvindex.group.forecastDay5.description = Fasst Daten der UV-Index Vorhersage in fünf Tagen zusammen.
# channel types
channel-type.openweathermap.station-id.label = Station-ID
channel-type.openweathermap.station-id.description = Zeigt die ID der Wetterstation oder des Ortes an.
channel-type.openweathermap.station-name.label = Name
channel-type.openweathermap.station-name.description = Zeigt den Namen der Wetterstation oder des Ortes an.
channel-group-type.openweathermap.station.channel.location.label = Ort
channel-group-type.openweathermap.station.channel.location.description = Zeigt den Ort der Wetterstation in geographischen Koordinaten (Breitengrad/Längengrad/Höhe) an.
channel-type.openweathermap.time-stamp.label = Letzte Messung
channel-type.openweathermap.time-stamp.description = Zeigt den Zeitpunkt der letzten Messung an.
channel-type.openweathermap.time-stamp.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS
channel-type.openweathermap.hourly-forecast-time-stamp.label = Vorhersage Zeit
channel-type.openweathermap.hourly-forecast-time-stamp.description = Zeigt den Zeitpunkt der Vorhersage an.
channel-type.openweathermap.hourly-forecast-time-stamp.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS
channel-type.openweathermap.daily-forecast-time-stamp.label = Vorhersage Datum
channel-type.openweathermap.daily-forecast-time-stamp.description = Zeigt das Datum der Vorhersage an.
channel-type.openweathermap.daily-forecast-time-stamp.state.pattern = %1$td.%1$tm.%1$tY
channel-type.openweathermap.condition.label = Wetterlage
channel-type.openweathermap.condition.description = Zeigt die aktuelle Wetterlage an.
channel-type.openweathermap.forecasted-condition.label = Vorhergesagte Wetterlage
channel-type.openweathermap.forecasted-condition.description = Zeigt die vorhergesagte Wetterlage an.
channel-type.openweathermap.condition-id.label = Wetterlage-ID
channel-type.openweathermap.condition-id.description = Zeigt die ID der Wetterlage an.
channel-type.openweathermap.condition-icon.label = Icon
channel-type.openweathermap.condition-icon.description = Zeigt das Icon der Wetterlage an.
channel-type.openweathermap.condition-icon-id.label = Icon-ID
channel-type.openweathermap.condition-icon-id.description = Zeigt die ID für das Icon der Wetterlage an.
channel-type.openweathermap.forecasted-outdoor-temperature.label = Vorhergesagte Temperatur
channel-type.openweathermap.forecasted-outdoor-temperature.description = Zeigt die vorhergesagte Außentemperatur an.
channel-type.openweathermap.forecasted-min-outdoor-temperature.label = Minimale Temperatur
channel-type.openweathermap.forecasted-min-outdoor-temperature.description = Zeigt die vorhergesagte minimale Außentemperatur an.
channel-type.openweathermap.forecasted-max-outdoor-temperature.label = Maximale Temperatur
channel-type.openweathermap.forecasted-max-outdoor-temperature.description = Zeigt die vorhergesagte maximale Außentemperatur an.
channel-type.openweathermap.apparent-temperature.label = Gefühlte Temperatur
channel-type.openweathermap.apparent-temperature.description = Zeigt die gefühlte Außentemperatur an.
channel-type.openweathermap.forecasted-apparent-temperature.label = Vorhergesagte Gefühlte Temperatur
channel-type.openweathermap.forecasted-apparent-temperature.description = Zeigt die vorhergesagte gefühlte Außentemperatur an.
channel-type.openweathermap.forecasted-barometric-pressure.label = Vorhergesagter Luftdruck
channel-type.openweathermap.forecasted-barometric-pressure.description = Zeigt den vorhergesagten Luftdruck an.
channel-type.openweathermap.forecasted-atmospheric-humidity.label = Vorhergesagte Luftfeuchtigkeit
channel-type.openweathermap.forecasted-atmospheric-humidity.description = Zeigt die vorhergesagte Luftfeuchtigkeit an.
channel-type.openweathermap.forecasted-wind-speed.label = Vorhergesagte Windgeschwindigkeit
channel-type.openweathermap.forecasted-wind-speed.description = Zeigt die vorhergesagte Windgeschwindigkeit an.
channel-type.openweathermap.forecasted-wind-direction.label = Vorhergesagte Windrichtung
channel-type.openweathermap.forecasted-wind-direction.description = Zeigt die vorhergesagte Windrichtung an.
channel-type.openweathermap.gust-speed.label = Windböengeschwindigkeit
channel-type.openweathermap.gust-speed.description = Zeigt die aktuelle Windböengeschwindigkeit an.
channel-type.openweathermap.forecasted-gust-speed.label = Vorhergesagte Windböengeschwindigkeit
channel-type.openweathermap.forecasted-gust-speed.description = Zeigt die vorhergesagte Windböengeschwindigkeit an.
channel-type.openweathermap.cloudiness.label = Bewölkung
channel-type.openweathermap.cloudiness.description = Zeigt die aktuelle Bewölkung an.
channel-type.openweathermap.forecasted-cloudiness.label = Vorhergesagte Bewölkung
channel-type.openweathermap.forecasted-cloudiness.description = Zeigt die vorhergesagte Bewölkung an.
channel-type.openweathermap.visibility.label = Sichtweite
channel-type.openweathermap.visibility.description = Zeigt die aktuelle Sichtweite an.
channel-type.openweathermap.rain.label = Regen
channel-type.openweathermap.rain.description = Zeigt den kumulierten Regen der letzten Stunde an.
channel-type.openweathermap.forecasted-rain.label = Vorhergesagter Regen
channel-type.openweathermap.forecasted-rain.description = Zeigt die vorhergesagte Regenmenge an.
channel-type.openweathermap.snow.label = Schnee
channel-type.openweathermap.snow.description = Zeigt den kumulierten Schnee der letzten Stunde an.
channel-type.openweathermap.forecasted-snow.label = Vorhergesagter Schnee
channel-type.openweathermap.forecasted-snow.description = Zeigt die vorhergesagte Schneemenge an.
channel-type.openweathermap.uvindex.label = UV-Index
channel-type.openweathermap.uvindex.description = Zeigt den aktuellen UV-Index an.
channel-type.openweathermap.forecasted-uvindex.label = Vorhergesagter UV-Index
channel-type.openweathermap.forecasted-uvindex.description = Zeigt den vorhergesagten UV-Index an.
# thing status
offline.conf-error-missing-apikey = Der Parameter 'API Schlüssel' muss konfiguriert werden.
offline.conf-error-invalid-apikey = Ungültiger 'API Schlüssel'. Mehr Infos unter https://openweathermap.org/faq#error401.
offline.conf-error-not-supported-refreshInterval = Der Parameter 'Abfrageintervall' muss mindestens 10 min betragen.
offline.conf-error-not-supported-language = Der angegebene Parameter 'Sprache' wird nicht unterstützt.
offline.conf-error-missing-location = Der Parameter 'Ort' muss konfiguriert werden.
offline.conf-error-parsing-location = Der Parameter 'Ort' kann nicht in Latitude und Longitude getrennt werden.
offline.conf-error-not-supported-number-of-hours = Der Parameter 'forecastHours' muss zwischen 0 und 120 liegen - Schrittweite: 3.
offline.conf-error-not-supported-number-of-days = Der Parameter 'forecastDays' muss zwischen 0 und 16 liegen.
offline.conf-error-not-supported-uvindex-number-of-days = Der Parameter 'forecastDays' muss zwischen 1 und 8 liegen.
# discovery result
discovery.openweathermap.weather-and-forecast.api.local.label = Lokales Wetter und Wettervorhersage
discovery.openweathermap.uvindex.api.local.label = Lokaler UV-Index

View File

@@ -0,0 +1,257 @@
# binding
binding.openweathermap.name = Extension OpenWeatherMap
binding.openweathermap.description = L'extension OpenWeatherMap fournit la météo actuelle et les prévisions dans votre ville.
# bridge types
thing-type.openweathermap.weather-api.label = Compte OpenWeatherMap
thing-type.openweathermap.weather-api.description = Fournit un accès à l'API d'OpenWeatherMap.
# bridge types config
bridge-type.config.openweathermap.weather-api.apikey.label = Clé API
bridge-type.config.openweathermap.weather-api.apikey.description = Clé pour accéder à l'API d'OpenWeatherMap.
bridge-type.config.openweathermap.weather-api.refreshInterval.label = Intervalle d'actualisation
bridge-type.config.openweathermap.weather-api.refreshInterval.description = Spécifie l'intervalle d'actualisation (en minutes).
bridge-type.config.openweathermap.weather-api.language.label = Langue
bridge-type.config.openweathermap.weather-api.language.description = Langue à utiliser par l'API d'OpenWeatherMap.
bridge-type.config.openweathermap.weather-api.language.option.ar = Arabe
bridge-type.config.openweathermap.weather-api.language.option.bg = Bulgare
bridge-type.config.openweathermap.weather-api.language.option.ca = Catalan
bridge-type.config.openweathermap.weather-api.language.option.cz = Tchèque
bridge-type.config.openweathermap.weather-api.language.option.de = Allemand
bridge-type.config.openweathermap.weather-api.language.option.el = Grec
bridge-type.config.openweathermap.weather-api.language.option.en = Anglais
bridge-type.config.openweathermap.weather-api.language.option.es = Espagnol
bridge-type.config.openweathermap.weather-api.language.option.fa = Persan (Farsi)
bridge-type.config.openweathermap.weather-api.language.option.fi = Finlandais
bridge-type.config.openweathermap.weather-api.language.option.fr = Français
bridge-type.config.openweathermap.weather-api.language.option.gl = Galicien
bridge-type.config.openweathermap.weather-api.language.option.hr = Croate
bridge-type.config.openweathermap.weather-api.language.option.hu = Hongrois
bridge-type.config.openweathermap.weather-api.language.option.it = Italien
bridge-type.config.openweathermap.weather-api.language.option.ja = Japonais
bridge-type.config.openweathermap.weather-api.language.option.kr = Coréen
bridge-type.config.openweathermap.weather-api.language.option.la = Letton
bridge-type.config.openweathermap.weather-api.language.option.lt = Lituanien
bridge-type.config.openweathermap.weather-api.language.option.mk = Macédonien
bridge-type.config.openweathermap.weather-api.language.option.nl = Néerlandais
bridge-type.config.openweathermap.weather-api.language.option.pl = Polonais
bridge-type.config.openweathermap.weather-api.language.option.pt = Portugais
bridge-type.config.openweathermap.weather-api.language.option.ro = Roumain
bridge-type.config.openweathermap.weather-api.language.option.ru = Russe
bridge-type.config.openweathermap.weather-api.language.option.se = Suédois
bridge-type.config.openweathermap.weather-api.language.option.sk = Slovaque
bridge-type.config.openweathermap.weather-api.language.option.sl = Slovène
bridge-type.config.openweathermap.weather-api.language.option.tr = Turc
bridge-type.config.openweathermap.weather-api.language.option.ua = Ukrainien
bridge-type.config.openweathermap.weather-api.language.option.vi = Vietnamien
bridge-type.config.openweathermap.weather-api.language.option.zh_cn = Chinois - Simplifié
bridge-type.config.openweathermap.weather-api.language.option.zh_tw = Chinois - Traditionnel
# thing types
thing-type.openweathermap.weather-and-forecast.label = Météo actuelle et prévisions
thing-type.openweathermap.weather-and-forecast.description = Fournit les données météorologiques actuelles et les prévisions de l'API d'OpenWeatherMap.
thing-type.openweathermap.uvindex.label = Indice UV
thing-type.openweathermap.uvindex.description = Fournit les données d'indice UV de l'API d'OpenWeatherMap.
# thing types config
thing-type.config.openweathermap.weather-and-forecast.location.label = Localisation
thing-type.config.openweathermap.weather-and-forecast.location.description = Localisation en coordonnées géographiques (latitude, longitude, altitude).
thing-type.config.openweathermap.weather-and-forecast.forecastHours.label = Nombre d'heures
thing-type.config.openweathermap.weather-and-forecast.forecastHours.description = Nombre d'heures pour les prévisions horaires.
thing-type.config.openweathermap.weather-and-forecast.forecastDays.label = Nombre de jours
thing-type.config.openweathermap.weather-and-forecast.forecastDays.description = Nombre de jours pour les prévisions quotidiennes.
thing-type.config.openweathermap.uvindex.location.label = Localisation
thing-type.config.openweathermap.uvindex.location.description = Localisation en coordonnées géographiques (latitude, longitude, altitude).
thing-type.config.openweathermap.uvindex.forecastDays.label = Nombre de jours
thing-type.config.openweathermap.uvindex.forecastDays.description = Nombre de jours pour les prévisions d'indice UV.
# channel group types
channel-group-type.openweathermap.station.label = Station météo
channel-group-type.openweathermap.station.description = Représente une station météo.
channel-group-type.openweathermap.weather.label = Météo actuelle
channel-group-type.openweathermap.weather.description = Représente la météo actuelle.
channel-group-type.openweathermap.hourlyForecast.label = Prévisions à 3 heures
channel-group-type.openweathermap.hourlyForecast.description = Prévisions météorologiques à 5 jours par tranches de 3 heures.
channel-group-type.openweathermap.dailyForecast.label = Prévisions quotidiennes
channel-group-type.openweathermap.dailyForecast.description = Prévisions météorologiques quotidiennes à 16 jours.
channel-group-type.openweathermap.uvindex.label = Indice UV actuel
channel-group-type.openweathermap.uvindex.description = Représente l'indice UV actuel.
channel-group-type.openweathermap.uvindexForecast.label = Indice UV pour aujourd'hui
channel-group-type.openweathermap.uvindexForecast.description = Représente les prévisions l'indice UV pour aujourd'hui.
# channel groups
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.label = Prévisions dans 3 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.description = Représente les prévisions météorologiques pour les 3 prochaines heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours06.label = Prévisions dans 6 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours06.description = Représente les prévisions météorologiques dans 6 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours09.label = Prévisions dans 9 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours09.description = Représente les prévisions météorologiques dans 9 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours12.label = Prévisions dans 12 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours12.description = Représente les prévisions météorologiques dans 12 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours15.label = Prévisions dans 15 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours15.description = Représente les prévisions météorologiques dans 15 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours18.label = Prévisions dans 18 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours18.description = Représente les prévisions météorologiques dans 18 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours21.label = Prévisions dans 21 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours21.description = Représente les prévisions météorologiques dans 21 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastHours24.label = Prévisions dans 24 heures
thing-type.openweathermap.weather-and-forecast.group.forecastHours24.description = Représente les prévisions météorologiques dans 24 heures.
thing-type.openweathermap.weather-and-forecast.group.forecastToday.label = Prévisions pour aujourd'hui
thing-type.openweathermap.weather-and-forecast.group.forecastToday.description = Représente les prévisions météorologiques pour aujourd'hui.
thing-type.openweathermap.weather-and-forecast.group.forecastTomorrow.label = Prévisions pour demain
thing-type.openweathermap.weather-and-forecast.group.forecastTomorrow.description = Représente les prévisions météorologiques pour demain.
thing-type.openweathermap.weather-and-forecast.group.forecastDay2.label = Prévisions dans 2 jours
thing-type.openweathermap.weather-and-forecast.group.forecastDay2.description = Représente les prévisions météorologiques dans deux jours.
thing-type.openweathermap.weather-and-forecast.group.forecastDay3.label = Prévisions dans 3 jours
thing-type.openweathermap.weather-and-forecast.group.forecastDay3.description = Représente les prévisions météorologiques dans trois jours.
thing-type.openweathermap.weather-and-forecast.group.forecastDay4.label = Prévisions dans 4 jours
thing-type.openweathermap.weather-and-forecast.group.forecastDay4.description = Représente les prévisions météorologiques dans quatre jours.
thing-type.openweathermap.weather-and-forecast.group.forecastDay5.label = Prévisions dans 5 jours
thing-type.openweathermap.weather-and-forecast.group.forecastDay5.description = Représente les prévisions météorologiques dans cinq jours.
thing-type.openweathermap.uvindex.group.forecastTomorrow.label = Indice UV pour demain
thing-type.openweathermap.uvindex.group.forecastTomorrow.description = Représente les prévisions l'indice UV pour demain.
thing-type.openweathermap.uvindex.group.forecastDay2.label = Indice UV dans 2 jours
thing-type.openweathermap.uvindex.group.forecastDay2.description = Représente les prévisions l'indice UV dans deux jours.
thing-type.openweathermap.uvindex.group.forecastDay3.label = Indice UV dans 3 jours
thing-type.openweathermap.uvindex.group.forecastDay3.description = Représente les prévisions l'indice UV dans trois jours.
thing-type.openweathermap.uvindex.group.forecastDay4.label = Indice UV dans 4 jours
thing-type.openweathermap.uvindex.group.forecastDay4.description = Représente les prévisions l'indice UV dans quatre jours.
thing-type.openweathermap.uvindex.group.forecastDay5.label = Indice UV dans 5 jours
thing-type.openweathermap.uvindex.group.forecastDay5.description = Représente les prévisions l'indice UV dans cinq jours.
# channel types
channel-type.openweathermap.station-id.label = Id station
channel-type.openweathermap.station-id.description = L'identifiant de la station météo ou de la ville.
channel-type.openweathermap.station-name.label = Nom station
channel-type.openweathermap.station-name.description = Le nom de la station météo ou de la ville.
channel-group-type.openweathermap.station.channel.location.label = Localisation
channel-group-type.openweathermap.station.channel.location.description = L'emplacement de la station météo ou de la ville en coordonnées géographiques (latitude / longitude / altitude).
channel-type.openweathermap.time-stamp.label = Heure d'observation
channel-type.openweathermap.time-stamp.description = La date et l'heure d'observation de la météo.
channel-type.openweathermap.time-stamp.state.pattern = %1$td/%1$tm/%1$tY %1$tH:%1$tM:%1$tS
channel-type.openweathermap.hourly-forecast-time-stamp.label = Heure des prévisions
channel-type.openweathermap.hourly-forecast-time-stamp.description = La date et l'heure des prévisions.
channel-type.openweathermap.hourly-forecast-time-stamp.state.pattern = %1$td/%1$tm/%1$tY %1$tH:%1$tM:%1$tS
channel-type.openweathermap.daily-forecast-time-stamp.label = Date des prévisions
channel-type.openweathermap.daily-forecast-time-stamp.description = La date des prévisions.
channel-type.openweathermap.daily-forecast-time-stamp.state.pattern = %1$td/%1$tm/%1$tY
channel-type.openweathermap.condition.label = Conditions météorologiques
channel-type.openweathermap.condition.description = Les conditions météorologiques actuelles.
channel-type.openweathermap.forecasted-condition.label = Conditions météorologiques prévues
channel-type.openweathermap.forecasted-condition.description = Les conditions météorologiques prévues.
channel-type.openweathermap.condition-id.label = Id conditions météorologiques
channel-type.openweathermap.condition-id.description = L'identifiant des conditions météorologiques.
channel-type.openweathermap.condition-icon.label = Icône
channel-type.openweathermap.condition-icon.description = L'icône représentant les conditions météorologiques.
channel-type.openweathermap.condition-icon-id.label = Id icône
channel-type.openweathermap.condition-icon-id.description = L'identifiant de l'icône représentant les conditions météorologiques.
channel-type.openweathermap.forecasted-outdoor-temperature.label = Température prévue
channel-type.openweathermap.forecasted-outdoor-temperature.description = La température extérieure prévue.
channel-type.openweathermap.forecasted-min-outdoor-temperature.label = Température minimale
channel-type.openweathermap.forecasted-min-outdoor-temperature.description = La température extérieure minimale prévue.
channel-type.openweathermap.forecasted-max-outdoor-temperature.label = Température maximale
channel-type.openweathermap.forecasted-max-outdoor-temperature.description = La température extérieure maximale prévue.
channel-type.openweathermap.forecasted-barometric-pressure.label = Pression barométrique prévue
channel-type.openweathermap.forecasted-barometric-pressure.description = La pression barométrique prévue.
channel-type.openweathermap.forecasted-atmospheric-humidity.label = Humidité atmosphérique prévue
channel-type.openweathermap.forecasted-atmospheric-humidity.description = L'humidité relative atmosphérique prévue.
channel-type.openweathermap.forecasted-wind-speed.label = Vitesse prévue du vent
channel-type.openweathermap.forecasted-wind-speed.description = La vitesse prévue du vent.
channel-type.openweathermap.forecasted-wind-direction.label = Direction prévue du vent
channel-type.openweathermap.forecasted-wind-direction.description = La direction prévue du vent exprimée sous forme d'angle.
channel-type.openweathermap.gust-speed.label = Vitesse des rafales de vent
channel-type.openweathermap.gust-speed.description = La vitesse actuelle des rafales de vent.
channel-type.openweathermap.forecasted-gust-speed.label = Vitesse prévue des rafales de vent
channel-type.openweathermap.forecasted-gust-speed.description = La vitesse prévue des rafales de vent.
channel-type.openweathermap.cloudiness.label = Nébulosité
channel-type.openweathermap.cloudiness.description = La nébulosité actuelle.
channel-type.openweathermap.forecasted-cloudiness.label = Nébulosité prévue
channel-type.openweathermap.forecasted-cloudiness.description = La nébulosité prévue.
channel-type.openweathermap.visibility.label = Distance de visibilité
channel-type.openweathermap.visibility.description = La distance de visibilité.
channel-type.openweathermap.rain.label = Pluie
channel-type.openweathermap.rain.description = La quantité de pluie dans la dernière heure.
channel-type.openweathermap.forecasted-rain.label = Pluie prévue
channel-type.openweathermap.forecasted-rain.description = La quantité prévue de pluie.
channel-type.openweathermap.snow.label = Neige
channel-type.openweathermap.snow.description = La quantité de neige dans la dernière heure.
channel-type.openweathermap.forecasted-snow.label = Neige prévue
channel-type.openweathermap.forecasted-snow.description = La quantité prévue de neige.
channel-type.openweathermap.uvindex.label = Indice UV
channel-type.openweathermap.uvindex.description = L'indice UV actuel.
channel-type.openweathermap.forecasted-uvindex.label = Indice UV prévu
channel-type.openweathermap.forecasted-uvindex.description = L'indice UV prévu.
# thing status
offline.conf-error-missing-apikey = Le paramètre 'apikey' doit être configuré.
offline.conf-error-invalid-apikey = Clé API invalide. Veuillez consulter https://openweathermap.org/faq#error401 pour plus d''informations.
offline.conf-error-not-supported-refreshInterval = Le paramètre 'refreshInterval' doit être au moins de 10 minutes.
offline.conf-error-not-supported-language = Le paramètre 'language' choisi n''est pas supporté.
offline.conf-error-missing-location = Le paramètre 'location' doit être configuré.
offline.conf-error-parsing-location = Le paramètre 'location' n''a pas pu être séparé en latitude et en longitude.
offline.conf-error-not-supported-number-of-hours = Le paramètre 'forecastHours' doit être compris entre 0 et 120 - par incrément de 3.
offline.conf-error-not-supported-number-of-days = Le paramètre 'forecastDays' doit être compris entre 0 et 16.
offline.conf-error-not-supported-uvindex-number-of-days = Le paramètre 'forecastDays' doit être compris entre 1 et 8.
# discovery result
discovery.openweathermap.weather-and-forecast.api.local.label = Météo locale et prévisions
discovery.openweathermap.uvindex.api.local.label = Indice UV local

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="openweathermap"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- OpenWeatherMap Binding -->
<bridge-type id="weather-api">
<label>OpenWeatherMap Account</label>
<description>Provides access to the OpenWeatherMap API.</description>
<representation-property>apikey</representation-property>
<config-description-ref uri="bridge-type:openweathermap:weather-api"/>
</bridge-type>
</thing:thing-descriptions>

View File

@@ -0,0 +1,341 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="openweathermap"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- Channel groups for OpenWeatherMap Binding -->
<channel-group-type id="station">
<label>Weather Station</label>
<description>This is a weather station.</description>
<channels>
<channel id="id" typeId="station-id"/>
<channel id="name" typeId="station-name"/>
<channel id="location" typeId="system.location">
<description>Location of the weather station or the city.</description>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="weather">
<label>Current Weather</label>
<description>This is the current weather.</description>
<channels>
<channel id="time-stamp" typeId="time-stamp"/>
<channel id="condition" typeId="condition"/>
<channel id="condition-id" typeId="condition-id"/>
<channel id="icon" typeId="condition-icon"/>
<channel id="icon-id" typeId="condition-icon-id"/>
<channel id="temperature" typeId="system.outdoor-temperature"/>
<channel id="apparent-temperature" typeId="apparent-temperature"/>
<channel id="pressure" typeId="system.barometric-pressure"/>
<channel id="humidity" typeId="system.atmospheric-humidity"/>
<channel id="wind-speed" typeId="system.wind-speed"/>
<channel id="wind-direction" typeId="system.wind-direction"/>
<channel id="gust-speed" typeId="gust-speed"/>
<channel id="cloudiness" typeId="cloudiness"/>
<channel id="rain" typeId="rain"/>
<channel id="snow" typeId="snow"/>
<channel id="visibility" typeId="visibility"/>
</channels>
</channel-group-type>
<channel-group-type id="hourlyForecast">
<label>3 Hour Forecast</label>
<description>This is the 5 day / 3 hour weather forecast.</description>
<channels>
<channel id="time-stamp" typeId="hourly-forecast-time-stamp"/>
<channel id="condition" typeId="forecasted-condition"/>
<channel id="condition-id" typeId="condition-id"/>
<channel id="icon" typeId="condition-icon"/>
<channel id="icon-id" typeId="condition-icon-id"/>
<channel id="temperature" typeId="forecasted-outdoor-temperature"/>
<channel id="min-temperature" typeId="forecasted-min-outdoor-temperature"/>
<channel id="max-temperature" typeId="forecasted-max-outdoor-temperature"/>
<channel id="apparent-temperature" typeId="forecasted-apparent-temperature"/>
<channel id="pressure" typeId="forecasted-barometric-pressure"/>
<channel id="humidity" typeId="forecasted-atmospheric-humidity"/>
<channel id="wind-speed" typeId="forecasted-wind-speed"/>
<channel id="wind-direction" typeId="forecasted-wind-direction"/>
<channel id="gust-speed" typeId="forecasted-gust-speed"/>
<channel id="cloudiness" typeId="forecasted-cloudiness"/>
<channel id="rain" typeId="forecasted-rain"/>
<channel id="snow" typeId="forecasted-snow"/>
</channels>
</channel-group-type>
<channel-group-type id="dailyForecast">
<label>Daily Forecast</label>
<description>This is the 16 day / daily weather forecast.</description>
<channels>
<channel id="time-stamp" typeId="daily-forecast-time-stamp"/>
<channel id="condition" typeId="forecasted-condition"/>
<channel id="condition-id" typeId="condition-id"/>
<channel id="icon" typeId="condition-icon"/>
<channel id="icon-id" typeId="condition-icon-id"/>
<channel id="min-temperature" typeId="forecasted-min-outdoor-temperature"/>
<channel id="max-temperature" typeId="forecasted-max-outdoor-temperature"/>
<channel id="apparent-temperature" typeId="forecasted-apparent-temperature"/>
<channel id="pressure" typeId="forecasted-barometric-pressure"/>
<channel id="humidity" typeId="forecasted-atmospheric-humidity"/>
<channel id="wind-speed" typeId="forecasted-wind-speed"/>
<channel id="wind-direction" typeId="forecasted-wind-direction"/>
<channel id="gust-speed" typeId="forecasted-gust-speed"/>
<channel id="cloudiness" typeId="forecasted-cloudiness"/>
<channel id="rain" typeId="forecasted-rain"/>
<channel id="snow" typeId="forecasted-snow"/>
</channels>
</channel-group-type>
<channel-group-type id="uvindex">
<label>Current UV Index</label>
<description>This is the current UV Index.</description>
<channels>
<channel id="time-stamp" typeId="daily-forecast-time-stamp"/>
<channel id="uvindex" typeId="uvindex"/>
</channels>
</channel-group-type>
<channel-group-type id="uvindexForecast">
<label>Forecasted UV Index</label>
<description>This is the forecasted UV Index.</description>
<channels>
<channel id="time-stamp" typeId="daily-forecast-time-stamp"/>
<channel id="uvindex" typeId="forecasted-uvindex"/>
</channels>
</channel-group-type>
<!-- Channels for OpenWeatherMap Binding -->
<channel-type id="station-id">
<item-type>String</item-type>
<label>Station Id</label>
<description>Id of the weather station or the city.</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="station-name">
<item-type>String</item-type>
<label>Station Name</label>
<description>Name of the weather station or the city.</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="time-stamp">
<item-type>DateTime</item-type>
<label>Observation Time</label>
<description>Time of data observation.</description>
<category>Time</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
</channel-type>
<channel-type id="hourly-forecast-time-stamp">
<item-type>DateTime</item-type>
<label>Forecast Time</label>
<description>Time of data forecasted.</description>
<category>Time</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
</channel-type>
<channel-type id="daily-forecast-time-stamp">
<item-type>DateTime</item-type>
<label>Forecast Date</label>
<description>Date of data forecasted.</description>
<category>Time</category>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td"/>
</channel-type>
<channel-type id="condition">
<item-type>String</item-type>
<label>Weather Condition</label>
<description>Current weather condition.</description>
<category>Sun_Clouds</category>
<state readOnly="true"/>
</channel-type>
<channel-type id="forecasted-condition">
<item-type>String</item-type>
<label>Forecasted Weather Condition</label>
<description>Forecasted weather condition.</description>
<category>Sun_Clouds</category>
<state readOnly="true"/>
</channel-type>
<channel-type id="condition-id" advanced="true">
<item-type>String</item-type>
<label>Weather Condition Id</label>
<description>Id of the weather condition.</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="condition-icon">
<item-type>Image</item-type>
<label>Icon</label>
<description>Icon representing the weather condition.</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="condition-icon-id" advanced="true">
<item-type>String</item-type>
<label>Icon Id</label>
<description>Id of the icon to create the URL.</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="forecasted-outdoor-temperature">
<item-type>Number:Temperature</item-type>
<label>Forecasted Temperature</label>
<description>Forecasted outdoor temperature.</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-min-outdoor-temperature">
<item-type>Number:Temperature</item-type>
<label>Minimum Temperature</label>
<description>Minimum forecasted outdoor temperature.</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-max-outdoor-temperature">
<item-type>Number:Temperature</item-type>
<label>Maximum Temperature</label>
<description>Maximum forecasted outdoor temperature.</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="apparent-temperature">
<item-type>Number:Temperature</item-type>
<label>Apparent Temperature</label>
<description>Current apparent temperature.</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-apparent-temperature">
<item-type>Number:Temperature</item-type>
<label>Forecasted Apparent Temperature</label>
<description>Forecasted apparent temperature.</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-barometric-pressure">
<item-type>Number:Pressure</item-type>
<label>Forecasted Pressure</label>
<description>Forecasted barometric pressure.</description>
<category>Pressure</category>
<state readOnly="true" pattern="%.3f %unit%"/>
</channel-type>
<channel-type id="forecasted-atmospheric-humidity">
<item-type>Number:Dimensionless</item-type>
<label>Forecasted Humidity</label>
<description>Forecasted atmospheric relative humidity.</description>
<category>Humidity</category>
<state readOnly="true" pattern="%.0f %%"/>
</channel-type>
<channel-type id="forecasted-wind-speed">
<item-type>Number:Speed</item-type>
<label>Forecasted Wind Speed</label>
<description>Forecasted wind speed.</description>
<category>Wind</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-wind-direction">
<item-type>Number:Angle</item-type>
<label>Forecasted Wind Direction</label>
<description>Forecasted wind direction expressed as an angle.</description>
<category>Wind</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="gust-speed" advanced="true">
<item-type>Number:Speed</item-type>
<label>Gust Speed</label>
<description>Current gust speed.</description>
<category>Wind</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="forecasted-gust-speed" advanced="true">
<item-type>Number:Speed</item-type>
<label>Forecasted Gust Speed</label>
<description>Forecasted gust speed.</description>
<category>Wind</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="cloudiness">
<item-type>Number:Dimensionless</item-type>
<label>Cloudiness</label>
<description>Current cloudiness.</description>
<category>Clouds</category>
<state readOnly="true" min="0" max="100" pattern="%d %unit%"/>
</channel-type>
<channel-type id="forecasted-cloudiness">
<item-type>Number:Dimensionless</item-type>
<label>Forecasted Cloudiness</label>
<description>Forecasted cloudiness.</description>
<category>Clouds</category>
<state readOnly="true" min="0" max="100" pattern="%d %unit%"/>
</channel-type>
<channel-type id="rain">
<item-type>Number:Length</item-type>
<label>Rain</label>
<description>Rain volume of the last hour.</description>
<category>Rain</category>
<state readOnly="true" pattern="%.2f %unit%"/>
</channel-type>
<channel-type id="forecasted-rain">
<item-type>Number:Length</item-type>
<label>Forecasted Rain</label>
<description>Forecasted rain volume.</description>
<category>Rain</category>
<state readOnly="true" pattern="%.2f %unit%"/>
</channel-type>
<channel-type id="snow">
<item-type>Number:Length</item-type>
<label>Snow</label>
<description>Snow volume of the last hour.</description>
<category>Snow</category>
<state readOnly="true" pattern="%.2f %unit%"/>
</channel-type>
<channel-type id="forecasted-snow">
<item-type>Number:Length</item-type>
<label>Forecasted Snow</label>
<description>Forecasted snow volume.</description>
<category>Snow</category>
<state readOnly="true" pattern="%.2f %unit%"/>
</channel-type>
<channel-type id="uvindex">
<item-type>Number</item-type>
<label>UV Index</label>
<description>Current UV Index.</description>
<state readOnly="true" pattern="%.1f"/>
</channel-type>
<channel-type id="forecasted-uvindex">
<item-type>Number</item-type>
<label>Forecasted UV Index</label>
<description>Forecasted UV Index.</description>
<state readOnly="true" pattern="%.1f"/>
</channel-type>
<channel-type id="visibility">
<item-type>Number:Length</item-type>
<label>Visibility</label>
<description>Current visibility.</description>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
</thing:thing-descriptions>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="openweathermap"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<!-- OpenWeatherMap Binding -->
<thing-type id="weather-and-forecast">
<supported-bridge-type-refs>
<bridge-type-ref id="weather-api"/>
</supported-bridge-type-refs>
<label>Weather and Forecast</label>
<description>Provides current weather and forecast data from the OpenWeatherMap API.</description>
<channel-groups>
<channel-group id="station" typeId="station"/>
<channel-group id="current" typeId="weather"/>
<channel-group id="forecastHours03" typeId="hourlyForecast">
<label>3 Hours Forecast</label>
<description>This is the weather forecast for the next 3 hours.</description>
</channel-group>
<channel-group id="forecastHours06" typeId="hourlyForecast">
<label>6 Hours Forecast</label>
<description>This is the weather forecast in 6 hours.</description>
</channel-group>
<channel-group id="forecastHours09" typeId="hourlyForecast">
<label>9 Hours Forecast</label>
<description>This is the weather forecast in 9 hours.</description>
</channel-group>
<channel-group id="forecastHours12" typeId="hourlyForecast">
<label>12 Hours Forecast</label>
<description>This is the weather forecast in 12 hours.</description>
</channel-group>
<channel-group id="forecastHours15" typeId="hourlyForecast">
<label>15 Hours Forecast</label>
<description>This is the weather forecast in 15 hours.</description>
</channel-group>
<channel-group id="forecastHours18" typeId="hourlyForecast">
<label>18 Hours Forecast</label>
<description>This is the weather forecast in 18 hours.</description>
</channel-group>
<channel-group id="forecastHours21" typeId="hourlyForecast">
<label>21 Hours Forecast</label>
<description>This is the weather forecast in 21 hours.</description>
</channel-group>
<channel-group id="forecastHours24" typeId="hourlyForecast">
<label>24 Hours Forecast</label>
<description>This is the weather forecast in 24 hours.</description>
</channel-group>
<channel-group id="forecastToday" typeId="dailyForecast">
<label>Todays Forecast</label>
<description>This is the weather forecast for today.</description>
</channel-group>
<channel-group id="forecastTomorrow" typeId="dailyForecast">
<label>Tomorrows Forecast</label>
<description>This is the weather forecast for tomorrow.</description>
</channel-group>
<channel-group id="forecastDay2" typeId="dailyForecast">
<label>2 Day Forecast</label>
<description>This is the weather forecast in two days.</description>
</channel-group>
<channel-group id="forecastDay3" typeId="dailyForecast">
<label>3 Day Forecast</label>
<description>This is the weather forecast in three days.</description>
</channel-group>
<channel-group id="forecastDay4" typeId="dailyForecast">
<label>4 Day Forecast</label>
<description>This is the weather forecast in four days.</description>
</channel-group>
<channel-group id="forecastDay5" typeId="dailyForecast">
<label>5 Day Forecast</label>
<description>This is the weather forecast in five days.</description>
</channel-group>
</channel-groups>
<representation-property>location</representation-property>
<config-description-ref uri="thing-type:openweathermap:weather-and-forecast"/>
</thing-type>
<thing-type id="uvindex">
<supported-bridge-type-refs>
<bridge-type-ref id="weather-api"/>
</supported-bridge-type-refs>
<label>UV Index</label>
<description>Provides UV Index data from the OpenWeatherMap API.</description>
<channel-groups>
<channel-group id="current" typeId="uvindex"/>
<channel-group id="forecastTomorrow" typeId="uvindexForecast">
<label>Tomorrows Forecast</label>
<description>This is the UV Index forecast for tomorrow.</description>
</channel-group>
<channel-group id="forecastDay2" typeId="uvindexForecast">
<label>2 Day Forecast</label>
<description>This is the UV Index forecast in two days.</description>
</channel-group>
<channel-group id="forecastDay3" typeId="uvindexForecast">
<label>3 Day Forecast</label>
<description>This is the UV Index forecast in three days.</description>
</channel-group>
<channel-group id="forecastDay4" typeId="uvindexForecast">
<label>4 Day Forecast</label>
<description>This is the UV Index forecast in four days.</description>
</channel-group>
<channel-group id="forecastDay5" typeId="uvindexForecast">
<label>5 Day Forecast</label>
<description>This is the UV Index forecast in five days.</description>
</channel-group>
</channel-groups>
<representation-property>location</representation-property>
<config-description-ref uri="thing-type:openweathermap:uvindex"/>
</thing-type>
</thing:thing-descriptions>