It is currently October 13th, 2024, 2:15 am

⭐ Weather.com

Weather skins
User avatar
balala
Rainmeter Sage
Posts: 16651
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: ⭐ Weather.com

Post by balala »

bobalazs wrote: May 18th, 2024, 8:07 am Update=30000 from the default Update=1000
it refreshes every 30 seconds, , and my ram speeds are not hindered.
With Update=30000 the skin updated every 30 seconds, not refreshed. These are different things.
bobalazs
Posts: 8
Joined: June 19th, 2019, 9:34 pm

Re: ⭐ Weather.com

Post by bobalazs »

Yes there is a difference..
I meant to say updated, not refreshed.
But maybe someone could shine a light on it?
Why a 1 second refresh speed of this weather widget increases the latency of ddr4 3600 Mhz ram?
And it is reproducible. i can even make a video if someone requests it.
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: ⭐ Weather.com

Post by Yincognito »

bobalazs wrote: May 19th, 2024, 10:05 am Yes there is a difference..
I meant to say updated, not refreshed.
But maybe someone could shine a light on it?
Why a 1 second refresh speed of this weather widget increases the latency of ddr4 3600 Mhz ram?
And it is reproducible. i can even make a video if someone requests it.
The latency thing shouldn't normally happen, since the main work happens when retrieving weather data, and that doesn't happen every second. Are you sure you were using the original skin in the 1st post of this thread?

Yeah, you can provide a video, although I'm not sure how much it would help since we don't have the same system or things installed as you do.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
bobalazs
Posts: 8
Joined: June 19th, 2019, 9:34 pm

Re: ⭐ Weather.com

Post by bobalazs »

Yincognito wrote: May 19th, 2024, 10:19 am The latency thing shouldn't normally happen, since the main work happens when retrieving weather data, and that doesn't happen every second. Are you sure you were using the original skin in the 1st post of this thread?

Yeah, you can provide a video, although I'm not sure how much it would help since we don't have the same system or things installed as you do.
I repeated the experiment now, and i couldn't reproduce.
Ignore my earlier comments please.

Values are within 66.9 and 67.9ms either with 1 second or 30 second update time.
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: ⭐ Weather.com

Post by Yincognito »

bobalazs wrote: May 19th, 2024, 11:33 am I repeated the experiment now, and i couldn't reproduce.
Ignore my earlier comments please.

Values are within 66.9 and 67.9ms either with 1 second or 30 second update time.
:thumbup:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
SilverAzide
Rainmeter Sage
Posts: 2746
Joined: March 23rd, 2015, 5:26 pm

Re: ⭐ Weather.com

Post by SilverAzide »

Updated the skin for the latest change to the API key (as of 5/15/2024).

New .rmskin in the first post of this thread.
Gadgets Wiki GitHub More Gadgets...
User avatar
Hazrd
Posts: 63
Joined: August 26th, 2024, 7:59 am
Location: Malaysia

Re: ⭐ Weather.com

Post by Hazrd »

Could someone link me to the documentation for weather.com's api?
User avatar
Yincognito
Rainmeter Sage
Posts: 8442
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: ⭐ Weather.com

Post by Yincognito »

Hazrd wrote: September 20th, 2024, 6:44 am Could someone link me to the documentation for weather.com's api?
Bar some strange historical data that not many would want to check, not sure why you'd need that since jsmorley covered almost everything in his skin, plus, what was ready to check 4 years ago, now it's mostly either dead or "unsafe". Here are some examples:
https://forum.rainmeter.net/viewtopic.php?t=35770&start=140#p180927
https://forum.rainmeter.net/viewtopic.php?t=35770&start=150#p180931
Some of us might have saved those docs while the links were still working back then, but dust has settled on those paths from our drives... :D

If still interested, you can google "the weather channel api" or check some links from IBM that still survive, not sure for how long, given how other links fared:
https://www.ibm.com/docs/en/environmental-intel-suite?topic=reference-weather-data-apis
https://docs.google.com/document/d/14OK6NG5GRwezb6-5C1vQJoRdStrGnXUiXBDCmQP9T9s/edit
Like 4 years go, my advice is to save whatever you can find, so you won't have to depend on dead, unsafe or obsolete links in the future.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
jsmorley
Developer
Posts: 22851
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Weather.com

