Skip to main content

JDownloader smart home integration, free and open source

JDownloader integration for Gladys Assistant

Monitor and control your JDownloader downloads from Gladys via My.JDownloader.

Monitor and control your JDownloader downloads from Gladys, through My.JDownloader: download speed, remaining size, download list, pause and speed limit, scenes on finished downloads, and a dashboard widget.

Before you start​

The integration reaches JDownloader through My.JDownloader, the free remote access service of JDownloader (JDownloader has no supported local API). It works wherever JDownloader runs (PC, NAS, server), as long as it is connected to My.JDownloader.

  1. Create a free account on my.jdownloader.org and confirm your email.
  2. In JDownloader, open Settings → My.JDownloader, enter the account email and password, and check that the status says connected.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for JDownloader and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab of the integration:

  • My.JDownloader email and password: those of your account. The password only derives the encryption keys of the session (the My.JDownloader protocol): it is never sent as is, and never written in the logs.
  • Refresh interval: how often each JDownloader is read, in seconds (60 by default, one minute minimum).

Save, then click Test the connection: the message lists the JDownloader instances online on the account.

Devices​

Every JDownloader online on the account shows up in the Discovery tab; add it to Gladys. A JDownloader device has these features:

FeatureDescription
Statusrunning, paused, stopped, idle, or offline
Download speedCurrent speed, in MB/s
Remaining to downloadSize left in the enabled, unfinished packages, in GB
Packages / LinksNumber of packages and links in the download list
Links in the link grabberLinks waiting in the link grabber
Pause downloadsSwitch: pauses (on) or resumes (off) the downloads
Speed limitSwitch: enables the speed limit set in JDownloader

Scenes and dashboards​

Triggers (each one can be limited to one JDownloader):

  • Package downloaded: a package has finished downloading. Variables: JDownloader name, package name, size (MB), download folder.
  • All downloads finished: no package is left to download (e.g. turn off the computer).
  • JDownloader offline / JDownloader back online: the instance lost or regained My.JDownloader (closed, computer off…).
  • JDownloader update available: JDownloader found an update.

Actions:

  • Control the downloads: start, stop, pause or resume. Output: the new status.
  • Add links: sends links (separated by spaces, commas or new lines) to the link grabber, with an optional package name and download folder, and starts them if asked. Output: the number of links sent.
  • Check for a JDownloader update: looks for an update, and installs it if asked (JDownloader restarts). Outputs: update available, restarted.

Widget — JDownloader downloads: choose a JDownloader in its settings. It shows the speed, the remaining size and the number of packages (live), the download list (current packages first), the status, the link grabber, the speed limit, the available update, and Start / Pause / Resume / Stop buttons.

Limits​

  • Data goes through the My.JDownloader servers: an Internet connection is needed on both sides.
  • An instance that is offline when Gladys starts only shows up in Discovery once it is back online; devices already added stay, with the offline status.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings JDownloader asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoJDownloader is reached through My.JDownloader, its free remote access service. In JDownloader, open Settings → My.JDownloader, sign in with your account and check that the connection is up. Then enter the same email and password here: every JDownloader of the account shows up in the Discovery tab.
My.JDownloader emailstringYes
My.JDownloader passwordsecretYesOnly used to derive the encryption keys of the session: it is never sent as is.
Refresh interval (s)numberNoHow often each JDownloader is read, in seconds (one minute minimum).

How to install JDownloader in Gladys​

  1. In Gladys, open Integrations: JDownloader appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-jdownloader:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-jdownloader.

JDownloader requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

JDownloader is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