I am using utorrent on a mini "home utorrent server" full time. And when I go to bed, I have to manually set up the bandwith limit to max. And in the morning, I have to set it up to, say, 60% of the max. This is boring and I sometimes forget to do it...
So I want to following : when I boot any PC in my home network (whether its a laptop, my desktop computer or a friend laptop), the utorrent bandwith limit automatically slows down. Keep in mind that I want the utorrent preferences to change based on whether or not I am on a PC at home.
First of all, I didn't find any software or utorrent configuration that does it. So I have though about writing a program (probably in C#) and it goes like this:
I can configure 2 modes: "slow mode" (eg 60% bandwith), and "fast mode" (eg 100% bandwith). Every minute or so, it scans IP's from 192.168.0.1(included) to 192.168.0.30(more or less). For each of thoses ips, it looks up the related machine name. If, in the range of ips, there is only one machine and it is the utorrent server, set utorrent preferences to "fast mode". If there are more machines, set utorrent preferences to "slow mode". The automatic preferences setup can be made via http api of utorrent.
Before doing it, I want to know if there are more simple approaches to do that. If not, then I want to know if you see something impossible in what I just described.