Who is this workflow for? Efficiently manage your Plex server’s bandwidth by automatically throttling it when accessed remotely. This workflow leverages n8n, Plex webhooks, and qBittorrent’s WebUI to ensure optimal performance without manual intervention..

What does this workflow do?

  • Install n8n:
  • Visit n8n.io and install the desktop or Docker version based on your preference. This guide uses the desktop version.
  • Set Up the Workflow:
  • Copy the provided workflow code into your n8n canvas. The script will appear visually on your workspace.
  • Configure the Webhook:
  • Double-click the Webhook node within the n8n canvas to configure it.
  • Integrate Plex Webhooks:
  • Access your Plex server settings.
  • Navigate to the Webhooks section (available with Plex Pass).
  • Add the webhook URL provided by n8n to set up triggers for remote connections.
  • Enable qBittorrent WebUI:
  • Open your qBittorrent instance and enable the WebUI.
  • Note down the Username, Password, and Port.
  • Determine the IP address of the machine running qBittorrent. You can use network scanning tools like Fing on your iPhone while connected to the same network.
  • Configure Global Variables:
  • Open the script in n8n and update the Global Variables with your qBittorrent credentials and IP address.
  • Activate the Workflow:
  • Save your changes in n8n.
  • Activate the workflow to enable automatic throttling.
  • Enjoy Optimized Performance:
  • Your Plex server will now automatically throttle when accessed remotely, ensuring balanced network usage.

🤖 Why Use This Automation Workflow?

  • Bandwidth Management: Automatically adjust Plex’s bandwidth usage during remote access to prevent network congestion.
  • Seamless Integration: Utilizes existing tools like n8n and qBittorrent without requiring extensive configuration.
  • Enhanced Performance: Maintains smooth streaming and torrenting experiences by balancing network resources.

👨‍💻 Who is This Workflow For?

This workflow is ideal for:

  • Home Media Enthusiasts: Users who run a Plex server and frequently access it remotely.
  • Developers and Tech-Savvy Users: Individuals comfortable with setting up automated workflows and managing server configurations.
  • Network Administrators: Professionals looking to optimize home or small office network performance.

🎯 Use Cases

  1. Remote Streaming Optimization: Automatically throttle Plex during remote streaming sessions to ensure other network activities, like torrenting, remain unaffected.
  2. Bandwidth Allocation: Allocate specific bandwidth limits to Plex and qBittorrent based on real-time usage and server access.
  3. Network Performance Monitoring: Continuously monitor and adjust network settings to maintain optimal performance for various applications.

TL;DR

This n8n workflow seamlessly integrates Plex and qBittorrent to automatically manage bandwidth allocation during remote Plex access. By following the outlined steps, you can enhance your server’s performance, ensuring smooth streaming and efficient torrenting without manual adjustments.

Help us find the best n8n templates

About

A curated directory of the best n8n templates for workflow automations.