Post by jsmorley »

If you use the @Include files I provide as a part of the skin in the first post in this thread, you end up with measures like this:

Code: Select all

======================
Units of measure
======================
[@UnitsType] : This will be "m" or "e" or "h"
 Note that "h" is for the hybrid units used in the UK.
[@UnitsTemperature] : This will be "C" or "F"
[@UnitsSpeed] : This will be "km/h" or "mph"
[@UnitsDistance] : This will be "km" or "mi"
[@UnitsAccumulation] : This will be "cm" or "in"
[@UnitsPrecipitation] : This will be "mm" or "in"
[@UnitsPressure] This will be "mb" or "in"

======================
Location information
======================
[@LocationLatitude] : i.e. 38.805
[@LocationLongitude] : i.e -77.047
[@LocationAdminDistrict]
[@LocationAdminDistrictCode]
 These AdminDistrict values will vary in meaning depending on where you live.
 In the US, this will be the "state". Other places it may be "region", or just empty.
[@LocationCountry] : i.e. United States of America
[@LocationCountryCode] : i.e. US
[@LocationName] : Location Display Name - Generally the "city"
[@LocationLanguageCode] : i.e. en-US
[@LocationTimeZoneAbbreviation] : i.e. EST

======================
Current weather information
======================
[@CurrentPressure] : Use @UnitsPressure
[@CurrentPressureChangeTrend] : Text "Steady", "Rising", "Falling"
[@CurrentPressureCode] : 0 - "Steady" 1 - "Rising" 2 - "Falling"
[@CurrentPressureChangeAmount] : Use @UnitsPressure
[@CurrentDewPoint]
[@CurrentFeelsLike]
[@CurrentWindGust] : Use @UnitsSpeed
[@CurrentHumidity] : Percentage
[@CurrentIcon]
[@CurrentObservationTimeStamp]
[@CurrentObservationDate] 
 Automatically uses defined #Language# (i.e. en-US) to translate Month/Day names.
[@CurrentObservationTime]
[@CurrentConditions] : This is the "long" version
[@CurrentConditionsMedium] 
[@CurrentConditionsShort]
[@CurrentCloudCoverPhrase]
[@CurrentPrecipitationLast24Hours] : Use @UnitsPrecipitation
[@CurrentSnowDepth] : Use @UnitsAccumulation
[@CurrentTemperature]
[@CurrentTemperatureMaxSince7AM]
[@CurrentUVIndex] : A range of 1-10
[@CurrentUVDescription]
[@CurrentVisibilityDistance] : Use @UnitsDistance 
[@CurrentWindSpeed] : Use @UnitsSpeed
[@CurrentWindDirectionCompass] : i.e. "NNW"
[@CurrentWindDirectionDegrees] : i.e. 220
[@CurrentSunriseTimeStamp]
[@CurrentSunriseTime]
[@CurrentSunSetTimeStamp]
[@CurrentSunsetTime]

======================
Today - Forecast for the entire day
======================
[@ForecastTodayDateString] : Full date string for Today - i.e. "2020-01-21T07:00:00-0400"
[@ForecastTodayDayLong] : Full day of the week i.e. Saturday
[@ForecastTodayDayShort] : i.e. Sat
[@ForecastTodayMonthLong] : i.e. "January"
[@ForecastTodayMonthShort] : i.e. "Jan"
[@ForecastTodayDayOfMonth] : 1-31
[@ForecastTodayNarative]
[@ForecastTodayHighTemperature]
[@ForecastTodayLowTemperature]
[@ForecastTodaySunriseTimeStamp]
[@ForecastTodaySunriseTime]
[@ForecastTodaySunsetTimeStamp]
[@ForecastTodaySunsetTime]
[@ForecastTodayQPFRain] : Quantitative Precipitation Forecasts -  Use @UnitsPrecipitation
[@ForecastTodayQPFSnow] : Quantitative Precipitation Forecasts - Use @UnitsAccumulation

