From 2d085f95180b8932bbc41a7c56b0a8ebed412e70 Mon Sep 17 00:00:00 2001 From: Lindsay Ward Date: Mon, 28 Mar 2016 16:28:23 +1000 Subject: [PATCH 1/2] Added known issue to MJPEG cameras, moved customize polling interval to its own category, minor fixes --- source/_components/camera.mjpeg.markdown | 4 ++++ source/_components/conversation.markdown | 2 +- source/_components/sensor.rest.markdown | 6 +++--- source/_cookbook/customize_polling_interval.markdown | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/source/_components/camera.mjpeg.markdown b/source/_components/camera.mjpeg.markdown index 4f166f044c4..5cc0c6f3bff 100644 --- a/source/_components/camera.mjpeg.markdown +++ b/source/_components/camera.mjpeg.markdown @@ -31,3 +31,7 @@ Configuration variables: - **name** *Optional*: This parameter allows you to override the name of your camera. - **username** *Optional*: The username for accessing your camera. - **password** *Optional*: The password for accessing your camera. + +

+There is a known issue in urllib3 that you will get error messages in your logs like [StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed data: '' but the component still works fine. You can ignore the messages. +

diff --git a/source/_components/conversation.markdown b/source/_components/conversation.markdown index a9f4f200a49..8e52a6927a1 100644 --- a/source/_components/conversation.markdown +++ b/source/_components/conversation.markdown @@ -28,6 +28,6 @@ When this component is active and you are using a supported browser voice comman

-

+

Apple iPhones do not support this feature in any browser.

diff --git a/source/_components/sensor.rest.markdown b/source/_components/sensor.rest.markdown index 5e55cdda28d..26c3203d471 100644 --- a/source/_components/sensor.rest.markdown +++ b/source/_components/sensor.rest.markdown @@ -45,7 +45,7 @@ Configuration variables: - **resource** (*Required*): The resource or endpoint that contains the value. - **method** (*Optional*): The method of the request. Default is GET. - **value_template** (*Optional*): Defines a [template](/topics/templating/) to extract the value. -- **payload** (*Optional*): The payload to send with a POST request. Usualy formed as a dictionary. +- **payload** (*Optional*): The payload to send with a POST request. Depends on the service, but usually formed as JSON. - **name** (*Optional*): Name of the REST sensor. - **unit_of_measurement** (*Optional*): Defines the unit of measurement of the sensor, if any. @@ -66,7 +66,7 @@ In this section you find some real life examples of how to use this sensor. ### {% linkable_title External IP address %} -Always want to know your external IP address. [JSON Test](http://www.jsontest.com) will provide you this information at their http://ip.jsontest.com/ endpoint. +You can find your external IP address using the service [JSON Test](http://www.jsontest.com) at their http://ip.jsontest.com/ endpoint. To display the IP address, the entry for a sensor in the `configuration.yaml` file will look like this. @@ -93,7 +93,7 @@ Add something similar to the entry below to your `configuration.yaml` file: ### {% linkable_title Value for other Home Assistant instance %} -The Home Assistant [API](/developers/rest_api/) is exposing the data from your attached sensors. If you are running multiple Home Assistant instances which are not [connected](/developers/architecture/#multiple-connected-instances) you can still get information from them. +The Home Assistant [API](/developers/rest_api/) exposes the data from your attached sensors. If you are running multiple Home Assistant instances which are not [connected](/developers/architecture/#multiple-connected-instances) you can still get information from them. ```yaml diff --git a/source/_cookbook/customize_polling_interval.markdown b/source/_cookbook/customize_polling_interval.markdown index e6aff18ebe8..c393d14209a 100644 --- a/source/_cookbook/customize_polling_interval.markdown +++ b/source/_cookbook/customize_polling_interval.markdown @@ -7,8 +7,8 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Example configuration.yaml ---- +ha_category: Customize Defaults +------------------------------- Platforms that require polling will be polled in an interval specified by the main component. For example a light will check every 30 seconds for a changed state. It is possible to overwrite this scan interval for any platform that is being polled by specifying a `scan_interval` config key. In the example below we setup the Philips Hue lights but tell Home Assistant to poll the devices every 10 seconds instead of the default 30 seconds. From a93dfb9789a052bd440e1f24b1bdb212c04d3569 Mon Sep 17 00:00:00 2001 From: Lindsay Ward Date: Mon, 28 Mar 2016 16:57:23 +1000 Subject: [PATCH 2/2] Updated hyphens in header (fix) --- source/_cookbook/customize_polling_interval.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_cookbook/customize_polling_interval.markdown b/source/_cookbook/customize_polling_interval.markdown index c393d14209a..ef73095c114 100644 --- a/source/_cookbook/customize_polling_interval.markdown +++ b/source/_cookbook/customize_polling_interval.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true ha_category: Customize Defaults -------------------------------- +--- Platforms that require polling will be polled in an interval specified by the main component. For example a light will check every 30 seconds for a changed state. It is possible to overwrite this scan interval for any platform that is being polled by specifying a `scan_interval` config key. In the example below we setup the Philips Hue lights but tell Home Assistant to poll the devices every 10 seconds instead of the default 30 seconds.