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

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

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

Post by rikpg »

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

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

Post by BigBonsai »

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


BiB
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

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

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

Post by ovasilis74 »

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

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

Post by rikpg »

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.
Ditto666
New User
New User
Posts: 1
Joined: Fri Feb 08, 2019 8:30 am

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

Post by Ditto666 »

Strange... I installed it (after I installed NetWatcher2) and rather then get the options for pausing/resuming, I get the same UI and options as for NetWatcher2, to enter the "speed when client is active". I actually wanted to use both add-ons for two different purposes. Anyone know what the issue here might be? Thanks!
The Gordon
New User
New User
Posts: 1
Joined: Fri Apr 17, 2020 11:50 am

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

Post by The Gordon »

I have the same issue. Anybody solved this problem yet?
I always have this problem when my computer is assigned to the network IP 192.168.1.12
Post Reply