thx Rich…
sounds like I will replace another binding with some python scripts and some public API calls (which provide the same data, without registration etc. )
did that already with petrol prices, public transportation, severe weather warnings…
so I will do it with the ‘normal’ weather also…
found already some api endpoints
edit:
these sound really great …:
{
"dateTime": "2024-05-01T13:00:00Z",
"temp": 22.9,
"tApparent": 27.4,
"symbol": "2",
"precipitation": 0,
"precipitationChance": 0,
"windSpeed": 17.5,
"windGusts": 28.2,
"windDirection": 114.6,
"pressure": 1005,
"humidity": 44.9,
"sunMinutes": 60,
"sunElevation": 49.1,
"uvIndex": 5,
"snowCover": 0,
"snowFresh": 0,
"snowChance": 0
},
{
"dateTime": "2024-05-01T14:00:00Z",
"temp": 23.1,
"tApparent": 26.6,
"symbol": "2",
"precipitation": 0,
"precipitationChance": 0,
"windSpeed": 17,
"windGusts": 28.2,
"windDirection": 113,
"pressure": 1004,
"humidity": 43.3,
"sunMinutes": 60,
"sunElevation": 41.2,
"uvIndex": 4,
"snowCover": 0,
"snowFresh": 0,
"snowChance": 0
},
{
"dateTime": "2024-05-01T15:00:00Z",
"temp": 23.1,
"tApparent": 25.4,
"symbol": "2",
"precipitation": 0,
"precipitationChance": 0,
"windSpeed": 16.7,
"windGusts": 28.7,
"windDirection": 111.9,
"pressure": 1003,
"humidity": 43,
"sunMinutes": 60,
"sunElevation": 32,
"uvIndex": 3,
"snowCover": 0,
"snowFresh": 0,
"snowChance": 0
},
hourly forecasts, even also with elevation (which for me currenlty is comming from astro binding), uvIndex, sunMinutes (for each hour!!!), wind etc. etc…
edit 2:
where my next question comes in…
I have now 336 (14 days * 24 hours) json objects… how to get them effectively into things / items?
Http thing with 336 * 17 channels sounds a little bit weired to me…
any tips / hints / suggestions from your end Rich? how you would do things like that?
Maybe each day in a string channel and do the jsonpath extraction then in the items?