Thanks, everyone. I have decided on the following scheme. I went with updating the TimeZone Measures (WebParser) every 12 hours.
I am hoping this is now sorted out! Thanks for the help everyone.
It is currently April 19th, 2024, 9:35 am
Update rates
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
You do not have the required permissions to view the files attached to this post.
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
Well - things are not updating based on my expectations, and I bet it is operator error.
Main Skin
The ChameleonDesktop measure is in Style.inc.
When my wallpaper changes I expected the skin to adjust in 600*500+1000 but after 20 minutes I see no change.
Main Skin
Code: Select all
@includeMeasurements=#@#WeatherMeasures.inc
@includeTimes=#@#TimeMeasures.inc
@includeStyle=#@#Style.inc
[Rainmeter]
Update=600
DefaultUpdateDivider=500
OnRefreshAction=[!Delay 1000][!ShowMeter RetrievingTimes][!EnableMeasure MeasureTime1][!UpdateMeasure MeasureTime1]
OnUpdateAction=[!Delay1000][!EnableMeasure ChameleonDesktop][!UpdateMeasure ChameleonDesktop]
When my wallpaper changes I expected the skin to adjust in 600*500+1000 but after 20 minutes I see no change.
-
- Posts: 105
- Joined: November 3rd, 2019, 12:00 am
Re: Update rates
1. Do you really need Update=600 ? why not Update=1000.
2. 600 * 500 + 1000 = 5 minutes + 1 second.
3. found a typo. OnUpdateAction=[!Delay1000]ms310 wrote:but after 20 minutes I see no change.
4. Remember that DefaultUpdateDivider applys ALL meters and measures, and it will be overridden by UpdateDivider in each meters or measures. DefaultUpdateDivider= -1 or 1 is better, 500 is too complicated.
The following topic is really helpfull for us. really appliciate.
How a skin is updated (by jsmorley) | https://forum.rainmeter.net/viewtopic.php?t=34774
5. How about appending the code OnUpdateAction=[!Log "#CURRENTSECTION# | Update" Debug] in [Rainmeter] section, all meters and all measures.
Code: Select all
[Rainmeter]
Update=
DefaultUpdateDivider=-1
Use the DynamicVariables=1 if needed.
Related:
DefaultUpdateDivider | https://docs.rainmeter.net/manual/skins/rainmeter-section/#DefaultUpdateDivider
Skin update every hour | https://forum.rainmeter.net/viewtopic.php?t=28548
Variables | https://docs.rainmeter.net/manual/variables/
Dynamic Cheat Sheet | https://docs.rainmeter.net/tips/dynamiccheatsheet/
You do not have the required permissions to view the files attached to this post.
Last edited by nek on June 30th, 2020, 1:44 am, edited 3 times in total.
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
I appreciate the help.
The debug line is helping a lot - thank you!
The debug line is helping a lot - thank you!
You do not have the required permissions to view the files attached to this post.
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
OK - I am really trying here - but I am seeing a WebPrser update every 6 minutes instead of 18:
SmallWeather.inc
WeatherMeasures.inc
SmallWeather.inc
Code: Select all
[Rainmeter]
Update=1000
DefaultUpdateDivider=360
AccurateText=1
Code: Select all
UpdateRate=3
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Update rates
Please, please use this:ms310 wrote: ↑June 30th, 2020, 1:18 am OK - I am really trying here - but I am seeing a WebPrser update every 6 minutes instead of 18:
SmallWeather.incWeatherMeasures.incCode: Select all
[Rainmeter] Update=1000 DefaultUpdateDivider=360 AccurateText=1
2020-06-30_10h16_58.pngCode: Select all
UpdateRate=3
SmallWeather.inc
Code: Select all
[Rainmeter]
Update=1000
DefaultUpdateDivider=360
AccurateText=1
Code: Select all
UpdateDivider=1
UpdateRate=360
If you want 18 minutes and not 6, use UpdateRate=1080.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Update rates
This should not in any way encourage you to use UpdateDivider on a WebParser measure, but I did want to explain why you were getting the results in the log that you posted.
With the settings you had, the WebParser "measure" was being updated every 6 minutes; 360 seconds. That was triggering the log entry. However, the settings you had would only have the WebParser measure actually go out and do the work every time the UpdateRate was hit, or every 18 minutes. Every 3 times that the "measure" was updated. If you wanted to see how often THAT was happening, you would want:
FinishAction=[!Log "#CURRENTSECTION# | Update" Debug]
...on the WebParser measure. Looking at how often the "measure" is updated is misleading in this case. It's going to be updated "UpdateRate times" before it does anything.
Having said that, DON'T use UpdateDivider to control WebParser. Did I mention that?
With the settings you had, the WebParser "measure" was being updated every 6 minutes; 360 seconds. That was triggering the log entry. However, the settings you had would only have the WebParser measure actually go out and do the work every time the UpdateRate was hit, or every 18 minutes. Every 3 times that the "measure" was updated. If you wanted to see how often THAT was happening, you would want:
FinishAction=[!Log "#CURRENTSECTION# | Update" Debug]
...on the WebParser measure. Looking at how often the "measure" is updated is misleading in this case. It's going to be updated "UpdateRate times" before it does anything.
Having said that, DON'T use UpdateDivider to control WebParser. Did I mention that?
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
OK - thanks JSMORLEY.jsmorley wrote: ↑June 30th, 2020, 1:27 am Please, please use this:
SmallWeather.incWeatherMeasures.incCode: Select all
[Rainmeter] Update=1000 DefaultUpdateDivider=360 AccurateText=1
That's assuming you need the DefaultUpdateDivider=360 for other purposes on other measures or meters. If not, just delete that and the UpdateDivider=1 entirely. In any case, please DON'T control WebParser with UpdateDivider in any way, shape or form.Code: Select all
UpdateDivider=1 UpdateRate=360
If you want 18 minutes and not 6, use UpdateRate=1080.
When I removed DefaultUpdateDiver from the SmallWeather.ini skin (the main skin) Rainmeter crashed. I tried this:
SmallWeather.ini
Code: Select all
[Variables]
@includeWeatherMeasures=#@#WeatherMeasures.inc
Update=1000
DefaultUpdateDivider=120
Code: Select all
UpdateRate=360
When I used UpdateDivider=1 in WeatherMeasures.inc I saw in the debug that the WebParser was updating every single second - so I quickly shut down Rainmeter and just removed it - but now WebParser is still updating every two minutes - it seems to be ignoring UpdateRate?
I am seeing this:
For the Main Skin - Smallweather.ini - update frequency = (Update X DefaultUpdateRate) ==> 1000x120 = 2 minutes
For the WeatherMeasures.inc skin - update frequency = (Update X DefaultUpdateRate) ==> 1000x120 = 2 minutes ignoring UpdateRate=360
Is it because the WebParser measures are in a different file, referenced by the main skin, so when DefaultUpdateRate is used it updates the WebParser measures regardless of the UpdateRate value?
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Update rates
Here is the Skin - it is a bit of a mess, sorry - it is a work in progress - but I wanted to make sure I am not missing something.
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Update rates
I don't have all the stuff for your skin(s) but here is my advice:
Don't try to control WebParser measures with UpdateDivider at all.
Set Update=1000 in [Rainmeter]. Just pretty much ALWAYS set that. It should only be set lower than 1000 if you have a skin with animations or something that need a faster rate. It should almost NEVER be set higher than 1000.
That means the skin will be updated once a second, and that is good. It means that any UpdateDivider that you use on any measure EXCEPT WebParser measures, and the UpdateRate you use on WebParser measures, will equate to "seconds".
[Rainmeter]
Update=1000
[TimeMeasure]
Measure=Time
UpdateDivider=10
; This will update the time every 10 seconds.
[WebParserMeasure]
Measure=WebParser
UpdateRate=30
; This will cause WebParser to go out and do its work every 30 seconds.
; Note that the measure [WebParserMeasure] will be "updated" once a second, but that's good, that's what makes the UpdateRate work right.
Updating a WebParser measure does one thing, and one thing only. It "increments" a counter that is tracking UpdateRate by 1. When the measure has updated UpdateRate times the counter will equal UpdateRate, and will reset to zero and fire off the functionality.
Don't try to control WebParser measures with UpdateDivider at all.
Set Update=1000 in [Rainmeter]. Just pretty much ALWAYS set that. It should only be set lower than 1000 if you have a skin with animations or something that need a faster rate. It should almost NEVER be set higher than 1000.
That means the skin will be updated once a second, and that is good. It means that any UpdateDivider that you use on any measure EXCEPT WebParser measures, and the UpdateRate you use on WebParser measures, will equate to "seconds".
[Rainmeter]
Update=1000
[TimeMeasure]
Measure=Time
UpdateDivider=10
; This will update the time every 10 seconds.
[WebParserMeasure]
Measure=WebParser
UpdateRate=30
; This will cause WebParser to go out and do its work every 30 seconds.
; Note that the measure [WebParserMeasure] will be "updated" once a second, but that's good, that's what makes the UpdateRate work right.
Updating a WebParser measure does one thing, and one thing only. It "increments" a counter that is tracking UpdateRate by 1. When the measure has updated UpdateRate times the counter will equal UpdateRate, and will reset to zero and fire off the functionality.