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
892 posts

Ultimate Geek
+1 received by user: 219

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

 
 
 
 


892 posts

Ultimate Geek
+1 received by user: 219

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

892 posts

Ultimate Geek
+1 received by user: 219

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.

1186 posts

Uber Geek
+1 received by user: 80


  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.

781 posts

Ultimate Geek
+1 received by user: 67

Trusted
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.

79 posts

Master Geek
+1 received by user: 19


  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?

1186 posts

Uber Geek
+1 received by user: 80


  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 »

Vodafone TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



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.