It is currently March 28th, 2024, 5:54 pm

Update rate of WebParser

Get help with creating, editing & fixing problems with skins
Post Reply
Inso
Posts: 2
Joined: November 12th, 2018, 10:00 am

Update rate of WebParser

Post by Inso »

I have the WebParser reading from a local txt file - twice per skin, three skins.
F.e:

Code: Select all

[MeasureLux]
Measure=WebParser
URL=file:///d:/DomoticzRMData/84.txt
RegExp=(?siU)(.*),(.*),(.*),
txt-file only has one line, which gets updated as soon as my Domoticz (Smarthome-software) updates.

I have added

Code: Select all

[Rainmeter]
Author=Inso
Update=10000
...
Problem: It updates _very_ slow, often it takes minutes. I have checked the text files, data is stored, file is closed. If I right-click and choose update skin, it takes ~2 seconds and new values are shown.
I also have lots of reads and graphs containing CPU load and such stuff, which gets perfectly updated every second - shows me Rainmeter is running fine.

Any idea what I did wrong? The update is only set once per .ini, as shown above.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Update rate of WebParser

Post by jsmorley »

The default UpdateRate for WebParser is 600, or 10 minutes when the default skin Update is 1000 milliseconds.

https://docs.rainmeter.net/manual/measures/webparser/#UpdateRate
Inso
Posts: 2
Joined: November 12th, 2018, 10:00 am

Re: Update rate of WebParser

Post by Inso »

Damn, thank you. Time to look for an automated way to update more frequently^^

Edit:

Code: Select all

[MeasureLux]
Measure=WebParser
URL=file:///d:/DomoticzRMData/85.txt
RegExp=(?siU)(.*),(.*),(.*),
UpdateRate=1
did the trick, it is now synchron to the skin update time :D
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Update rate of WebParser

Post by jsmorley »

Great. Glad to help.
Post Reply