Skip to content

radsonpatrick/qbittorrent_custom_component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge BuyMeCoffee

Acknowledgements

@danielbibit I adapted his code for use in new version to homeasssistant.

@boralyl for you excelent tutorial : Building a Home Assistant Custom Component.

qBitTorrent Custom Component

qbittorrent

Custom component to get information qBitTorrent for the home assistant

Installation

HACS

Manual

  • Copy directory custom_components/custom_qbittorrent to your /custom_components directory.
  • Configure.
  • Restart Home-Assistant.

Configuration for sensor:

sensor:
  - platform: custom_qbittorrent 
    name: qbit  #optional
    host: "http://hostname:8080"
    username: "admin"
    password: "adminadmin"
    monitored_variables:
      - 'current_status'
      - 'total_torrents'
      - 'active_torrents'
      - 'inactive_torrents'
      #- 'downloading_torrents' if you not need remove or comment
      #- 'seeding_torrents'
      - 'resumed_torrents'
      - 'paused_torrents'
      - 'completed_torrents'
      - 'download_speed'
      - 'upload_speed'

in lovelace :


Configuration for switch:

configurate your alternative_speed in qbittorrent interface

switch:
  - platform: custom_qbittorrent 
    name: qbit #optional
    host: "http://hostname:8080"
    username: "admin"
    password: "adminadmin"

in lovelace:


Configuration for Number (limit global speed value)

not confuse between alternative_speed switch and limit_speed_switch.

limit_speed_switch you get one value between min: and max:, for limit global download speed

value = 0 is unlimited speed

number:
  - platform: custom_qbittorrent 
    name: qbit_limit_speed #optional
    host: "http://192.168.1.2:8080"
    username: "admin"
    password: "adminadmin"
    min: 0
    max: 120  #value in Mb/s
    step: 0.5

in lovelace:


About

Custom component for use in Homeasssistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages