nach langer Zeit frage ich nun nach , weil ich nicht weiter weiß...
Der manuelle Versuch openweathermap zum laufen zu bekommen scheitert.
Wie gesagt, will ich das ganze über die .things und .items zum laufen bekommen. Was mir aber nicht gelingt.
openweathermap.things
Code: Alles auswählen
Bridge openweathermap:weather-api:api "email@hallo.de" [
apikey="asd",
refreshInterval=30,
language="de" ]
{
Thing weather-and-forecast local "Local Weather/Forecast" [
location="0.0",
forecastHours=24,
forecastDays=0
]
Thing uvindex local "UV Index" [
location="0.0",
forecastDays=7
]
}
Code: Alles auswählen
// STATION ITEMS
String Home_StationId "Weather Station: ID [%s]" <weather_location> { channel="openweathermap:weather-and-forecast:api:local:station#id" }
String Home_StationName "Weather Station: Name [%s]" <weather_location> { channel="openweathermap:weather-and-forecast:api:local:station#name" }
Location Home_StationLocation "Weather Station: Location [%2$s°N %3$s°E]" <weather_map> { channel="openweathermap:weather-and-forecast:api:local:station#location" }
// WEATHER CURRENT
DateTime Home_LastMeasurement "Weather Data (Current): Time of Last Measurement [%1$tY-%1$tm-%1$tdT%1$tH:%1$tM:%1$tS]" <time> { channel="openweathermap:weather-and-forecast:api:local:current#time-stamp" }
//Number Home_Clouds "Clouds [%.0f %%]" <clouds> { channel="openweathermap:weather-and-forecast:api:local:current#clouds" }
String Home_Current_Condition "Weather Data (Current): Condition [%s]" <sun_clouds> { channel="openweathermap:weather-and-forecast:api:local:current#condition" }
Image Home_Current_ConditionIcon "Weather Data (Current): Icon" { channel="openweathermap:weather-and-forecast:api:local:current#icon" }
Number:Temperature Home_Current_Temperature "Weather Data (Current): Temperature [%.1f %unit%]" <temperature> (gTempOut) { channel="openweathermap:weather-and-forecast:api:local:current#temperature" }
Number:Pressure Home_Current_Pressure "Weather Data (Current): Barometric Pressure [%.1f %unit%]" <pressure> { channel="openweathermap:weather-and-forecast:api:local:current#pressure" }
Number:Dimensionless Home_Current_Humidity "Weather Data (Current): Atmospheric Humidity [%d %unit%]" <humidity> { channel="openweathermap:weather-and-forecast:api:local:current#humidity" }
Number:Speed Home_Current_WindSpeed "Weather Data (Current): Wind Speed [%.1f km/h]" <wind> { channel="openweathermap:weather-and-forecast:api:local:current#wind-speed" }
Number:Angle Home_Current_WindDirection "Weather Data (Current): Wind Direction [%d %unit%]" <wind> { channel="openweathermap:weather-and-forecast:api:local:current#wind-direction" }
Number:Dimensionless Home_Current_Cloudiness "Weather Data (Current): Cloudiness [%d %unit%]" <sun_clouds> { channel="openweathermap:weather-and-forecast:api:local:current#cloudiness" }
Number:Length Home_Current_RainVolume "Weather Data (Current): Rain Volume [%.1f %unit%]" <rain> { channel="openweathermap:weather-and-forecast:api:local:current#rain" }
Number:Length Home_Current_SnowVolume "Weather Data (Current): Snow Volume [%.1f %unit%]" <snow> { channel="openweathermap:weather-and-forecast:api:local:current#snow" }
Number:Length Home_Current_Visibility "Weather Data (Current): Visibility [%.1f km]" <visibility> { channel="openweathermap:weather-and-forecast:api:local:current#visibility" }
// UV INDEX CURRENT
//DateTime Home_Current_UvIndexTimestamp "Weather UV-Index (Current): Time of Last Measurement [%1$tY-%1$tm-%1$td]" <time> { channel="openweathermap:uvindex:api:local:current#time-stamp" }
//Number Home_Current_UvIndex "Weather UV-Index (Current): UV Index [%d]" <weather_uvindex> { channel="openweathermap:uvindex:api:local:current#uvindex" }
Es funktioniert, sobald ich das Binding über die PaperUI installiere. Bei einem Neustart des Services wird das Binding dann wieder deinstalliert und ich muss die things removen und das Binding neu installieren.
Danke schon mal!