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.




13 posts

Geek


Topic # 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
924 posts

Ultimate Geek
+1 received by user: 223

Trusted
Subscriber

  Reply # 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/



13 posts

Geek


  Reply # 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...

 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
924 posts

Ultimate Geek
+1 received by user: 223

Trusted
Subscriber

  Reply # 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

924 posts

Ultimate Geek
+1 received by user: 223

Trusted
Subscriber

  Reply # 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

 




13 posts

Geek


  Reply # 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...

34 posts

Geek


  Reply # 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

77 posts

Master Geek
+1 received by user: 5


  Reply # 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.

57 posts

Master Geek
+1 received by user: 15


  Reply # 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



13 posts

Geek


  Reply # 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.

1347 posts

Uber Geek
+1 received by user: 121


  Reply # 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!



13 posts

Geek


  Reply # 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.

800 posts

Ultimate Geek
+1 received by user: 74

Trusted
Lifetime subscriber

  Reply # 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.

83 posts

Master Geek
+1 received by user: 20


  Reply # 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

77 posts

Master Geek
+1 received by user: 5


  Reply # 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?

1347 posts

Uber Geek
+1 received by user: 121


  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25


New Zealand Adopts International Open Data Charter
Posted 3-Mar-2018 12:48


Shipments tumble as NZ phone upgrades slow
Posted 2-Mar-2018 11:48



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.

Alternatively, you can receive a daily email with Geekzone updates.