Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1575

Weather • Re: Open-Meteo Weather API

$
0
0
So for now, I ignore them in favor of a stable skin.
OK, Thank you. I am trying to learn how you set up this (great!) skin. As you have seen in my other posting, currently I'm trying to get specific hourly weather data (esp. irradiance for my PV-project). As far as I can see, your skin actually already pulls certain hourly data via the api call but unfortunately it can only process and display daily values as of now.

Stupid question, see below your Measure @CurrentUVIndex as an example:
  • The number "0" in Query='hourly.uv_index[0]' obviously means "current day" and 1, 2 [...] in following measures mean day 1, 2 [...] - that's clear. However, the api string "uv_index" (see snippet below) contains the complete hourly data for 7 days * 24 hours, right?
  • In "hourly":{"time" I can also see the hourly date/time array fitting to these hourly.uv_index values, right?
  • Can I already access these hourly values somehow e.g. via hourly.uv_index[0,1] for "current day, hour 1" and [0,2] for hour 2 and so forth? Does your JsonParser have a query possibility for this hourly data? What's the correct syntax?
I would like to use your skin as a basis for my project - but I really need the hourly data. If you can tell me how this works for the UV index I can probably transfer this to the irradiance-values I'm interested in. Thanks for your time and help!

Code:

[@CurrentUVIndex]Group=WeatherDataMeasure=PluginPlugin=JsonParser.dllSource=[MeasureWeather]Query='hourly.uv_index[0]'DynamicVariables=1Logging=NoMatch:0,EmptySource:0
"uv_index":[0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.40,1.20,2.10,2.90,2.90,3.15,2.20,1.70,1.55,1.35,0.50,0.05,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,0.15,0.65,2.15,1.70,0.30,0.35,2.80,2.20,1.30,0.50,0.05,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,0.45,1.25,2.20,2.95,3.35,3.60,3.45,2.80,2.25,1.30,0.50,0.05,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,0.45,1.25,2.10,2.80,3.45,3.80,3.50,3.00,2.15,1.25,0.50,0.05,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.05,0.45,1.20,2.35,3.25,3.95,4.20,4.00,3.35,2.35,1.20,0.50,0.05,0.00,0.00,0.00,0.00]

Statistics: Posted by emp00 — Yesterday, 8:36 pm



Viewing all articles
Browse latest Browse all 1575

Trending Articles