Various updates
This commit is contained in:
parent
412771dbec
commit
a7d1612c03
5 changed files with 23 additions and 12 deletions
|
@ -14,20 +14,23 @@ featured: true
|
|||
|
||||
|
||||
The Plex platform allows you to connect a [Plex Media Server](https://plex.tv) to Home Assistant. It will allow you to control media playback and see the current playing item.
|
||||
The preferred way to setup the Plex platform is by enabling the the [the discovery component]({{site_root}}/components/discovery.html) and requires GDM to be enabled.
|
||||
|
||||
To add Plex to your installation, add the following to your `configuration.yaml` file:
|
||||
If local authentication is enabled or multiple users are defined, HASS requires an authentication token to be entered in the webinterface. See <A TARGET="_new" HREF=https://support.plex.tv/hc/en-us/articles/204059436>Finding your account token / X-Plex-Token</A>.
|
||||
|
||||
|
||||
If you want to enable the plex platform directly, add the following lines to your `configuration.yaml`:
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
media_player:
|
||||
platform: plex
|
||||
name: plex_server
|
||||
user: YOUR_USERNAME
|
||||
password: YOUR_PASSWORD
|
||||
- platform: plex
|
||||
```
|
||||
You may also need to create the file `plex.conf`.
|
||||
```
|
||||
{'IP_ADDRESS:PORT': {'token': 'TOKEN'}}
|
||||
```
|
||||
- **IP_ADDRESS** *Required*: IP address of the Plex Media Server
|
||||
- **PORT** *required*: Default is 32400
|
||||
- **TOKEN** *Optional*: Only is authentication is required. Set to `None` (without quotes) otherwise.
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **name** *Required*: The name of the backend device (Under Plex Media Server > settings > server)
|
||||
- **user** *Required*: The username for your Pley server.
|
||||
- **password** *Required*: The password for your Plex server.
|
||||
At this moment, the Plex platform only supports one Plex Media Server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue