From 4968d5674f4a2f3b32b8ae2fcf12bd82dfc57d7a Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 24 May 2017 16:34:01 +0000 Subject: [PATCH] Site updated at 2017-05-24 16:34:01 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/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 +- hassio/run_local/index.html | 25 ++++++++-------- sitemap.xml | 30 +++++++++---------- 25 files changed, 50 insertions(+), 51 deletions(-) diff --git a/atom.xml b/atom.xml index 2beea22da3..5097fac965 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 843cb82368..d3d73f4777 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 85ea0ae0f9..574d70d574 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index f28ac24af2..a88f000158 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 9776c154b5..3dc9163dfa 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 45f2b9eeff..6750c2465e 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index f71047093f..0af802588d 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+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 ae2a432fb0..03d8732f96 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 639e33a7fd..ee94e5fe1e 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 1bc5620726..1129327883 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 3bfd974041..03af562d7f 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 95cb3bb2dd..80619a51b1 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index c8dd08689b..b7bb85b1f9 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index e5a1d12fad..ef0aceae03 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index fcd69b7629..e719c8b827 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+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 5efa035a28..1a9358d6ec 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 904b91637f..60114d93f9 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 723fbbe791..b8aabef0cc 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 5e3743ae56..9292382b10 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 3c2a2240ec..dc7e383d45 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 4981f36f61..0d5d7603ff 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-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index b2a3afffbf..eb3a5b02c1 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 67b743b97e..a78e5d3495 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-05-24T14:59:52+00:00 + 2017-05-24T16:29:27+00:00 https://home-assistant.io/ diff --git a/hassio/run_local/index.html b/hassio/run_local/index.html index bee198c630..42c25a6a25 100644 --- a/hassio/run_local/index.html +++ b/hassio/run_local/index.html @@ -6,22 +6,22 @@ - Run local things - Home Assistant + Run local script - Home Assistant - + - + - + - - + + @@ -63,16 +63,15 @@

- Run Local Things + Run Local Script


-

On a normal installation you have access to base machine and can install or add every things of script they you can call with a command_line sensor/switch. Since Hass.IO use docker and every application is strict limited to other, you can not use this old way to perform local stuff. For first view it look very limited but if you look better to that conecpt you will see that make all very stable and a wrong thing can not break your system. It will also warrenty that your system is in every time clear to eatch running thing.

-

If you need run a script to read data for a sensor or send commands to other device, you can do that with a add-on or on inside HomeAssistant container with a custom component. We look now how we can to do that in a modern way inside a add-on. For custom component you can look into devoloper site.

-

Before you read more on that page, please read the add-ons turtorial. Now you can resize your horizen to make things in a safe way.

-

First you need install a MQTT broker. You can use our mqtt broker add-on. Make sure you use logins and disable anonymos access if you want control sensible systems. We provide no Hass.IO way to exchange data, that will be not realy good for security and is also to slow to exchange data between containers or stop and go stuff. That is the reason why we use a mqtt broker for it.

+

On a normal Home Assistant installation you have access to the base machine and can install or add scripts that you can call with a command_line sensor/switch. Since Hass.IO uses Docker, you can not use this old way to perform local stuff. On its face, it looks quite restrictive, but it makes the whole system stable.

+

However, if you need to run a script to read data for a sensor or send commands to other devices on Hass.IO, you can do that with a add-on or on inside the Home Assistant container with a custom component. Here is one way to accomplish that using an add-on. For custom component, look at the devoloper site and also read the add-ons tutorial. Now you can get started with your custom component in the right way.

+

First you need install a MQTT broker. You can use our MQTT broker add-on. Make sure you use logins and disable anonymous access if you want to secure the system. We provide no Hass.IO way to exchange data, that will be not realy good for security and is also to slow to exchange data between containers or stop and go stuff. That is the reason why we use a mqtt broker for it.

Sensors

-

Short story of that caption: We loop in our script to fetch data and push it to mqtt and wait until next processing is ready. Here is a basic example and struct for that process.

+

Short story of that caption: We loop in our script to fetch data and push it to MQTT and wait until next process is ready. Here is a basic example and structure for that process.

Our Dockerfile need to install:

RUN apk --no-cache add tzdata jq mosquitto-clients
 
@@ -107,7 +106,7 @@

Commands

-

Short story of that caption: We wait on incoming data from mqtt broker to do some things. We can also use on HomeAssistant input_boolean that trigger a automation to publish a custom command to mqtt topic they can process multible things in one add-on.

+

Short story of that caption: We wait for incoming data from MQTT broker. We can also use an input_boolean that triggers an automation to publish a custom command to MQTT topic that can process multiple things in one add-on.

Our Dockerfile need to install:

RUN apk --no-cache add tzdata jq mosquitto-clients
 
diff --git a/sitemap.xml b/sitemap.xml index a3b30eb2f6..cc3fdff969 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3460,62 +3460,62 @@ https://home-assistant.io/demo/frontend.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/index.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-05-24T14:59:01+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-05-24T14:59:02+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-05-24T14:59:02+00:00 +2017-05-24T16:28:35+00:00 https://home-assistant.io/static/mdi-demo.html -2017-05-24T14:59:02+00:00 +2017-05-24T16:28:35+00:00