I've just released a skin for the popular Rainmeter desktop customisation tool, that displays weather information sourced from http://www.bom.gov.au
Links
BOM Weather Skin – https://github.com/kanine/bomWeather-2020
Hopefully others may find this useful.
It is currently June 8th, 2023, 6:35 pm
Australia Weather from BOM
-
- Posts: 62
- Joined: June 29th, 2012, 9:09 am
Australia Weather from BOM
You do not have the required permissions to view the files attached to this post.
Last edited by kanine on October 26th, 2020, 10:56 pm, edited 2 times in total.
-
- Posts: 163
- Joined: July 12th, 2009, 4:05 pm
- Location: The Island
-
- Developer
- Posts: 1721
- Joined: July 25th, 2009, 4:47 am
Re: Australia Weather from BOM
Looks good! Glad you finally got it done after all that work.
By the way, in case you weren't aware: Rainmeter includes a "skin packager" utility, which allows you to package and distribute your skin in the ".rmskin" format. This allows your users to install the skin in just a few clicks, rather than manually extracting and copying the files. It's also better from a security standpoint, because Rainmeter checks the validity of the .rmskin before installing. We really encourage people to use this format whenever possible.
See here for more information.
By the way, in case you weren't aware: Rainmeter includes a "skin packager" utility, which allows you to package and distribute your skin in the ".rmskin" format. This allows your users to install the skin in just a few clicks, rather than manually extracting and copying the files. It's also better from a security standpoint, because Rainmeter checks the validity of the .rmskin before installing. We really encourage people to use this format whenever possible.
See here for more information.
-
- Posts: 62
- Joined: June 29th, 2012, 9:09 am
Re: Australia Weather from BOM
Thanks for the information, I've been looking into that process last night and modified some of my skin/scripts in preparation for publishing them using that method.Kaelri wrote: By the way, in case you weren't aware: Rainmeter includes a "skin packager" utility.
However, I do have a question and need some advice on how to best set this up.
I have two skins that I am primarily going to maintain
1) Weather skin
2) My Internet Usage (from BigPond)
The second one is only relevent for those people who use BigPond and when I publish I'd rather just publish one or the other. The way things are at the moment I have one folder called "kanine" sitting in the skins directory with a subfolder for each skin. However, the images and scripts that are connected sit within a folder called @Resources which is one level up.
So whenever I create the skin package it includes the scripting for both scripts.
I do prefer this as it keeps all my scripting together, but if I want to distribute these skins with the packager it means both scripts will be included. I know I can split the folder at a higher level but is there any other way I could do this?
-
- Developer
- Posts: 1721
- Joined: July 25th, 2009, 4:47 am
Re: Australia Weather from BOM
When you have multiple skins that depend on a common set of files, you have two good options:
For example, you could put your two skins in their own top-level folders, and then have a third folder - say, "Kanine Common Files" - that the other two refer to for images and scripts:
Each package would contain a copy of Kanine Common Files and install it alongside its respective skin.
But then, if anyone wants to install both of your skins, you have a problem. Because if a user installs a more recent version of Weather while keeping an older version of Internet Usage, the new Weather package will overwrite Common Files and run the risk of breaking the old Internet Usage skin. (This is also a great way of cluttering up other people's Documents folder, which they tend not to appreciate.)
Alternatively, you could put all of the common files into either Weather or Internet Usage, and have one skin be required for the other to work. But in that case, you might as well just package them together.
Ultimately, it's just a good principle to treat any distributed skin package as an independent, self-contained unit, and minimize any chance for different skins (or different versions of the same skin) to interfere with each other.
- Package all of the skins together in a "suite," ala Enigma, Gnometer, et al.
- Treat each skin as a completely separate project, and duplicate common files for each one.
For example, you could put your two skins in their own top-level folders, and then have a third folder - say, "Kanine Common Files" - that the other two refer to for images and scripts:
Code: Select all
Skins\Kanine Weather
Skins\Kanine Internet Usage
Skins\Kanine Common Files
Code: Select all
ImageName=#SKINSPATH#Kanine Common Files\image.png
But then, if anyone wants to install both of your skins, you have a problem. Because if a user installs a more recent version of Weather while keeping an older version of Internet Usage, the new Weather package will overwrite Common Files and run the risk of breaking the old Internet Usage skin. (This is also a great way of cluttering up other people's Documents folder, which they tend not to appreciate.)
Alternatively, you could put all of the common files into either Weather or Internet Usage, and have one skin be required for the other to work. But in that case, you might as well just package them together.
Ultimately, it's just a good principle to treat any distributed skin package as an independent, self-contained unit, and minimize any chance for different skins (or different versions of the same skin) to interfere with each other.
-
- Posts: 62
- Joined: June 29th, 2012, 9:09 am
Re: Australia Weather from BOM
OK, I've repackaged this skin as a standalone rmskin file available here:Kaelri wrote: Ultimately, it's just a good principle to treat any distributed skin package as an independent, self-contained unit, and minimize any chance for different skins (or different versions of the same skin) to interfere with each other.
https://github.com/kanine/bomWeather-2020
So far I've only scripted for Melbourne and Sydney, so the simple setup script will do most of the work. Advanced users may be able to tweak the settings which will be stored in this folder:
Application Data\Rainmeter-kanine
Last edited by kanine on October 26th, 2020, 10:56 pm, edited 1 time in total.
-
- Posts: 62
- Joined: June 29th, 2012, 9:09 am
Re: Australia Weather from BOM
With help from jsmorely I've added an animated Rain Radar toggle onto the skin. The blue radar image next to the update date turns the Radar On and Off
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1
- Joined: November 1st, 2014, 11:28 pm
Re: Australia Weather from BOM
I just download "Bomweather.rmskin" and install it'
Now,I'm getting note saying "Please run bomWeathersetup.vbs to set up your configuration".
and i can not fine this program ?
the link, i want to use, "http://www.bom.gov.au/vic/forecasts/ballarat.shtml"
how do i add this link
Peter
Now,I'm getting note saying "Please run bomWeathersetup.vbs to set up your configuration".
and i can not fine this program ?
the link, i want to use, "http://www.bom.gov.au/vic/forecasts/ballarat.shtml"
how do i add this link
Peter
-
- Posts: 1
- Joined: November 3rd, 2014, 3:17 am
Re: Australia Weather from BOM
Firstly a big thx to kanine for making and sharing this great Rainmeter skin. Much more accurate than weather.com that most skin use, so its greatly appreciated mate
podgee59 - you need to navigate to:
C:\Users\YOUR USER NAME\Documents\Rainmeter\Skins\bomWeather\@Resources\Scripts
Inside that folder you'll find a file called: bomWeatherSetup <--- Run this and your good

podgee59 - you need to navigate to:
C:\Users\YOUR USER NAME\Documents\Rainmeter\Skins\bomWeather\@Resources\Scripts
Inside that folder you'll find a file called: bomWeatherSetup <--- Run this and your good

-
- Posts: 1
- Joined: January 10th, 2015, 7:26 am
Re: Australia Weather from BOM
Thanks for this great Rainmeter script. I have been using it for ages and it's a wonder.
Recently though I have been getting an error. I made sure I am running the latest version (bomWeather_0.1j.rmskin 2014-12-28).
The error:
I removed my old copy and re-added the new one. Running Windows 8.1.
Cheers for any help that may be rendered.
Recently though I have been getting an error. I made sure I am running the latest version (bomWeather_0.1j.rmskin 2014-12-28).
The error:
Code: Select all
Windows Script Host
Script:
C:\Users\xxxxxxxx\Documents\Rainmeter\Skins\bom\Weather\@Resources\Scripts\bomWeather.vbs
Line: 97
Char: 3
Error: Invalid procedure call or argument: 'Left'
Code: 800A0005
Source: Microsoft VBScript runtime error
Cheers for any help that may be rendered.