Skip to content

DavidFW1960/Aussie-Broadband-Usage-Meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aussie Broadband Usage Meter

AussieBroadband usage meter skin for Rainmeter.

Credits and information

Originally made by Kanine and adapted for Aussie Broadband by HD, jandakot11, Protogen and Big Kahuna on the whirlpool forums

Original Inspiration: Kanine's Bigpond Skin

HD's ABB Original

Jandakot11's ABB Modified

HD's and Jayden's skins are no longer distributed in the RMSKIN file but versions that work with the new scripts are available still in the ABBusage folder in this repository.

Thanks also to nclemeur for identifying and fixing a password issue with complex passwords. (Original ABB Portal)

BIG THANKS to Protogen for updating the scripts to work with the new Aussie Broadband Portal and other assistance in enabling multiple accounts and services to be used.

Installation steps

IMPORTANT NOTE If you are upgrading from a previous release of this skin, make sure you read the changelog below as everything has changed! OLD skins will NOT work with these new scripts and you should manually delete them.

  1. Install Rainmeter (Minimum Version 4.5.18.3727)
  2. Download Aussie Broadband Usage 0.84.rmskin
  3. Run the .rmskin to install it with Rainmeter, The abb.ini skin should be automatically loaded once installed otherwise use Manage Rainmeter to add it to desktop.
  4. There will be 2 script files installed. One called ABB-Clean.vbs will delete all information currently stored and will give a message:

Clean message

Then refresh the skin (right click on it and select refresh) and follow the prompts. The only way to execute the usage script is by refreshing the skin. Directly accessing the usage skin will result in an error being generated telling you to refresh the skin.

  1. You will be prompted for your Aussie Broadband login details.

Enter User Name Enter Password

  1. You will then see a message about obtaining an authentication cookie from Aussie Broadband

Obtaining Authentication Cookie

  1. Next you will be prompted for some display options for the skin. If you are using multiple skins, you can have different options set for each skin! Enter a number between 1 and 4 to set the style required. (You can edit this later if you wish - see below)

Select Bar Style & Size

  1. Next you will be prompted for the font size - enter a number between 1 and 3. The font size selected will also set the size of the usage meter. (Again, you can edit this later if you want to, see instructions below)

Select Font Size

  1. Next it will ask if you wish to overide ABB usage allowance. This is really only applicable for users on an unlimited plan. Almost always you will not want to do this so click NO. If you wish to track your usage (and see a usage bar for allowance used like you would if you were not on an unlimited plan then enter a value in GB here)

Use a Limit?

  1. Next you will be prompted to enter a service name for your service. eg Home or Work etc.

Enter Service Name

You will now most likely see a blank box like this:

Blank Usage

Simply right click on the box and select Refresh Skin and you should see data flowing in.

Note about usage display and ABB's API.

I have found in practice that the data available from Aussie Broadband can be up to 1 hour old (despite claims that it refreshes every 15 minutes). If you log onto my Aussie or use the mobile app, you will see the same data being reported in the app as in this skin. It is just the way the ABB API works and nothing can be done about this in the skin or any other usage meter.

Changing the selected options.

To change the options (bar size, style or font size) or the service friendly name, double click on the ID: Name XXXXX

Re-enter Options

Username and Password

The Username and Password are no longer stored (since version 0.71) as we obtain a cookie and refresh token as per the changelog. IF you change your password, you must run the clean script ABB-Clean.vbs and you will be prompted to go through the initial setup again. You will also be prompted to give the service a friendly name that will now be displayed on the skin as well. The scripts are located in the folder %HOMEPATH%\Documents\Rainmeter\Skins\ABBUsage@Resources\Scripts

Examples of skins

The other sizer show identical information but are larger.

ABB Skin for plans with a limit ABB Skin for plans without a limit ABB Skin Solid Bar

There will be one ABB.ini skin file: Changing Font size, bar size and style via editing the ABB.ini file is no longer supported. The mid and large font skins are now selected via the entered options instead of using a different skin.

The progressive image skins look like this:

ABB Graded Colour Skin

The Manage Skin Screen looks like this:

Manage Skin

