Es sind keine deaktivierten Forecast-Entitäten vorhanden.
Das wird vermutlich der Forecast-API Aufruf sein, da die Daten zur Vorhersage ja nicht lokal vorhanden sind.
Habe auf dieser Seite mal einen Aufruf gemacht und bekomme dann aktuelle Wetterdaten, Vorhersage-Daten für die nächsten 10 Tage, und für den aktuellen Tag und die nächsten 10 Tage jeweils stündliche Vorhersage-Daten. Hier mal nur ein Ausschnitt davon:
{
"current_conditions": {
"air_density": 1.22,
"air_temperature": 15,
"brightness": 26399,
"conditions": "Partly Cloudy",
"delta_t": 0,
"dew_point": 14,
"feels_like": 15,
"icon": "partly-cloudy-day",
"is_precip_local_day_rain_check": false,
"lightning_strike_count_last_1hr": 0,
"lightning_strike_count_last_3hr": 0,
"lightning_strike_last_distance": 14,
"lightning_strike_last_distance_msg": "12 - 16 km",
"lightning_strike_last_epoch": 1719706705,
"precip_accum_local_day": 0.9,
"precip_accum_local_yesterday": 0.02,
"precip_minutes_local_day": 49,
"precip_minutes_local_yesterday": 5,
"pressure_trend": "steady",
"relative_humidity": 98,
"sea_level_pressure": 1014.2,
"solar_radiation": 220,
"station_pressure": 1008.4,
"time": 1719910226,
"uv": 2,
"wet_bulb_globe_temperature": 15,
"wet_bulb_temperature": 15,
"wind_avg": 7,
"wind_direction": 171,
"wind_direction_cardinal": "S",
"wind_gust": 13
},
"forecast": {
"daily": [
{
"air_temp_high": 16,
"air_temp_low": 13,
"conditions": "Rain Possible",
"day_num": 2,
"day_start_local": 1719871200,
"icon": "possibly-rainy-day",
"month_num": 7,
"precip_icon": "chance-rain",
"precip_probability": 40,
"precip_type": "rain",
"sunrise": 1719890672,
"sunset": 1719950000
},
{
"air_temp_high": 15,
"air_temp_low": 10,
"conditions": "Rain Likely",
"day_num": 3,
"day_start_local": 1719957600,
"icon": "rainy",
"month_num": 7,
"precip_icon": "chance-rain",
"precip_probability": 100,
"precip_type": "rain",
"sunrise": 1719977117,
"sunset": 1720036375
}
],
"hourly": [
{
"air_temperature": 15,
"conditions": "Partly Cloudy",
"feels_like": 15,
"icon": "partly-cloudy-day",
"local_day": 2,
"local_hour": 11,
"precip": 0,
"precip_icon": "chance-rain",
"precip_probability": 15,
"precip_type": "rain",
"relative_humidity": 95,
"sea_level_pressure": 1014.2,
"time": 1719910800,
"uv": 1,
"wind_avg": 14,
"wind_direction": 257,
"wind_direction_cardinal": "WSW",
"wind_gust": 17
},
{
"air_temperature": 15,
"conditions": "Rain Possible",
"feels_like": 15,
"icon": "possibly-rainy-day",
"local_day": 2,
"local_hour": 12,
"precip": 0,
"precip_icon": "chance-rain",
"precip_probability": 20,
"precip_type": "rain",
"relative_humidity": 95,
"sea_level_pressure": 1014.2,
"time": 1719914400,
"uv": 1,
"wind_avg": 14,
"wind_direction": 272,
"wind_direction_cardinal": "W",
"wind_gust": 17
}
]
},
"latitude": XX.XXXXX,
"location_name": "XXXXXXXX",
"longitude": X.XXXXX,
"source_id_conditions": 5,
"station": {
"agl": 4,
"elevation": 44.44028854370117,
"is_station_online": true,
"state": 0,
"station_id": XXXXX
},
"status": {
"status_code": 0,
"status_message": "SUCCESS"
},
"timezone": "Europe/Berlin",
"timezone_offset_minutes": 120,
"units": {
"units_air_density": "kg/m3",
"units_brightness": "lux",
"units_distance": "km",
"units_other": "metric",
"units_precip": "mm",
"units_pressure": "mb",
"units_solar_radiation": "w/m2",
"units_temp": "c",
"units_wind": "kph"
}
}
Response Code
200
Response Headers
{
"content-type": "application/json"
}
(Persönliche Infos wurden unkenntlich gemacht)
Wenn ich es richtig verstehe, werden die Daten über (eine?) der folgenden Kommandozeilen angefragt:
Curl
curl -X GET --header 'Accept: application/json' 'https://swd.weatherflow.com/swd/rest/better_forecast?station_id=XXXXX&units_temp=c&units_wind=kph&units_pressure=mb&units_precip=mm&units_distance=km&token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
(Persönliche Infos wurden unkenntlich gemacht)
Request URL
[type or paste code here](https://swd.weatherflow.com/swd/rest/better_forecast?station_id=XXXXX&units_temp=c&units_wind=kph&units_pressure=mb&units_precip=mm&units_distance=km&token=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
(Persönliche Infos wurden unkenntlich gemacht)
Theoretisch müsste eine solche Abfrage doch auch direkt mit Homey machbar sein, oder?