======================
Today - Forecast for "Day"
======================
[@ForecastTodayDayPart] : "Today"
[@ForecastTodayDayLetter] : "D"
[@ForecastTodayDayIcon]
[@ForecastTodayDayConditions]
[@ForecastTodayDayConditionsShort]
[@ForecastTodayDayTemperature]
[@ForecastTodayDayHeatIndex]
[@ForecastTodayDayWindChill]
[@ForecastTodayDayNarrative]
[@ForecastTodayDayHumidity]
[@ForecastTodayDayWindSpeed]
[@ForecastTodayDayWindDirectionDegrees] : i.e. 120
[@ForecastTodayDayWindDirectionCompass] : i.e. NNW
[@ForecastTodayDayWindPhrase] : i.e. "Winds SE at 5 to 10 mph."
[@ForecastTodayDayPrecipitationPercent] : Percent likely
[@ForecastTodayDayPrecipitationType] : "rain", "snow" or the generic "precip"
[@ForecastTodayDayPrecipitationAmount] : Use @UnitsPrecipitation
[@ForecastTodayDayThunderCategory]
[@ForecastTodayDayThunderIndex]
[@ForecastTodayDaySnowAmount] : Use @UnitsAccumulation
[@ForecastTodayDaySnowRange] : Text range, i.e. "2-5" - Use @UnitsAccumulation
[@ForecastTodayDayCloudPercent]
[@ForecastTodayDayUVIndex] : A range of 1-10
[@ForecastTodayDayUVIndexDescription]

Note: At some point in the afternoon, all "TodayDay" measures except
[@ForecastTodayDayLong] will return an empty string. If [@ForecastTodayDayTemperature]
is an empty string, then it is "Tonight". There can't be a "forecast" for a part of day
that has already gone by. You must react to that, and perhaps use "TodayNight"
measures in their place. 

======================
Today - Forecast for "Night"
======================
[@ForecastTodayNightPart] : "Tonight"
[@ForecastTodayNightLetter] : "N"
[@ForecastTodayNightIcon]
[@ForecastTodayNightConditions]
[@ForecastTodayNightConditionsShort]
[@ForecastTodayNightTemperature]
[@ForecastTodayNightHeatIndex]
[@ForecastTodayNightWindChill]
[@ForecastTodayNightNarrative]
[@ForecastTodayNightHumidity]
[@ForecastTodayNightWindSpeed]
[@ForecastTodayNightWindDirectionDegrees] : i.e. 120
[@ForecastTodayNightWindDirectionCompass] : i.e. "NNW"
[@ForecastTodayNightWindPhrase] : i.e. "Winds SE at 5 to 10 mph."
[@ForecastTodayNightPrecipitationPercent] : Percent likely
[@ForecastTodayNightPrecipitationType] : "rain", "snow" or the generic "precip"
[@ForecastTodayNightPrecipitationAmount] : Use @UnitsPrecipitation
[@ForecastTodayNightThunderCategory]
[@ForecastTodayNightThunderIndex]
[@ForecastTodayNightSnowAmount] : Use @UnitsAccumulation
[@ForecastTodayNightSnowRange] : Text range, i.e. "2-5" - Use @UnitsAccumulation
[@ForecastTodayNightCloudPercent]
[@ForecastTodayNightUVIndex] : A range of 1-10
[@ForecastTodayNightUVIndexDescription]

======================
Day2 - Forecast for the entire day
======================
[@ForecastDay2DateString] : Full date string for Tomorrow - i.e. "2020-01-22T07:00:00-0400"
[@ForecastDay2DayLong] : Full day of the week i.e. Sunday
[@ForecastDay2DayShort] : i.e. Sun
[@ForecastDay2MonthLong] : i.e. "January"
[@ForecastDay2MonthShort] : i.e. "Jan"
[@ForecastDay2DayOfMonth] : 1-31
[@ForecastDay2Narative]
[@ForecastDay2HighTemperature]
[@ForecastDay2LowTemperature]
[@ForecastDay2SunriseTimeStamp]
[@ForecastDay2SunriseTime]
[@ForecastDay2SunsetTimeStamp]
[@ForecastDay2SunsetTime]
[@ForecastDay2QPFRain]
[@ForecastDay2QPFSnow]