This graphic shows the ABBUsage Skin (the default installed) with an ABB.ini skin in that folder and also a second folder with another ABB.ini skin. This second skin can be displayed at the same time as the first one and could be a different bar size/style and font size and it could be a different service ID. (See multiple services for one account section below)

Additionally you can see an additional SKIN ABBUsage - Account 2 also with multiple skins. This is how you would use this skin with an additional account.. (Say Work or a Friend who's usage you monitor) See section below on multiple accounts.

In Rainmeter, select Manage Skins and in the Aussie Broadband folder select abb.ini and load it (see above graphic). Note you can change transparency in that panel.

On the main skin, clicking the ABB icon will load the customer portal at Aussie.

For limited plans, I added a calculation to take into account how much of the current day has been used for days remaining and also days used and am using that to give a more accurate estimate of daily use. I am also now showing the Allowance per day at start of month and remaining with the other information in the tooltip as per the image here.

If you are over your quota for this stage of the month the percent used bar will be red.

Unlimited plans don't show the lower data percent used bar and don't show any of the allowance statistics in the tooltip. Unlimited plans will report a projected data use for the current month based on usage to date displayed in the tooltip.

NOTE: Some users have problems with default secure protocols (I've had reports from users running Windows 7, 64 bit) Applying a Microsoft hotfix has been reported to fix this

Multiple Services for the one account

To use this feature, create a new directory in the ABB usage folder and copy the ABB.ini skin to that folder. Any folder under ABBUsage (the default) will use the SAME ABB logon username/password and the same cookie. In this release multiple accounts are detected as part of the setup and you will be prompted to select the service id from the list of detected service id's.

Select Service ID

You will then be asked for a friendly name for the service as per a standard configuration.

Multiple Accounts

Say you are wanting to monitor usage for your work and your home or for a friend - so this would be different accounts. To do this, you will need to duplicate the entire ABBUsage folder (C:\Users\YOUR_USER\Documents\Rainmeter\Skins\ABBUsage to say C:\Users\YOUR_USER\Documents\Rainmeter\Skins\ABBWorkUsage) When you use the manage screen to load that skin from a new folder it will ask for setup credentials for the new account as well as style information.

Security and Password Encryption/Encoding

The Username and Password are no longer stored as we obtain a cookie and refresh token as per the changelog. IF you change your password, as per above instructions, run the ABB-Clean.vbs script and you will be prompted to go through the initial setup again.

Changelog

0.84 - Allows for skin and script to display show and recover feom bad received data from ABB

0.83 - Fixes changes in the cookie made by ABB

0.82 - Adds prompts if multiple services are detected

0.81 - Fix for ABB switching to use Cloudflare and new cookie structure

New in version 0.80 25/06/2019

  • Uses options when setting up to select bar style and size as well as font size instead of having seperate sking.
  • Data xml files are no longer stored in the scripts folder. All raw data and configuration files are stored in %APPDATA%\Rainmeter-ABB
  • multiple user accounts is supported
  • multiple user services for the one account are supported
  • double-click on the abb icon, not the skin to load the abb portal
  • double click the ID: Name XXXX field to re-enter the options
  • old skins will not work with the new scripts and should be manually deleted
  • the HD and jayden scripts have been updated for the new scripts and if you use those, anything you enter for the skin options will be ignored (but must be entered to complete setup) These scripts need to be manually installed if you use them as they are depreciated and removed from the rmskin installation file.

0.71 Sunday 14th April 2019 Remove debug and restore refresh token to 1/2 cookie life.

New in version 0.70

We are now using the new Aussie Broadband Portal which uses a cookie and a refresh token to download usage once you have authenticated. The cookie is valid for 1 year. The first time you open the new skin, you will be required to enter your ABB Username and Password to authenticate. This will then download a cookie and refresh token from ABB. When the cookie is at it's half life, the script will automatically use the refresh token to get a new cookie and refresh token. You will also be prompted to enter a description for your service. This description and service ID will be shown on the skin. This is also to facilitate an upcoming change in mid May to allow multiple services to be monitored.

About

Usage Meter for Aussie Broadband

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •