From e20eddeba2352c8cfe8c8af28ba42f03cda6addb Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 13 Feb 2019 13:21:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirect=20SABnzbd=20comp?= =?UTF-8?q?onent=20pages=20(#8528)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_components/sabnzbd.markdown | 37 ++++++++++++---------- source/_components/sensor.sabnzbd.markdown | 19 ----------- 2 files changed, 20 insertions(+), 36 deletions(-) delete mode 100644 source/_components/sensor.sabnzbd.markdown diff --git a/source/_components/sabnzbd.markdown b/source/_components/sabnzbd.markdown index 16e665b6002..2638b927826 100644 --- a/source/_components/sabnzbd.markdown +++ b/source/_components/sabnzbd.markdown @@ -8,13 +8,16 @@ comments: false sharing: true footer: true logo: sabnzbd.png -ha_category: Downloading +ha_category: + - Downloading + - Sensor ha_release: 0.70 ha_iot_class: "Local Polling" +redirect_from: + - /components/sensor.sabnzbd/ --- -The `sabnzbd` component will allow you to monitor and control your downloads with [SABnzbd](https://sabnzbd.org) from -within Home Assistant and setup automations based on the information. +The `sabnzbd` component will allow you to monitor and control your downloads with [SABnzbd](https://sabnzbd.org) from within Home Assistant and setup automations based on the information. If SABnzbd is discovered on your network, you can enter your API Key in the Configurator. Press "CONFIGURE" to do it. @@ -24,7 +27,6 @@ If SABnzbd is discovered on your network, you can enter your API Key in the Conf This will create services for interacting with SABnzbd in scripts and automations, but no sensors will be created. - To configure SABnzbd, add the following to your `configuration.yaml` file: ```yaml @@ -66,18 +68,18 @@ ssl: Available sensors are: - * `current_status`: The current status of SABnzbd (Idle, Paused, etc.) - * `speed`: The current download speed - * `queue_size`: The total size of the download queue - * `queue_remaining`: The remaining size of the download queue - * `disk_size`: The total disk size at SABnzbd's download location - * `disk_free`: The available disk space at SABnzbd's download location - * `queue_count`: The number of items in the download queue - * `day_size`: GB downloaded today - * `week_size`: GB downloaded this week - * `month_size`: GB downloaded this month - * `total_size`: Total GB downloaded - +- `current_status`: The current status of SABnzbd (Idle, Paused, etc.) +- `speed`: The current download speed +- `queue_size`: The total size of the download queue +- `queue_remaining`: The remaining size of the download queue +- `disk_size`: The total disk size at SABnzbd's download location +- `disk_free`: The available disk space at SABnzbd's download location +- `queue_count`: The number of items in the download queue +- `day_size`: GB downloaded today +- `week_size`: GB downloaded this week +- `month_size`: GB downloaded this month +- `total_size`: Total GB downloaded + ## {% linkable_title Full examples %} ```yaml @@ -101,12 +103,14 @@ sabnzbd: - month_size - total_size ``` + This will attempt to access your SABnzbd instance at https://192.168.1.32:9090 and will create sensors named `sensor.sab_status`, `sensor.sab_speed`, etc. ## {% linkable_title Services %} ### {% linkable_title Media control services %} + Available services: `pause`, `resume`, `set_speed`. #### {% linkable_title Service `sabnzbd/set_speed` %} @@ -114,4 +118,3 @@ Available services: `pause`, `resume`, `set_speed`. | Service data attribute | Optional | Description | |------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `speed` | yes | Sets the download speed limit. If specified as a number with no units, will be interpreted as a percent. If units are provided (e.g., 500K) will be interpreted absolutely. Defaults to 100 | - diff --git a/source/_components/sensor.sabnzbd.markdown b/source/_components/sensor.sabnzbd.markdown deleted file mode 100644 index 627379399ec..00000000000 --- a/source/_components/sensor.sabnzbd.markdown +++ /dev/null @@ -1,19 +0,0 @@ ---- -layout: page -title: "SABnzbd Sensor" -description: "Instructions on how to integrate SABnzbd with Home Assistant." -date: 2015-03-23 19:59 -sidebar: true -comments: false -sharing: true -footer: true -logo: sabnzbd.png -ha_category: Downloading -ha_release: pre 0.7 -ha_iot_class: "Local Polling" ---- - - -The `sabnzbd` sensor platform will allow you to monitor your downloads with [SABnzbd](http://sabnzbd.org) from within Home Assistant. - -To add SABnzbd sensors, please follow the instructions for the [SABnzbd component](/components/sabnzbd).