[Plugin] NetWatcher - Pause deluge if others are using net

Suggest, post, or discuss plugins for Deluge
rikpg
New User
New User
Posts: 2
Joined: Fri Jul 27, 2012 7:41 am
OS or Distro: Linux

[Plugin] NetWatcher - Pause deluge if others are using net

Postby rikpg » Fri Jul 27, 2012 8:39 am

The problem: the adsl service that I have s**ks and I also share it with others, this means that using a p2p like deluge will "block" internet for everybody.

So I wrote NetWatcher to automatically detect when others connect to my same router and accordingly pause or resume all torrents. I use it everyday so I can leave it running knowing that it will manage by itself.
I've also implemented a custom logging to a file that I placed in my Dropbox folder to be able to check the situation from everywhere.

The source code is on github along with a bit of documentation.

Download egg

Please report any issue here

BigBonsai
New User
New User
Posts: 3
Joined: Fri Jun 21, 2013 10:18 pm
OS or Distro: Windows 7

Re: [Plugin] NetWatcher - Pause deluge if others are using n

Postby BigBonsai » Fri Jun 21, 2013 10:43 pm

Is it me, or does this not work on 1.3.6? :(


BiB

Cas
Top Bloke
Top Bloke
Posts: 3347
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: [Plugin] NetWatcher - Pause deluge if others are using n

Postby Cas » Tue Jun 25, 2013 11:25 am

BigBonsai wrote:Is it me, or does this not work on 1.3.6? :(

You are using windows and need to read this: http://dev.deluge-torrent.org/wiki/Plug ... ingPlugins

ovasilis74
New User
New User
Posts: 3
Joined: Sat Nov 16, 2013 8:10 pm
OS or Distro: xUbuntu12.04

Re: [Plugin] NetWatcher - Pause deluge if others are using n

Postby ovasilis74 » Sat Nov 16, 2013 11:06 pm

Hi there!
I'd like to ask what are the options for the IP Addresses in the NetWatcher settings:
-Could it be the routers IP Address or/and the WAN IP (external IP) or/and the Gateway (I don't realy know what this is), excluding the IP of the Deluge-running computer, in order to check the total traffic, in case DHCP Clients come and go? I have set fixed IP Addresses for some of the devices in my DHCP Clients List, but others connect too.
-In general, could I use
192.168.1.2-192.168.1.254 or
192.168.1.2-192.168.1.12, 192.168.1.22 or
192.168.1.2-192.168.1.12, 192.168.1.22, 192.168.1.32-192.168.1.42, 192.168.1.254 or
192.168.1.2-192.168.1.254, -192.168.1.12, -192.168.1.22 (to exclude some IPs)?
I have not tried any of them yet 'cause I don't want to mess things hard to reset...
Thanks
EDIT____
Sorry, forgot the option to spesify an address and a port to exclude, to make Deluge pause even if I start using the network from the same IP:
192.168.1.2-192.168.1.254, -192.168.1.2:55789 or
192.168.1.2-192.168.1.254, -192.168.1.2:55789-55889 ?
Is my fantasy high-scoring?
Last edited by ovasilis74 on Sat Nov 16, 2013 11:22 pm, edited 2 times in total.

rikpg
New User
New User
Posts: 2
Joined: Fri Jul 27, 2012 7:41 am
OS or Distro: Linux

Re: [Plugin] NetWatcher - Pause deluge if others are using n

Postby rikpg » Mon Aug 11, 2014 9:54 pm

Hello! I listened to your feedback and just released a new version of the plugin :)

I included the possibility to:
- just slow the torrents
- use address ranges, like: 192.168.1.32-42
- specify a whitelist (ip-addresses to not be checked)

On GitHub along with the source code you can find a more detailed documentation.
I'm afraid I don't check very often the forum, so any feature request or issue reported there will get more attention.

I hope you'll like the overall result! (Let me know if any problem.)

----------------
ovasilis74 wrote:Sorry, forgot the option to spesify an address and a port to exclude, to make Deluge pause even if I start using the network from the same IP:


I'm not sure what do you mean... This plugin is using ping requests under the hood. See this SF question: Ping a Specific Port, for more insight on this topic.


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 4 guests