BSNL Broadband Happy Hour Scheduler

Having used BSNL Home 500 plan at one point of my stint with BSNL DataOne I have also faced the usual dilemma; i.e. when to start the downloads during the Happy Hours (aka time period when the downloads are not counted) and then stop it so that i don’t get billed for excessive use and can stay with the limit of 1GB(or was it 1.5GB ?).
It involved using getting up at nights around 2.30AM and starting the downloads. Later that shifted to Task Scheduler of Windows XP then to a scheduler plugin of Azureus and then to the default scheduler of uTorrent.
But after having shifted to UL plans (firstly BSNL UL 256kbps, then upgraded to BSNL UL 512kbps and then finally shifted to Reliance UL 400kbps) i had almost forgotten the problem until one friend of mine made me aware of the problem again.
So i went down to work and then made a small windows application so that you can sleep in peace at night and forget about crossing your monthly limits and running a huge bill.
The application is coded in C# using the .NET 2.0 framework.
So what all is to be done?
Just follow the following steps
What you need:
1. .NET Framework v2.0.
2. The name of the RASDialer(the desktop link) that you use to connect to BSNL/MTNL.
3. User Name.
4. Password.
What you need to do:
1. Set the time as per your choice ( Happy Hours Start and End Disconnect and Re-connect time)
2. Browse for your favourite Bit-Torrent Application and select the check box.
3. Give a dry run of the app initially and set the firewall rules. Since this app uses the “ping” command and many other command line options so your firewall will most likely block those. Just make sure you allow those requests to be accessed by the firewall.
How to do:
1. Provide the dialer name,user name and password. Tick save details if you want to retain those.
2. Set the Happy Hours start and end times.
i. Start Happy Hours :
i. Disconnect at : Set this time to switch off the connection before Happy Hour Starts so that you don’t get billed.
ii. Re-connect at : Set this time to the Happy Hour start time.
ii. End Happy Hours :
i. Disconnect at : Set this time to switch off the connection before Happy Hour Ends so that you don’t get billed after that .
ii. Re-connect at : Set this time to re-connect after the Happy Hours.
3. Browse for your favourite Bit-Torrent App and Tick “Launch this Bit-Torrent App” to start it at the Happy hours start time.
4. Click the “Schedule Happy Hours” button and be Happy.
5. The “Out Of My Sight” button minimizes the application to your System Tray.
Screenshot:

