October 28, 2009

Reliance netconnect - check your usage

Update December 14, 2009: Self contained exe for windows with a GUI - see here.

I have been using netconnect from reliance without any complaints for two months now. One problem, though, has been that the reliance website is fairly bad and it is not at all easy to verify your usage until you get the bill. When you log in and check your usage, what is shown is a huge table with the usage in kb for each session along with the session start time. So, if like me, you have a plan with a separate limit for nighttime, you have to download the csv file and then add up the usage yourself for sessions starting in the 'nighttime' and similarly for those starting in the 'daytime'. Seeing that many people have complained of being over-billed, it seems prudent to keep a tab on usage. While vnstat can give you the usage on any machine, it is less helpful when you use the account from multiple machines and also it does not seem to be easy to get usage for specified time limits.

So here is a small python script I wrote to get the usage information from the reliance website, calculate the split usage for daytime (6am-10pm) and nighttime (10pm-6am) and present the results in a human readable form. You can download the script here.

Here is the script in action -



Any comments and suggestions are welcome.

5 comments:

Rohan said...

how to use that script email rohan19932007@gmail.com

Raja said...

@rohan:
The easy part is to open a terminal, navigate to the folder where you downloaded the script and type 'python reliance_usage.py xxxxx y' where xxxxx is your phone number and y is the first day of the billing cycle.
The more difficult part is that you must have python installed and added to your system path. If you are working on Linux, this is already the case usually. But if you are on windows, you need to install python and add to your path.

Aditya said...

Hi Raja
is there any way you can upload a exe application that runs on windows. to calculate data from the csv or if you can a reg exp of the calculation used so the formula can be applied directly in excell itself.

Raja said...

I have uploaded a self-contained exe for windows - http://reachbeyondgrasp.blogspot.com/2009/12/reliance-netconnect-usage-gui-version.html.

Roasted Nuts said...

Hi Raja,
QUOTE
The easy part is to open a terminal, navigate to the folder where you downloaded the script and type 'python reliance_usage.py xxxxx y' where xxxxx is your phone number and y is the first day of the billing cycle.
The more difficult part is that you must have python installed and added to your system path. If you are working on Linux, this is already the case usually. But if you are on windows, you need to install python and add to your path."


Can anyone explain this without jargons because i have a similar problem with checking usage and think this might be handy if i can understand how to use that little script i downloaded. Honestly i dont understand wat opening a terminal means or even the rest of wat u typed in response to rohan. kindly mail me a simple solution at four321zero@gmail.com

Thanks.