======================
Day2 - Forecast for "Day"
======================
[@ForecastDay2DayPart] : "Tomorrow"
[@ForecastDay2DayLetter] : "D"
[@ForecastDay2DayIcon]
[@ForecastDay2DayConditions]
[@ForecastDay2DayConditionsShort]
[@ForecastDay2DayTemperature]
[@ForecastDay2DayHeatIndex]
[@ForecastDay2DayWindChill]
[@ForecastDay2DayNarrative]
[@ForecastDay2DayHumidity]
[@ForecastDay2DayWindSpeed]
[@ForecastDay2DayWindDirectionDegrees]
[@ForecastDay2DayWindDirectionCompass]
[@ForecastDay2DayWindPhrase]
[@ForecastDay2DayPrecipitationPercent]
[@ForecastDay2DayPrecipitationType]
[@ForecastDay2DayPrecipitationAmount]
[@ForecastDay2DayThunderCategory]
[@ForecastDay2DayThunderIndex]
[@ForecastDay2DaySnowAmount]
[@ForecastDay2DaySnowRange]
[@ForecastDay2DayCloudPercent]
[@ForecastDay2DayUVIndex]
[@ForecastDay2DayUVIndexDescription]

======================
Day2 - Forecast for "Night"
======================
[@ForecastDay2NightPart] : "Tomorrow night"
[@ForecastDay2NightLetter] : "N"
[@ForecastDay2NightIcon]
[@ForecastDay2NightConditions]
[@ForecastDay2NightConditionsShort]
[@ForecastDay2NightTemperature]
[@ForecastDay2NightHeatIndex]
[@ForecastDay2NightWindChill]
[@ForecastDay2NightNarrative]
[@ForecastDay2NightHumidity]
[@ForecastDay2NightWindSpeed]
[@ForecastDay2NightWindDirectionDegrees]
[@ForecastDay2NightWindDirectionCompass]
[@ForecastDay2NightWindPhrase]
[@ForecastDay2NightPrecipitationPercent]
[@ForecastDay2NightPrecipitationType]
[@ForecastDay2NightPrecipitationAmount]
[@ForecastDay2NightThunderCategory]
[@ForecastDay2NightThunderIndex]
[@ForecastDay2NightSnowAmount]
[@ForecastDay2NightSnowRange]
[@ForecastDay2NightCloudPercent]
[@ForecastDay2NightUVIndex]
[@ForecastDay2NightUVIndexDescription]

This pattern will repeat for Day3 - Day15
I tried to make the names of the measures as self-explanatory as possible and added some clarifying comments where needed.
User avatar
Hazrd
Posts: 63
Joined: August 26th, 2024, 7:59 am
Location: Malaysia

Re: ⭐ Weather.com

Post by Hazrd »

Yincognito wrote: September 20th, 2024, 6:23 pm Bar some strange historical data that not many would want to check, not sure why you'd need that since jsmorley covered almost everything in his skin, plus, what was ready to check 4 years ago, now it's mostly either dead or "unsafe". Here are some examples:
https://forum.rainmeter.net/viewtopic.php?t=35770&start=140#p180927
https://forum.rainmeter.net/viewtopic.php?t=35770&start=150#p180931
Some of us might have saved those docs while the links were still working back then, but dust has settled on those paths from our drives... :D

If still interested, you can google "the weather channel api" or check some links from IBM that still survive, not sure for how long, given how other links fared:
https://www.ibm.com/docs/en/environmental-intel-suite?topic=reference-weather-data-apis
https://docs.google.com/document/d/14OK6NG5GRwezb6-5C1vQJoRdStrGnXUiXBDCmQP9T9s/edit
Like 4 years go, my advice is to save whatever you can find, so you won't have to depend on dead, unsafe or obsolete links in the future.
Another thing im not so clear about: Is the api free? I dont even know how to generate an api key for myself