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

Weather • Re: Open-Meteo Weather API

$
0
0
Yeah, looking at the code, I think that is the problem: it gives the max temp for the current day, when the user normally expects the current temperature. Just tested the skin myself and it is indeed off because of that. The solution would be to change:

Code:

RegExp=(?siU)"cloudCoverPhrase":"(.*)".*{"calendarDayTemperatureMax":\[(.*),.*"city":"(.*)".*
in [MeasureWeather] to:

Code:

RegExp=(?siU)"cloudCoverPhrase":"(.*)".*"temperature":(.*),.*"city":"(.*)".*
Thanks yes, that has sorted out the temp to current temp. I have also changed this value in [MeasureWeather]:

Code:

UpdateRate=100
from 600 to see if it updates quicker (or at all).

Statistics: Posted by ravv3 — Today, 4:55 pm



Viewing all articles
Browse latest Browse all 1572

Trending Articles