Adds documentation for the new Tautulli sensor. (#7151)

* Adds documentation for the new Tautulli sensor.

* Change "Plex" to "Tautulli" for the "ssl" option.

* Added link to API example

* added info about the user activity attribute.

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>

* Update source/_components/sensor.tautulli.markdown

Co-Authored-By: ludeeus <joasoe@gmail.com>
This commit is contained in:
Joakim Sørensen 2018-11-04 09:15:49 +01:00 committed by Fabian Affolter
parent e10fb826b2
commit e2853ac9b9
2 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,73 @@
---
layout: page
title: "Tautulli activity sensor"
description: "Instructions on how to set up Tautulli sensors in Home Assistant."
date: 2018-10-27 00:00
sidebar: true
comments: false
sharing: true
footer: true
logo: tautulli.png
ha_category: Sensor
ha_release: 0.82
ha_iot_class: "Local Polling"
---
The `Tautulli` sensor platform will monitor activity on a given [Tautulli Server][tautulli]. It will create a sensor that shows the number of currently active streams as the state. If you click the sensor for more details it will show you more statistics, the following stats are available by default:
- LAN bandwidth
- Number of direct plays
- Number of direct streams
- Stream count
- Top Movie
- Top TV Show
- Top User
- Total bandwidth
- Transcode count
- WAN bandwidth
More user statistics can be added with the `monitored_variables` configuration option, this will add one attribute per user in addition to the users current `activity`.
To find your `api_key` open the Tautulli web interface and navigate to `Settings` and then to `Web interface`, the `api_key` will be at the bottom of that page.
If you want to enable this sensor, add the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
sensor:
- platform: tautulli
api_key: 24b6eac0a858748664878d146bf63623b4
host: 192.168.1.14
```
{% configuration %}
api_key:
description: The API key for your Tautulli server.
required: true
type: string
host:
description: The DNS name or IP Address of the server running Tautulli.
required: true
type: string
port:
description: The port of your Tautulli server.
required: false
default: 8181
type: integer
ssl:
description: Use HTTPS to connect to Tautulli server. *NOTE* A host *cannot* be an IP address when this option is enabled.
required: false
default: false
type: boolean
monitored_users:
description: A list of Tautulli users you want to monitor, if not set this will monitor **all** users.
required: false
type: list
monitored_variables:
description: A list of attributes to expose for each Tautulli user you monitor, every key in the `session` [section here][tautulliapi] can be used.
required: false
type: list
{% endconfiguration %}
[tautulli]: https://tautulli.com
[tautulliapi]: https://github.com/Tautulli/Tautulli/blob/master/API.md#get_activity

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB