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

Ultimate Geek
+1 received by user: 222

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

 
 
 
 


915 posts

Ultimate Geek
+1 received by user: 222

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

915 posts

Ultimate Geek
+1 received by user: 222

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.

1265 posts

Uber Geek
+1 received by user: 98


  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.

796 posts

Ultimate Geek
+1 received by user: 73

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?

1265 posts

Uber Geek
+1 received by user: 98


  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 »

New Zealand's IT industry in 2018 and beyond
Posted 22-Jan-2018 12:50


Introducing your new workplace headache: Gen Z
Posted 22-Jan-2018 12:45


Jucy set to introduce electric campervan fleet
Posted 22-Jan-2018 12:41


Hawaiki cable system will be ready for service in June 2018
Posted 22-Jan-2018 12:32


New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52



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.