From 372fd6d0fe0cb0a4a129c4589278faa1b90d864e Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 15 May 2017 23:19:06 +0000 Subject: [PATCH] Site updated at 2017-05-15 23:19:06 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/addon_config/index.html | 7 +++-- hassio/addon_testing/index.html | 5 ++-- sitemap.xml | 30 +++++++++---------- 26 files changed, 46 insertions(+), 42 deletions(-) diff --git a/atom.xml b/atom.xml index 065f17edc6..109f251964 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index a4963476f5..3e59af9ec5 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 36e1462d38..cd2bebe537 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 6ce3e4c798..37f957f7ec 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index d51390c90d..983204966f 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index e8d9a30f7b..3563a1d3de 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 7261548250..f7caa58e03 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+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 3331ef59d9..dac552bd25 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 7121ff3468..378d1cbcfb 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 872cf90810..5df768c732 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 0435b7854f..5a8489bce8 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index b270eccb9c..01c4f94ca9 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index d7d38b71e5..5d8fbdf40d 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index c0b86187d0..43399e6144 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 2555c45d15..6b7c9bc8bd 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+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 9ce988bef1..e08659d0d0 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 8a1f5aa717..11b43df94c 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index b9cdb9f6d7..dcb9032777 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 7a4ca880e8..4306762d6b 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index a8b2b9626a..6499889b8a 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index c9c9495ee1..299d441005 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-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 22fc77ff41..6a5dd8a43c 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 4979967ac0..89bc9924f0 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-05-15T12:11:38+00:00 + 2017-05-15T23:14:50+00:00 https://home-assistant.io/ diff --git a/hassio/addon_config/index.html b/hassio/addon_config/index.html index 14a4e7722e..a48f1d35d1 100644 --- a/hassio/addon_config/index.html +++ b/hassio/addon_config/index.html @@ -85,10 +85,9 @@

Add-on Docker file

-

All add-ons are based on Alpine Linux 3.5. Hass.io will automatically substitute the right base image based on the machine architecture. The Dockerfile is also required to have a VERSION environment variable which we will substitute with the version of the add-on.

+

All add-ons are based on Alpine Linux 3.5. Hass.io will automatically substitute the right base image based on the machine architecture.

FROM %%BASE_IMAGE%%
 
-ENV VERSION %%VERSION%%
 ENV LANG C.UTF-8
 
 # Install requirements for add-on
@@ -101,6 +100,10 @@ RUN chmod a+x /run.sh
 CMD [ "/run.sh" ]
 
+

If you don’t use local build on device or our build script, make sure that the Dockerfile have also a set of labels include:

+
LABEL io.hass.version="VERSION" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64"
+
+

Add-on config

The config for an add-on is stored in config.json.

{
diff --git a/hassio/addon_testing/index.html b/hassio/addon_testing/index.html
index 492b0310a0..9df7106cc7 100644
--- a/hassio/addon_testing/index.html
+++ b/hassio/addon_testing/index.html
@@ -70,14 +70,15 @@
   

The fastest way to develop add-ons is by adding them to your local add-on repository. To access your local add-on repository, install either the Samba add-on or SSH add-on.

Right now add-ons will work with images that are stored on Docker Hub (using image from add-on config). Without image inside local add-ons repository it to be built on the device.

Local run

-

You can build an try the addon on your developer machine also. Move all addon stuff into a temp folder. Replace in the Dockerfile: %%VERSION%% with your version and %%BASE_IMAGE%% with:

+

You can build an try the addon on your developer machine also. Move all addon stuff into a temp folder. Replace in the Dockerfile %%BASE_IMAGE%% with:

  • armhf: resin/armhf-alpine:3.5
  • aarch64: resin/aarch64-alpine:3.5
  • amd64: resin/amd64-alpine:3.5
  • i386: resin/i386-alpine:3.5
-

Use docker to build the test addon: docker build -t local/my-test-addon .

+

Add also a LABEL io.hass.version="xy" into your dockerfile. +Use docker to build the test addon: docker build -t local/my-test-addon .

Create a new folder for data and add a test options.json file. After that you can run your add-on with: docker run --rm -v /tmp/my_test_data:/data -p PORT_STUFF_IF_NEEDED local/my-test-addon

Logs

All stdout and stderr is redirected to the Docker logs. The logs can be fetched from the add-on page inside the Hass.io panel in Home Assistant.

diff --git a/sitemap.xml b/sitemap.xml index 047fa0cb16..2f3be0fcdd 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3383,62 +3383,62 @@ https://home-assistant.io/demo/frontend.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/index.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00 https://home-assistant.io/static/mdi-demo.html -2017-05-15T12:10:46+00:00 +2017-05-15T23:14:04+00:00