This commit is contained in:
Paulus Schoutsen 2015-10-27 01:25:17 -07:00
parent 8f47eb20e5
commit d0baad5bcc
4 changed files with 5 additions and 8 deletions

View File

@ -27,8 +27,3 @@ media_player:
Configuration variables: Configuration variables:
- **host** *Optional*: Use only if you don't want to scan for devices. - **host** *Optional*: Use only if you don't want to scan for devices.
<p class='note warning'>
This platform is currently not working due to a changed Cast API.
</p>

View File

@ -20,15 +20,19 @@ If local authentication is enabled or multiple users are defined, HASS requires
If you want to enable the plex platform directly, add the following lines to your `configuration.yaml`: If you want to enable the plex platform directly, add the following lines to your `configuration.yaml`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
media_player: media_player:
- platform: plex - platform: plex
``` ```
You may also need to create the file `plex.conf`. You may also need to create the file `plex.conf`.
``` ```
{'IP_ADDRESS:PORT': {'token': 'TOKEN'}} {'IP_ADDRESS:PORT': {'token': 'TOKEN'}}
``` ```
- **IP_ADDRESS** *Required*: IP address of the Plex Media Server - **IP_ADDRESS** *Required*: IP address of the Plex Media Server
- **PORT** *required*: Default is 32400 - **PORT** *required*: Default is 32400
- **TOKEN** *Optional*: Only is authentication is required. Set to `None` (without quotes) otherwise. - **TOKEN** *Optional*: Only is authentication is required. Set to `None` (without quotes) otherwise.

View File

@ -4,7 +4,6 @@
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html> <!--<![endif]--> <!--[if gt IE 8]><!--> <html> <!--<![endif]-->
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
{% if page.description %} {% capture fb_description %}{{ page.description }}{% endcapture %} {% else %} {% capture fb_description %}{{ content | raw_content }}{% endcapture %} {% endif %} {% if page.description %} {% capture fb_description %}{{ page.description }}{% endcapture %} {% else %} {% capture fb_description %}{{ content | raw_content }}{% endcapture %} {% endif %}
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -15,7 +14,7 @@
<meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}"> <meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %} {% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<link rel="canonical" href="{{ canonical }}"> <link rel="canonical" href="{{ page.url | canonical_url }}">
{% if site.social.facebook.app_id %} {% if site.social.facebook.app_id %}
<meta property="fb:app_id" content="{{ site.social.facebook.app_id }}"> <meta property="fb:app_id" content="{{ site.social.facebook.app_id }}">
<meta property="og:title" content="{% if post.title %}{{ post.title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:title" content="{% if post.title %}{{ post.title }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">

View File

@ -83,7 +83,6 @@ reported value. Reports to the MQTT broker are sent with retain set to `True`. T
connecting to the MQTT topic will automatically be notified of the last reported value. connecting to the MQTT topic will automatically be notified of the last reported value.
```cpp ```cpp
#include <ESP8266WiFi.h> #include <ESP8266WiFi.h>
#include <Wire.h> #include <Wire.h>
#include <PubSubClient.h> #include <PubSubClient.h>