Giter VIP home page Giter VIP logo

myjdownloader-card's Introduction

hacs_badge GitHub all releases GitHub release (latest by SemVer)

Ko-fi Buy me a coffee

Custom MyJDownloader Card for HomeAssistant/Lovelace

This Lovelace custom card displays downloads information provided by the MyJDownloader Integration. It also supports enable limit speed mode and play/pause/stop of all downloads. If you have multiple MyJDownloader instances associated to your account, you can cycle through all of them.

Installation

Prerequisites

  • Install and configure MyJDownloader integration.
  • Enable sensor.jdownloader_<instance-name>_packages and sensor.jdownloader_<instance-name>_links entities.

HACS method (recommended)

MyJDownloader Card is available in HACS (Home Assistant Community Store).

  • Install HACS if you don't have it already
  • Open HACS in Home Assistant
  • Go to "Frontend" section
  • Click button with "+" icon
  • Search for "MyJDownloader Card"

Or just use Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual method

  • Download the latest release
  • Extract content.
  • Copy the myjdownloader-card/dist folder into www folder into your HA installation, as explained in official documentation
  • Add the card to the resources in configuration.yaml:
resources:
  - {type: js, url: '/hacsfiles/myjdownloader-card/myjdownloader-card.js'}
  • Restart HA

Options

Card options

Name Type Required Default Description
type string required custom:myjdownloader-card
header_title string optional MyJDownloader Header text at the top of card
sensor_name string optional jdownloader Name of the sensor
display_mode string optional compact Display mode: compact or full
list_mode string optional full List mode: "full" shows packages and links, or shown only "packages" or "links"
default_instance string optional Default instance to show, if not set, the first one is used.
hide_title boolean optional false Hide header text at the top of card
hide_instance boolean optional false Hide MyJDownloader instance selector
hide_play boolean optional false Hide play button
hide_pause boolean optional false Hide pause button
hide_stop boolean optional false Hide stop button
hide_speed_limit boolean optional false Hide speed limit button
Please find below an example of ui-lovelace.yaml card entry:
    cards:
      - type: custom:myjdownloader-card
        default_instance: 'foo@bar'
        hide_instance: true

Preview

MyJDownloader Card in "compact" mode (dark theme):

MyJDownloader Card compact

MyJDownloader Card in "full" mode (light theme):

MyJDownloader Card full

Thanks

@home-assistant and @hacs teams, for their awesome work.

@amaximus @amaximus for his work on transmission-card, which this card is heavily inspired by.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.