{"product_id":"automate-qbittorrent-ban-slow-peers-with-n8n-workflow","title":"Automate qBittorrent: Ban Slow Peers with n8n Workflow","description":"\u003cp\u003eStop slow BitTorrent peers from degrading your qBittorrent seedbox performance with this intelligent automated banning system. This n8n workflow continuously monitors peer connections, identifies problematic clients, and automatically removes leeches and fake peers that waste bandwidth and keep your HDDs seeking 24\/7.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eThe automation runs on two synchronized branches to maintain optimal qBittorrent performance:\u003c\/p\u003e\n\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eReal-time monitoring (every 60 seconds):\u003c\/strong\u003e Fetches active torrents and peer data via qBittorrent Web API, then flags problematic connections using three detection rules - known bad clients like Xunlei, stuck progress peers taking data but reporting 0%, and slow uploaders serving below 512 KB\/s\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmart 3-strike system:\u003c\/strong\u003e Slow peers must be detected across 3 consecutive monitoring cycles before permanent banning, preventing false positives from temporary speed fluctuations\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAutomated ban enforcement:\u003c\/strong\u003e Confirmed problem peers are added to qBittorrent's persistent ban list through setPreferences API calls\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDaily maintenance (04:00):\u003c\/strong\u003e Automatically prunes the ban list by removing entries older than 7 days and clearing tracking data, giving peers a fresh start\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003ePrivate tracker seedbox operators maintaining ratio requirements\u003c\/li\u003e\n\u003cli\u003eHome media servers optimizing upload bandwidth allocation\u003c\/li\u003e\n\u003cli\u003eDatacenter BitTorrent operations reducing unnecessary HDD wear\u003c\/li\u003e\n\u003cli\u003eAutomated torrent farm management without manual peer monitoring\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cp\u003eBuilt for qBittorrent 5.2+ using API key authentication. The workflow leverages n8n's Code nodes for peer analysis logic, Switch and Filter nodes for rule-based detection, Merge nodes for data consolidation, and Data Table integration for persistent peer state tracking. All peer monitoring data is stored in a structured n8n Data Table with configurable retention periods.\u003c\/p\u003e\n\n\u003cp\u003eSetup requires creating the qBittorrent API key, configuring environment variables (QBIT_URL, QBIT_API_KEY), and establishing the peer tracking data table. Customizable thresholds allow fine-tuning speed cutoffs, strike counts, and retention windows to match your specific seedbox requirements.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45511978320051,"sku":"N8N-15709","price":27.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/DTqYfSVn-nuHrLJmz9iAK_75740400a0a24c359b290d6c994519d8.jpg?v=1778922425","url":"https:\/\/buyflowscripts.com\/products\/automate-qbittorrent-ban-slow-peers-with-n8n-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}