It is currently September 1st, 2024, 2:35 am
Elementary 1.3 - with weather!
-
- Posts: 1
- Joined: August 1st, 2012, 11:01 am
Re: Elementary 1.3 - with weather!
Hello , I am having problems understanding the weather function ... Please explain if I live in Pitesti , Romania ( http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:00000.1.15373 ) what is should I put in the location caption ?
-
- Posts: 1
- Joined: July 9th, 2014, 3:17 pm
- Location: United Kingdom
Re: Elementary 1.3 - with weather!
I have typed in the code for london on the location setting like so 'location=UKXX0085' now everytime I save the settings and refresh the settings, it doesnt change and the weather has nothing there. Now I'm not entirely sure if i'm supposed to put " at the start and end like so "UKXX0085" or not, but whatever i've tried doesnt want to work, i've also tried restarting my computer but that doesnt work either and i've done gone run out of ideas! Please help! ![Confused :confused:](./images/smilies/bn.gif)
![Confused :confused:](./images/smilies/bn.gif)
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Elementary 1.3 - with weather!
The skin uses http://www.wunderground.com which means you should be able to use: location=London%2C%20United Kingdomalecsimbo wrote:I have typed in the code for london on the location setting like so 'location=UKXX0085' now everytime I save the settings and refresh the settings, it doesnt change and the weather has nothing there. Now I'm not entirely sure if i'm supposed to put " at the start and end like so "UKXX0085" or not, but whatever i've tried doesnt want to work, i've also tried restarting my computer but that doesnt work either and i've done gone run out of ideas! Please help!
Or use the airport code: location=EGLL
I do not use this skin, but this should work based on the previous comments...
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 2
- Joined: September 15th, 2023, 6:20 am
Re: Elementary 1.3 - with weather!
Hello!
I can't get access to Weather.com.
How can I configure the weather skin to anothrer resource?
I can't get access to Weather.com.
How can I configure the weather skin to anothrer resource?
-
- Rainmeter Sage
- Posts: 2731
- Joined: March 23rd, 2015, 5:26 pm
Re: Elementary 1.3 - with weather!
There are a million posts asking this same question.Inquisitorr wrote: ↑September 15th, 2023, 7:43 am Hello!
I can't get access to Weather.com.
How can I configure the weather skin to anothrer resource?
You will need this Weather.com - Parsing the V3 JSON and maybe this Step-by-Step Basic Weather Skin Tutorial.
-
- Posts: 2
- Joined: September 15th, 2023, 6:20 am
Re: Elementary 1.3 - with weather!
It doesn't work.SilverAzide wrote: ↑September 15th, 2023, 12:12 pm There are a million posts asking this same question.
You will need this Weather.com - Parsing the V3 JSON and maybe this Step-by-Step Basic Weather Skin Tutorial.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 880
- Joined: January 4th, 2018, 9:52 pm
Re: Elementary 1.3 - with weather!
Maybe this is the reason:Inquisitorr wrote: ↑September 15th, 2023, 7:16 pm It doesn't work.
Снимок экрана 2023-09-15 221243.jpg
https://forum.rainmeter.net/viewtopic.php?t=35770&start=510&hilit=quote+enclose+option#p217386
-
- Rainmeter Sage
- Posts: 8003
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Elementary 1.3 - with weather!
If Xenium is right, you can try other sources for weather data, like Yahoo or Foreca. Eclectic-tech made a skin very similar in structure with the one that's getting the weather from Weather.com, but that gets it from Yahoo instead:Inquisitorr wrote: ↑September 15th, 2023, 7:16 pm It doesn't work.
Снимок экрана 2023-09-15 221243.jpg
https://forum.rainmeter.net/viewtopic.php?t=36479
Since the structure is so similar, the tutorial made by the same author for Weather.com (mentioned by SilverAzide above) can be followed (with some logical differences) to adapt other skins (like yours) to use the above skin's .inc files and get the weather from Yahoo.
-
- Posts: 2
- Joined: September 18th, 2023, 8:32 am
Re: Elementary 1.3 - with weather!
Hi all,
I'm struggling a bit to add more drives.
It picks up my C: drive & I would like to add my D: as well.
Any help will really be appreciated.
I'm struggling a bit to add more drives.
It picks up my C: drive & I would like to add my D: as well.
Any help will really be appreciated.
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Elementary 1.3 - with weather!
The original only shows 1 drive (the drive where Rainmeter is installed).
To add another drive requires editing the 'system-h.ini' and 'system-v.ini' variants AND the common 'shared.inc' files.
Basically, in 'shared.inc' file, duplicate all the variables related to drives and change the keyword of each by adding a '2' to it; Drive=#ProgramDrive# becomes Drive2=D: .
Add these lines to [Variables] section
Code: Select all
...
; Set your hard drive letter here, e.g. "drive=C:", "drive="F:", etc.
; (#PROGRAMDRIVE# is the drive where Rainmeter is installed)
drive2=D:
; Set to '1' to show free RAM, or '0' to show used RAM
showFreeMem2=1
; Set to '1' to show used disk space, or '0' to show free disk space
showUsedDisk2=0
...
Add these sections to the 'shared.inc' file
Code: Select all
...
[msrDiskContextString2]
Measure=Calc
Formula=#showUsedDisk2#
Substitute="0":"Switch to used disk","1":"Switch to free disk"
...
[msrDrive2]
Measure=FreeDiskSpace
Drive=#drive2#
InvertMeasure=#showUsedDisk2#
UpdateDivider=10
...
In 'system-h.ini' file, duplicate the drive meter and change the meter name to [mtrDrive2]. Change all names of the referenced measures by adding '2' to the names (the same names you added in the 'shared.inc' file for the second drive).
Add this meter right after the original [mtrDrive] section
Code: Select all
[mtrDrive2]
Meter=STRING
MeasureName=msrDrive2
MeterStyle=allString | subString
X=150r
Y=0
Percentual=1
Text="#drive2#\ %1%"
Save the file and refresh the skin.
You should see a new drive letter appear after the original. Do similar edits to 'system-v.ini' to use the new drive variables and measures.
To have the new drive change from used to free space requires editing 'shared.inc' and duplicating the !WriteKeyValue in the ContextAction2 and having it write the variables you added.
ContextAction2=[!WriteKeyValue Variables showUsedDisk (abs(#showUsedDisk#-1)) "#CURRENTPATH#shared.inc"][!WriteKeyValue Variables showUsedDisk2 (abs(#showUsedDisk2#-1)) "#CURRENTPATH#shared.inc"][!Refresh #CURRENTCONFIG#]
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::