Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


archerfish

14 posts

Geek


#109581 22-Sep-2012 16:05
Send private message

I am trying to write an App to pull my cable data usage from telstra's usage meter and display it on a small LCD screen.

The grand plan is to stick it on a RaspberryPi or similar and recess the an LCD into a blackboard in the kitchen so that everyone in the flat can see what the data usage is currently at, and other things such as how much power is been used from powershop etc.. 

Back to the problem:

There is a couple of old usage meters that used to connect to telstra and scrap the data, and have accessible code so I could see how they were collecting the data.  
e.g. 
http://volker.dnsalias.net/soft/script/telstracabletraffic
http://netusage.iau5.com/

however neither of these still work with telstra's latest usage meter, (at least from my testing). I've tried tinkering with the code to see if I could get it to work with the "telstracabletraffic" script, but had no luck.. 

Does anyone have any tips on how I could scrape the usage info, officially/unofficially? 

Ideally if I could get access to the CSV file that is available, I can graph and display the usage pretty easily. 

Cheers


Andrew




View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
kharris
1209 posts

Uber Geek

ID Verified
Trusted

  #689943 22-Sep-2012 17:37
Send private message

Am am using the Firefox addon available from http://netusage.iau5.com

It works just fine.

According to the website the code is available here:
If you want to access the subversion repository, anonymous access is available at:
svn co http://netusage.iau5.com/svn/trunk/



archerfish

14 posts

Geek


  #689944 22-Sep-2012 17:41
Send private message

Hmmm... are you on cable or adsl? and are you using your account number or username to login with, I tried it last night with the netusage plugin and it didn't seem to work, but then again I could have been screwing something up...

kharris
1209 posts

Uber Geek

ID Verified
Trusted

  #689948 22-Sep-2012 17:47
Send private message

archerfish: Hmmm... are you on cable or adsl? and are you using your account number or username to login with, I tried it last night with the netusage plugin and it didn't seem to work, but then again I could have been screwing something up...


I'm on cable and use my account number in the usage login field with my password. The same login and password I use to access the customer zone @ https://www.telstraclear.co.nz/selfservice-customerzone/login.jsf



kharris
1209 posts

Uber Geek

ID Verified
Trusted

  #689951 22-Sep-2012 17:50
Send private message

kharris:
archerfish: Hmmm... are you on cable or adsl? and are you using your account number or username to login with, I tried it last night with the netusage plugin and it didn't seem to work, but then again I could have been screwing something up...


I'm on cable and use my account number in the usage login field with my password. The same login and password I use to access the customer zone @ https://www.telstraclear.co.nz/selfservice-customerzone/login.jsf


the two login types imply that for cable you use account number, but for adsl you use username... don't  have an adsl account to test it on though.




Kirk


archerfish

14 posts

Geek


  #689958 22-Sep-2012 18:14
Send private message

Hmmm neither seem to work... It could be partly my work proxy connecting breaking the plugin connection, So I'll try it again at home.

Just to confirm, logging in manually via https://www.telstraclear.co.nz/selfservice-customerzone/login.jsf works fine with either my customer acc # or my telstra username + password.

Fetching data via plugin just ends up with no data...

damianh
34 posts

Geek


  #689960 22-Sep-2012 18:28
Send private message

I use TUC.  I know it's not command line, but it does access and display your usage....

www.tuc.co.nz

Ledgy
92 posts

Master Geek


  #689963 22-Sep-2012 18:30
Send private message

I use this little program called traffic usage checker that runs on your computer at www.tuc.co.nz
Very accurate which shows how much used and left before next reset for Telstraclear, vodafone, xtra, orcon & much more.
Saves logging into places to check.

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
teamyoyo
58 posts

Master Geek


  #689967 22-Sep-2012 18:44
Send private message

I have Tuc as well. I also have it output a usage log then I have Rainmeter parse the log for the last % and display it. Maybe you could do something similar

archerfish

14 posts

Geek


  #689969 22-Sep-2012 18:46
Send private message

cool, thanks for the link to tuc I'll have a look when I am back on my windows box at home.

Cheers

A.

MurrayM
2455 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #690105 23-Sep-2012 11:21
Send private message

damianh: I use TUC.  I know it's not command line, but it does access and display your usage....

www.tuc.co.nz

Thanks for mentioning TUC, I've just tried it out and it's very useful.  Thanks!

archerfish

14 posts

Geek


  #690134 23-Sep-2012 13:00
Send private message

Looks Like I found the problem why my code and the netUsage extension app wasn't working...

During your first month of usage, when you click on account usage meter it goes straight to the current month's usage. Where as now that I've rolled onto my second month, I have to choose which month to view.

I am guessing all usage meters, (except for TUC) were expecting that select month page... and as it went straight to the meter page they failed...

Cheers

A.

geek4me
843 posts

Ultimate Geek

Trusted
Lifetime subscriber

  #690710 24-Sep-2012 16:31
Send private message

I also use and like TUC. I monitor 2 different ISPs, TelstraClear and Woosh on my work PC. TC being my home network and Woosh for work. It shows the percentage used in the tool-bar along with the Service provider when using the /config=<config file> switch if you hover over either.

Shadbolt
130 posts

Master Geek


  #690963 25-Sep-2012 09:51
Send private message

geek4me: I also use and like TUC. I monitor 2 different ISPs, TelstraClear and Woosh on my work PC. TC being my home network and Woosh for work. It shows the percentage used in the tool-bar along with the Service provider when using the /config= switch if you hover over either.

I have two Telstra accounts that I want to monitor with TUC. Up until now, I haven't understood the methodology of how to get them both monitored simultaneously, so I've been changing the login details on the GUI - which is a pain.
How do I configure it to display data for two accounts? (Step by step instructions, for a novice, please!)

Shadders

Ledgy
92 posts

Master Geek


  #690969 25-Sep-2012 10:00
Send private message

Now for some reason under Telstraclear using TUC it's coming up with

- Error 12007 the server name or address could not be resolved

Anyone else getting this?

MurrayM
2455 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #690983 25-Sep-2012 10:26
Send private message

Ledgy: Now for some reason under Telstraclear using TUC it's coming up with

- Error 12007 the server name or address could not be resolved

Anyone else getting this?

Yup, I'm getting this too.  I see that someone has reported it on the TUC forum, and the creator of TUC knows about this problem, so hopefully it'll be fixed soon.  See http://www.tuc.co.nz/board/index.php?topic=185.0

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.