From 39adc6a9cd447e38d69d7860d6ee8fe23bf4ea28 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 15 Jul 2017 17:41:04 +0000 Subject: [PATCH] Site updated at 2017-07-15 17:41:04 UTC --- atom.xml | 2 +- blog/categories/announcements/atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/media/atom.xml | 2 +- blog/categories/merchandise/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/sensor.command_line/index.html | 2 ++ components/snips/index.html | 16 +++++++++- docs/scripts/index.html | 2 +- sitemap.xml | 30 +++++++++---------- 28 files changed, 57 insertions(+), 41 deletions(-) diff --git a/atom.xml b/atom.xml index 6f44b39484..a9352f7770 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 7000e77d77..e5f671816f 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 8aad898edf..093835353b 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index f7ea81c470..eaad64825b 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index db0a277246..ab621125f7 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index b49594caec..e10da99b75 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 3dd3c1d4e5..67b0b15e7f 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index b9da92b8af..cbce9a3192 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index b9c31fd7b8..1689139496 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index cdac067b0e..7ad3c92afa 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index b5bb941953..6c5434b970 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 746687f973..fa3c965bd7 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 33a40f2c4d..c94f156dbf 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 4e2ebc0d19..3ead878939 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 4568c2b709..e3a598eee7 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 7156bba306..ed550cb51b 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 4dd5444de9..2b7875c007 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 24fcaee979..069abda264 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 8ffff7545c..e536a9ad95 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 9f5c95fa97..6652a0d937 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 52a1dc0f26..697df7e3db 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 73bcd73922..6657ea5c0d 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 3ed2bc588a..2a8ba7f3d8 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 3ccee71e2f..922621bcc8 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-07-15T15:09:17+00:00 + 2017-07-15T17:34:25+00:00 https://home-assistant.io/ diff --git a/components/sensor.command_line/index.html b/components/sensor.command_line/index.html index 9b9aa33b39..8715bfc826 100644 --- a/components/sensor.command_line/index.html +++ b/components/sensor.command_line/index.html @@ -103,6 +103,7 @@ - platform: command_line name: HD Temperature command: "hddtemp -n /dev/sda" + # If errors occur, remove degree symbol below unit_of_measurement: "°C" @@ -112,6 +113,7 @@ - platform: command_line name: CPU Temperature command: "cat /sys/class/thermal/thermal_zone0/temp" + # If errors occur, remove degree symbol below unit_of_measurement: "°C" value_template: '{{ value | multiply(0.001) }}' diff --git a/components/snips/index.html b/components/snips/index.html index 5f4aec1bd1..ac9ccb7d3b 100644 --- a/components/snips/index.html +++ b/components/snips/index.html @@ -111,13 +111,27 @@

Set the lights to green in the living room

We should see the transcribed phrase in the logs, as well as a properly parsed intent. The intent is published on MQTT, on the hermes/nlu/intentParsed topic. The Snips Home Assistant component subscribes to this topic, and handles the intent according to the rules defined in configuration.yaml, as explained below.

+

Optional: specifying an external MQTT broker

+

By default, Snips runs its own MQTT broker. But we can also tell Snips to use an external broker by specifying this when launching Snips. In this case, instead of running the snips command above (which assumes we are using the internal MQTT broker), we use the full launch command with explicitly specified parameters (replace MQTT_BROKER_IP and MQTT_BROKER_PORT with appropriate values):

+
$ docker run -t --rm --name snips --log-driver none -v /home/pi/.asoundrc:/root/.asoundrc -v /opt/snips/config:/opt/snips/config --privileged -v /dev/snd:/dev/snd snipsdocker/platform --mqtt MQTT_BROKER_IP:MQTT_BROKER_PORT
+
+
+

For more details on launch options, check the documentation on Snips Platform Commands.

Home Assistant configuration

-

By default, the Snips MQTT broker runs on port 9898. We should tell Home Assistant to use this as a broker, rather than its own, by adding the following section to configuration.yaml:

+

Specifying the MQTT broker

+

Messages between Snips and Home Assistant are passed via MQTT. We must tell Home Assistant which MQTT broker to use by adding the following entry to configuration.yaml:

+
mqtt:
+  broker: MQTT_BROKER_IP
+  port: MQTT_BROKER_PORT
+
+
+

As explained above, Snips by default runs an MQTT broker on port 9898. So if we wish to use this broker, the entry will look as follows:

mqtt:
   broker: 127.0.0.1
   port: 9898
 
+

Triggering actions

In Home Assistant, we trigger actions based on intents produced by Snips. This is done in configuration.yaml. For instance, the following block handles ActivateLightColors intents (included in the Snips IoT intent bundle) to change light colors:

snips:
   intents:
diff --git a/docs/scripts/index.html b/docs/scripts/index.html
index 96064a227f..d3141021a0 100644
--- a/docs/scripts/index.html
+++ b/docs/scripts/index.html
@@ -127,7 +127,7 @@
 

Wait

-

Wait until some things are complete. We support at the moment wait_template for waiting until a condition is true, see also on Template-Trigger. It is possible to set a timeout after that will the script abort his execution. Timeout have same syntax as delay.

+

Wait until some things are complete. We support at the moment wait_template for waiting until a condition is true, see also on Template-Trigger. The Timeout has same syntax as delay. If you set a Timeout for 1 minute and the condition is not satified within that minute, the script will continue.

# wait until media player have stop the playing
 wait_template: "{{ states.media_player.floor.states == 'stop' }}"
 
diff --git a/sitemap.xml b/sitemap.xml index c3197e242d..5d9ba4f8f4 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3691,62 +3691,62 @@ https://home-assistant.io/demo/frontend.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/index.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-07-15T15:08:28+00:00 +2017-07-15T17:32:41+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-07-15T15:08:29+00:00 +2017-07-15T17:32:42+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-07-15T15:08:29+00:00 +2017-07-15T17:32:42+00:00 https://home-assistant.io/static/mdi-demo.html -2017-07-15T15:08:29+00:00 +2017-07-15T17:32:42+00:00