diff --git a/atom.xml b/atom.xml index fec36407d6..2e45351645 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index d92a26dbb1..e86b8d2fad 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 78aeeb8eb1..aae619b3d9 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index c75176e447..ebb7b024d5 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index f444152aa1..142a94d3c3 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 36cc62b0d4..4460a76774 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 3bc37f64bb..6e575338f4 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+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 994547fe25..d2c7e26516 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 6620317d9a..abe1889cc6 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index e6487fdebf..b4f39bb07c 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index e61798ca0b..6335019a9c 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index b16a550f8a..9c97f2c573 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 949af98686..06f659d9db 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 9acad6b6c1..d4e1331d54 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 1fce323c52..c27cc3b81d 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 2d7235ebe4..e87e9eb726 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+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 0d0545ae8c..79f88aed65 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 5da1f127d7..00388568c5 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 3160179971..2cc813883a 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 2c3dea7f19..bd57cc5f13 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 14186412c7..6783670010 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index ae6887c78e..976a1399f0 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]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 88d55420b8..c86e117cb3 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 013c7c60a3..5eba681433 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2018-01-08T07:49:32+00:00 + 2018-01-08T12:06:03+00:00 https://home-assistant.io/ diff --git a/components/switch.command_line/index.html b/components/switch.command_line/index.html index 67fef8e575..e76e59bb8d 100644 --- a/components/switch.command_line/index.html +++ b/components/switch.command_line/index.html @@ -78,11 +78,11 @@

To enable it, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
 switch:
-  platform: command_line
-  switches:
-    kitchen_light:
-      command_on: switch_command on kitchen
-      command_off: switch_command off kitchen
+  - platform: command_line
+    switches:
+      kitchen_light:
+        command_on: switch_command on kitchen
+        command_off: switch_command off kitchen
 

Configuration variables:

diff --git a/docs/ecosystem/certificates/lets_encrypt/index.html b/docs/ecosystem/certificates/lets_encrypt/index.html index 6c56322a59..9ad09d818e 100644 --- a/docs/ecosystem/certificates/lets_encrypt/index.html +++ b/docs/ecosystem/certificates/lets_encrypt/index.html @@ -246,7 +246,7 @@ $ sudo adduser hass sudo
$ sudo su -s /bin/bash hass 
 
-

Make sure you are in the home directory for the HA user:

+

Make sure you are in the home directory for the Home Assistant user:

$ cd
 
@@ -257,7 +257,12 @@ $ wget https://dl.eff.org/certbot-auto $ chmod a+x certbot-auto -

Now we will run the certbot program to get our ssl certificate. You will need to include your email address and your DuckDNS URL in the appropriate places:

+

You might need to stop Home Assistant before continuing with the next step. You can do this via the Web-UI or use the following command if you are running on Hassbian:

+
$ sudo systemctl stop home-assistant@homeassistant.service 
+
+
+

You can restart Home Assistant after the next step using the same command and replacing stop with start. +Now we will run the certbot program to get our SSL certificate. You will need to include your email address and your DuckDNS URL in the appropriate places:

$ ./certbot-auto certonly --standalone --preferred-challenges http-01 --email your@email.address -d examplehome.duckdns.org
 
@@ -275,11 +280,11 @@ $ chmod a+x certbot-auto

Did all of that go without a hitch? Wahoo! Your Let’s Encrypt certificate is now ready to be used with Home Assistant. Move to step 5 to put it all together

5 - Check the incoming connection

-Following on from Step 4 your SSH will still be in the certbot folder. If you edit your configuration files over SSH you will need to change to your homeassistant folder: +Following on from Step 4 your SSH will still be in the certbot folder. If you edit your configuration files over SSH you will need to change to our homeassistant folder: $ cd ~/.homeassistant -If you use samba shares to edit your files you can exit your SSH now. +If you use Samba shares to edit your files you can exit your SSH now.

If during step 4 you had to use port 443 instead of port 80 to generate your certificate, you should delete that rule now.

Go to your router’s configuration pages and set up a new port forwarding rule, thus:

@@ -447,7 +452,7 @@ In cases where, for whatever reason, apt-get installing is not appropriate for y
  • If you are a ONE-RULE person, replace the certbot-auto command above with ~/certbot/certbot-auto renew --quiet --no-self-upgrade --standalone --preferred-challenges tls-sni-01 --tls-sni-01-port 8123 --pre-hook "sudo systemctl stop home-assistant@homeassistant.service" --post-hook "sudo systemctl start home-assistant@homeassistant.service"
-

So, now were all set up. We have our secured, remotely accesible HA instance and we’re on track for keeping our certificates up to date. But what if something goes wrong? What if the automation didn’t fire? What if the cron job forgot to run? What if the dog ate my homework? Read on to set up an alert so you can be notified in plenty of time if you need to step in and sort out any failures.

+

So, now were all set up. We have our secured, remotely accessible Home Assistant instance and we’re on track for keeping our certificates up to date. But what if something goes wrong? What if the automation didn’t fire? What if the cron job forgot to run? What if the dog ate my homework? Read on to set up an alert so you can be notified in plenty of time if you need to step in and sort out any failures.

9 - Set up an alert to warn us if something went wrong.

We set up our automatic renewal of our certificates and whatever method we used the certificate should be renewed on or around 30 days before it expires. But what if a week later it still hasn’t been? This alert will go off if the expiry time on the certificate gets down to 21 days. This will give you 3 weeks to fix the problem, get your new certificate installed and get another 90 days of secure Home Assistant connections in play.

In your configuration.yaml add the following automation, adding your preferred notification platform where appropriate:

diff --git a/sitemap.xml b/sitemap.xml index 7eed0d18da..e7a540c84b 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3826,7 +3826,7 @@ https://home-assistant.io/components/switch.hook/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -4506,99 +4506,99 @@ https://home-assistant.io/docs/autostart/init.d/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/api/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/configuration/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/installation/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/operation/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/reboot/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/running/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/updating/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/windows/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/certificates/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/hadashboard/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/hass-configurator/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/ios/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/nginx/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/notebooks/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/scenegen/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/ecosystem/synology/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/tools/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/tools/dev-tools/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/tools/hass/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/docs/tools/scripts/ -2018-01-08T07:49:32+00:00 +2018-01-08T12:06:03+00:00 https://home-assistant.io/faq/after-upgrading/ @@ -5734,62 +5734,62 @@ https://home-assistant.io/demo/frontend.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/index.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00 https://home-assistant.io/static/mdi-demo.html -2018-01-08T07:48:38+00:00 +2018-01-08T12:05:11+00:00