Salient Features:
1. When the Happy Hour starts this app checks whether your connection is active or not every 5 minutes . If not it redials your connection to start the Happy Hours again.
2. When the Happy Hour ends it checks again every 5 minute whether the connection has been canceled to not. If not it disconnects the connection again.
3. This app uses the ping feature to verify the state of the connection.
4. This app makes no attempt to steal your User Name, Password, Phone Number or any other relevant details. I would never code such a thing. This app is solely made to help others who are troubled by the time scheduling and fearing a high phone bill.
5. This app contains no virus or trojans to destroy your PC.
Disclaimer:
Use this app at your own risk. Since this app will be synchronized with your local PC time on which it is running and not with the Broadband login server time so i do not take any responsibility as to how/why your telephone bills are so high. So set the time responsibly taking into account the time difference between your PC and the server times.
Download : Download the application here.
Hope you find the application handy.
Source Code : In case you need the source code to modify it and make it much more useful or just want to have a look at it, the same can be found at github: sevensins / BSNL-Broadband-Happy-Hour-Scheduler.
Happy downloading ….
Well mate i need the source code i will modify and integrate BSNL Usage checker with it mate…
And if possible try to keep AUTO SHUTDOWN…
Hope it will work…
Hi Balaji,
Thanks for dropping by…
I will mail you the source code.
Btw i could not get what you meant by AUTO SHUTDOWN.
Anyways expect a mail shortly
Hey thnx man !!!……..
u kow wht i too want the source code man!!…
i tooo wanna make one for myself…..ur code might help me……
thnxx
Thanks for dropping by. But i didn’t get what you want to make one for urself using my code?
Care to explain?
Hi man, i need to know how to disconnect the connection from C#. I’ve searched in so many websites for this, but ‘m not able to get it. So please help me out.
Thanks in advance
Hi Raghu,
Can you elaborate a bit more as to what exactly you are trying to do? That would help me to point you to the right direction.
hi man! a nice work to praise …
i also thought of writing my own code for scheduling night downloads … as i dont have much experience in developing software in c# or vb, i dont know to where and how to start writing code for this scheduler.
if u provide ur source code for me, i guess i could start writing my code with urs as a reference.. and sure i won’t put ur code in internet and maintain ur copyright in my code too …..
expecting a good reply….
Hi Pradeep,
..you will receive a mail shortly with the source code. Make sure you have got Visual Studio 2005 installed to execute the project.
Nice to hear from you buddy. Well everybody starts as inexperienced coder and gradually moves up the ladder. So don’t you worry…
Just don’t pass my code as yours. That’s all i want to say.
Also if you make any modifications which might improve the software do update me and i will put up the same with proper credits.
can anyone plz mail me the coding of this software please………..i’ll be greately thankful to you……berlstonez@yahoo.com
Expect a mail shortly, but dont pass off the code as yours..
Happy coding…
Fabulous Tool!
Would like to check the Source Code…the logic (procedure). I might contribute to the software with a few useful additional features.
@Me A C++ Programmer. Understand VB.
^Copyright Guaranteed.
*Need only for personal purpose. Will need your consent before releasing the modified version.
Please send the source code @ my email.
Thanks.
Thanks that you liked it.
Will mail you the source code shortly
wat is the dialer name???
The dialer name is the name of the shortcut that you have on your desktop and which you use to connect to BSNL.
got it….great job…..thanx a lot
Thanks that you liked it
can i get d source code???
Yeah i will mail you the source code …but just don’t pass around the code as yours
can i get d source code??? plz
i promiss i will not pass around the code…..
Hi Sam,
Thanks for dropping by…
I will mail you the source code shortly..
Hey thnx man !!!……..but when i double click on BBScheduler microsoft send dontsend error comes…what to do…? plz help..
and i have .NET Framework 2.0 sp2
NET Framework 3.0.sp2
NET Framework 3.5sp1
1.0 & 1.1 not install….
Can you just post a screenshot of the error message?
i have post u on you email……
Hi Sam,
Download the compiled binary available on the site.
Run that and report back.
Thank u thank u very much…… u all r Fabulous ….it work great..
Hi Sam,
Am happy that its working for you.
Just spread the word around to all your friends who need the same.
Hi,
Can u make your s/w to work in PPPoE mode also… like Imran’s Broadband Helper does.
Hi David,
Thanks for getting back.
Fact is that right now am not maintaining the project any more.
If you are willing to modify it to make it behave like Imran’s Broadband Helper, you are more than welcome to do that.
In that case just drop me a mail and I would mail you the source code.
hi man,
one question i want to ask that my bsnl broadband disconect every one hour in night so is this Fabulous BB sedhule soft can auto redial every hour ….?
Hi Sam,
Just take a look at points 1 and 2 under the Salient Features
Hope that helps.
Hi. May I get the source code plz. I want to add some more functionality to this code like, shutdown PC after 8 am.
I would be grateful. Thanks in advance. [:)]
Hi Yogesh,
I would mail you the source code soon.
Just don’t pass around the code as yours.
In case you make those above changes you can mail me the same and i can have it uploaded it here for distribution with due credits in your name…
Hi, man thanks for ur work, i hope this will work, i’ll check tomorrow morning , please send me the coding for this app. Thanks in advance
Hi Vikas,
Do report back if the app works for you.
And again thanks for dropping by…
Thanks for this cool post. Anyway i found your blog on yahoo and find it very useful. I’ll be sure to come back again for more!
hey
description do seems interesting for ur app but if u can provide me one(app) i will be grateful to you.
Hi Pratap,
The downlink link is on the page itself. Just help yourself
good job yar… i would like to modify the source code too..can you pls mail it 2 me…
Hi Basil,
Sorry for the late reply.
I will mail you the source code once I dig it up again. Just check out for my mail
Hi, can you please mail me the source code of this program? It will help me a lot. I’ll use it for personal purpose and won’t pass it as my own.
Hi juggler6,
Thanks for dropping by.
I will mail you the source code soon..