Ich verwende Weather mit OpenWeatherMap. Wenn ich das Attribute forecast auf daily setze gibt es keine Vorhersage-Readings (fc_*).
Ohne das Attribute gibt es die Stunde-Readings (hfc_*).
Internals:
API OpenWeatherMapAPI
APIKEY XXX
APIOPTIONS cachemaxage:600
DEF API=OpenWeatherMapAPI,cachemaxage:600 apikey=XXX location=51,8 interval=3600 language=de
FUUID 5c432753-f33f-a4cf-bb1b-94dd8e419826602e
FVERSION 59_Weather.pm:0.196280/2019-06-15
INTERVAL 3600
LANG de
LOCATION 51,8
MODEL OpenWeatherMapAPI
NAME Wetter
NOTIFYDEV global
NR 476
NTFY_ORDER 50-Wetter
STATE T: 23 °C : 60 % : 15 km/h P: 1021 hPa
TYPE Weather
OLDREADINGS:
READINGS:
2019-07-21 14:57:30 apiMaintainer Leon Gaultier (<a href=https://forum.fhem.de/index.php?action=profile;u=13684>CoolTux</a>)
2019-07-21 14:57:30 apiVersion 0.4.0
2019-07-21 14:57:30 city Paderborn
2019-07-21 14:57:30 cloudCover 40
2019-07-21 14:57:30 code 26
2019-07-21 14:57:30 condition Überwiegend bewölkt
2019-07-21 14:57:30 country DE
2019-07-21 14:57:30 current_date_time So, 21 Jul 2019 14:57
2019-07-21 14:57:30 high_c 24
2019-07-21 14:57:30 humidity 60
2019-07-21 14:57:30 icon cloudy
2019-07-21 14:57:30 iconAPI 03d
2019-07-21 14:57:30 lastError
2019-07-21 14:57:30 lat 51
2019-07-21 14:57:30 long 8
2019-07-21 14:57:30 low_c 22
2019-07-21 14:57:30 pressure 1021
2019-07-21 14:57:30 pubDate So, 21 Jul 2019 14:57
2019-07-21 14:57:30 state T: 23 °C : 60 % : 15 km/h P: 1021 hPa
2019-07-21 14:57:30 status ok
2019-07-21 14:57:30 sunriseTime So, 21 Jul 2019 05:31
2019-07-21 14:57:30 sunsetTime So, 21 Jul 2019 21:30
2019-07-21 14:57:30 tempHigh 24
2019-07-21 14:57:30 tempLow 22
2019-07-21 14:57:30 temp_c 23
2019-07-21 14:57:30 temperature 23
2019-07-21 14:57:30 validity up-to-date
2019-07-21 14:57:30 visibility 10000
2019-07-21 14:57:30 wind 15
2019-07-21 14:57:30 wind_condition Wind: 15 km/h
2019-07-21 14:57:30 wind_direction 280
2019-07-21 14:57:30 wind_speed 15
fhem:
allowCache 1
interfaces temperature;humidity;wind
Attributes:
forecast daily
API-Key und lat/long habe ich Zwecks Anonymisierung geändert.
Wo liegt der Fehler?
Kein Fehler. Die API liefert nur Stundenweise über 3 Tage. Aber halt nur Stundenweise.
Okay, danke für die Info., die habe ich aus der Commandref oder WIki nicht entnehmen können.
Ich werde es mal im Wiki ergänzen.
Zitat von: kaihs am 21 Juli 2019, 15:34:54
Okay, danke für die Info., die habe ich aus der Commandref oder WIki nicht entnehmen können.
Ich werde es mal im Wiki ergänzen.
Das ist eine super Idee. Hab vielen vielen Dank.
Grüße