diff --git a/atom.xml b/atom.xml index 1d914f4ac8..68ac74e6da 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ @@ -13,6 +13,111 @@ Octopress + + <![CDATA[Set up encryption using Let's Encrypt]]> + + 2015-12-13T10:05:00-08:00 + https://home-assistant.io/blog/2015/12/13/setup-encryption-using-lets-encrypt + Exposing your Home Assistant instance outside of your network always has been tricky. You have to set up port forwarding on your router and most likely add a dynamic DNS service to work around your ISP changing your IP. After this you would be able to use Home Assistant from anywhere but there is one big red flag: no encryption.

+ +

This tutorial will take you through the steps to setup a dynamic DNS for your IP and allow trusted encrypted connection to it - for free using DuckDNS and Let’s Encrypt.

+ +

+ +

+ + + +

Requirements

+ +

The DuckDNS part of this tutorial has no requirements but there are a few requirements as of now to run the Let’s Encrypt client.

+ +
    +
  • Direct connection to the internet or admin access to your router to set up port forwarding
  • +
  • A machine running a Unix-ish OS that include Python 2.6 or 2.7 (Docker can be used)
  • +
+ +

+ +

DuckDNS

+ +

The first step is to set up DuckDNS. This is a free dynamic DNS service that you can use to get a DuckDNS.org subdomain to point at your house. A dynamic DNS service works by having your home computer tell DuckDNS.org every 5 minutes what its IP is so that DuckDNS can make sure your domain name is set up correctly.

+ +

For this example we will assume our domain is hass-example.duckdns.org.

+ +

First step is to acquire and set up our domain name. For this, go to DuckDNS, log in with any of the supported login providers and add a domain. After this check out their installation instructions to finish your installation of DuckDNS. If you’re on a Raspberry Pi, see ‘Pi’ in the category ‘Operating Systems’.

+ +

+ +

Let’s Encrypt

+ +

Let’s Encrypt is a free, automated, and open certificate authority (CA). We will use this to acquire a certificate that can be used to encrypted our connection with Home Assistant.

+ +

Let’s Encrypt will give you a free 90-day certificate if you pass their domain validation challenge. Domains are validated by having certain data be accessible on your domain for Let’s Encrypt (they describe it better themselves).

+ +

Assuming that your home is behind a router, the first thing to do is to set up port forwarding from your router to your computer that will run Let’s Encrypt. For the Let’s Encrypt set up we need to temporary forward ports 80 (http connections) and 443 (https connections). This can be set up by accessing your router admin interface (Site with port forwarding instructions per router).

+ +

Now you’re ready to run Let’s Encrypt:

+ +
+
$ git clone https://github.com/letsencrypt/letsencrypt
+[…]
+$ cd letsencrypt
+$ ./letsencrypt-auto certonly --email $ ./letsencrypt-auto certonly --email your@email.address -d hass-example.duckdns.org
+Updating letsencrypt and virtual environment dependencies.......
+Running with virtualenv: sudo /path/letsencrypt/bin/letsencrypt certonly --email your@e-mail.address -d hass-example.duckdns.org
+
+IMPORTANT NOTES:
+ - Congratulations! Your certificate and chain have been saved at
+   /etc/letsencrypt/live/hass-example.duckdns.org/fullchain.pem. Your cert
+   will expire on 2016-03-12. To obtain a new version of the
+   certificate in the future, simply run Let's Encrypt again.
+ - If like Let's Encrypt, please consider supporting our work by:
+
+   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
+   Donating to EFF:                    https://eff.org/donate-le
+
+
+
+ +

If you’re using Docker, run the following command to generate the required keys:

+ +
+
sudo mkdir /etc/letsencrypt /var/lib/letsencrypt
+sudo docker run -it --rm -p 443:443 -p 80:80 --name letsencrypt \
+                -v "/etc/letsencrypt:/etc/letsencrypt" \
+                -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
+                quay.io/letsencrypt/letsencrypt:latest certonly \
+                --email your@e-mail.address -d hass-example.duckdns.org
+
+
+
+ +

With either method your certificate will be generated and put in the directory /etc/letsencrypt/live/hass-example.duckdns.org. As the lifetime is only 90 days, you will have to repeat this every 90 days.

+ +

+ +

Home Assistant

+ +

Before updating the Home Assistant configuration, we have to update the port forwarding at your router config. We can drop the port forwarding for port 80 as we no longer care about unecrypted messages. Update port 443 to forward to port 8123 on the computer that will run Home Assistant.

+ +

The final step is to point Home Assistant at the generated certificates. Before you do this, make sure that the user running Home Assistant has read access to the folder that holds the certificates.

+ +
+
http:
+  ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem
+  ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem
+
+
+
+ +

You can now navigate to https://hass-example.duckdns.org and enjoy encryption!

+ +

Big thanks to Fabian Affolter for his help and feedback on this article.

+ +]]>
+
+ <![CDATA[Philips Hue blocks 3rd party lights]]> @@ -1967,141 +2072,6 @@ Support for Temper temperature sensors has been contributed by - - 2015-07-11T01:37:00-07:00 - https://home-assistant.io/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support - Another month has passed and some great new features have landed in Home Assistant. This month release has been made possible by balloob, ettisan, fabaff, gyran, jamespcole, michaelarnauts, miniconfig and rmkraus.

- -

This release includes some architectural changes by me. The first is that the frontend is now based on a NuclearJS JavaScript backend. This has greatly helped to organize and optimize the frontend code. Another change is that Home Assistant will now install dependencies on-demand instead of installing dependencies for all supported devices.

- -

IP Camera Support
-James has worked very hard to add support for IP cameras to Home Assistant which is included in this release. The initial release focusses on providing generic IP camera support. This means that any webcam that can exposes a JPEG image via a url can be integrated.

- -

Home Assistant will route the requests to your camera via the server allowing you to expose IP camera’s inside your network via the Home Assistant app.

- -
-
# Example configuration.yaml entry
-camera:
-  platform: generic
-  name: my sample camera
-  username: MY_USERNAME
-  password: MY_PASSWORD
-  still_image_url: http://194.218.96.92/jpg/image.jpg
-
-
-
- -

-To update to the latest version, run scripts/update. Please report any issues on GitHub. -

- - - -

Arduino
- Fabian has contributed support for interfacing with Arduinos. This makes it possible to connect your Arduino via USB and expose pins as sensor data and write to pins via switches. Have a look at the docs for an extensive guide to get started.

- -
-
# Example configuration.yaml entry
-switch:
-  platform: arduino
-  pins:
-    11:
-      name: Fan Office
-      type: digital
-    12:
-      name: Light Desk
-      type: digital
-
-sensor:
-  platform: arduino
-  pins:
-    1:
-      name: Door switch
-      type: analog
-    0:
-      name: Brightness
-      type: analog
-
-
-
- -

Kodi (XBMC)
- Ettisan has contributed a Kodi (XBMC) platform for the media player component. This allows you to track all the media that you are playing and allow you to control it.

- -
-
# Example configuration.yaml entry
-media_player:
-  platform: kodi
-  name: Kodi
-  url: http://192.168.0.123/jsonrpc
-  user: kodi
-  password: my_secure_password
-
-
-
- -

TP-Link
- Michael has added TP-Link support to the device tracker. This allows you to now detect presence if you have a TP-Link router.

- -
-
# Example configuration.yaml entry
-device_tracker:
-  platform: tplink
-  host: YOUR_ROUTER_IP
-  username: YOUR_ADMIN_USERNAME
-  password: YOUR_ADMIN_PASSWORD
-
-
-
- -

Efergy energy monitor
- Miniconfig has contributed support for the Efergy energy meters. To get an app token, log in to your efergy account, go to the Settings page, click on App tokens, and click “Add token”.

- -
-
# Example configuration.yaml entry
-sensor:
-  platform: efergy
-  app_token: APP_TOKEN
-  utc_offset: UTC_OFFSET
-  monitored_variables:
-    - type: instant_readings
-    - type: budget
-    - type: cost
-      period: day
-      currency: $
-
-
-
- -

Forecast.io
-Fabian has added support for Forecast.io to get weather forecasts for Home Assistant. You need an API key which is free but requires a registration. To add Forecast.io to your installation, add the following to your configuration.yaml file:

- -
-
# Example configuration.yaml entry
-sensor:
-  platform: forecast
-  api_key: YOUR_APP_KEY
-  monitored_conditions:
-    - summary
-    - precip_type
-    - precip_intensity
-    - temperature
-    - dew_point
-    - wind_speed
-    - wind_bearing
-    - cloud_cover
-    - humidity
-    - pressure
-    - visibility
-    - ozone
-
-
-
]]>
diff --git a/blog/2014/12/18/website-launched/index.html b/blog/2014/12/18/website-launched/index.html index d7138898b2..de662b9e87 100644 --- a/blog/2014/12/18/website-launched/index.html +++ b/blog/2014/12/18/website-launched/index.html @@ -187,6 +187,12 @@ diff --git a/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html b/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html index ffd9139370..666419e130 100644 --- a/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html +++ b/blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html @@ -242,6 +242,12 @@ This article will try to explain how they all relate.

diff --git a/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html b/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html index e8a37894b0..db7eda67fc 100644 --- a/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html +++ b/blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html @@ -226,6 +226,12 @@ api_key=ABCDEFGHJKLMNOPQRSTUVXYZ diff --git a/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html b/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html index aaedd6265f..eb7b49108f 100644 --- a/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html +++ b/blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html @@ -201,6 +201,12 @@ diff --git a/blog/2015/01/13/nest-in-da-house/index.html b/blog/2015/01/13/nest-in-da-house/index.html index 75aa46af3f..92fae434a8 100644 --- a/blog/2015/01/13/nest-in-da-house/index.html +++ b/blog/2015/01/13/nest-in-da-house/index.html @@ -204,6 +204,12 @@ password=YOUR_PASSWORD diff --git a/blog/2015/01/24/release-notes/index.html b/blog/2015/01/24/release-notes/index.html index 535ec7ff27..af17ea735b 100644 --- a/blog/2015/01/24/release-notes/index.html +++ b/blog/2015/01/24/release-notes/index.html @@ -210,6 +210,12 @@ Home Assistant now supports --open-ui and --demo-mode diff --git a/blog/2015/02/08/looking-at-the-past/index.html b/blog/2015/02/08/looking-at-the-past/index.html index e9d751d6c2..907cf48dbe 100644 --- a/blog/2015/02/08/looking-at-the-past/index.html +++ b/blog/2015/02/08/looking-at-the-past/index.html @@ -220,6 +220,12 @@ Events are saved in a local database. Google Graphs is used to draw the graph. D diff --git a/blog/2015/02/24/streaming-updates/index.html b/blog/2015/02/24/streaming-updates/index.html index 9078abb1a7..d4960e8310 100644 --- a/blog/2015/02/24/streaming-updates/index.html +++ b/blog/2015/02/24/streaming-updates/index.html @@ -203,6 +203,12 @@ diff --git a/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html b/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html index e19a4976ce..f6635c7c05 100644 --- a/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html +++ b/blog/2015/03/01/home-assistant-migrating-to-yaml/index.html @@ -193,6 +193,12 @@ diff --git a/blog/2015/03/08/new-logo/index.html b/blog/2015/03/08/new-logo/index.html index aef6644262..135c310322 100644 --- a/blog/2015/03/08/new-logo/index.html +++ b/blog/2015/03/08/new-logo/index.html @@ -194,6 +194,12 @@ The old logo, the new detailed logo and the new simple logo. diff --git a/blog/2015/03/11/release-notes/index.html b/blog/2015/03/11/release-notes/index.html index 0f76cf9e93..3386f0e542 100644 --- a/blog/2015/03/11/release-notes/index.html +++ b/blog/2015/03/11/release-notes/index.html @@ -233,6 +233,12 @@ An initial version of voice control for Home Assistant has landed. The current i diff --git a/blog/2015/03/22/release-notes/index.html b/blog/2015/03/22/release-notes/index.html index b6bc59a40b..60663dd522 100644 --- a/blog/2015/03/22/release-notes/index.html +++ b/blog/2015/03/22/release-notes/index.html @@ -270,6 +270,12 @@ I (Paulus) have contributed a scene component. A user can create scenes that cap diff --git a/blog/2015/04/25/release-notes/index.html b/blog/2015/04/25/release-notes/index.html index 7e925b830e..926e458dbc 100644 --- a/blog/2015/04/25/release-notes/index.html +++ b/blog/2015/04/25/release-notes/index.html @@ -281,6 +281,12 @@ diff --git a/blog/2015/05/09/utc-time-zone-awareness/index.html b/blog/2015/05/09/utc-time-zone-awareness/index.html index 9afd62e207..f5cbaf5a53 100644 --- a/blog/2015/05/09/utc-time-zone-awareness/index.html +++ b/blog/2015/05/09/utc-time-zone-awareness/index.html @@ -216,6 +216,12 @@ diff --git a/blog/2015/05/14/release-notes/index.html b/blog/2015/05/14/release-notes/index.html index b4d224d7de..7187c31f05 100644 --- a/blog/2015/05/14/release-notes/index.html +++ b/blog/2015/05/14/release-notes/index.html @@ -308,6 +308,12 @@ Before diving into the newly supported devices and services, I want to highlight diff --git a/blog/2015/06/10/release-notes/index.html b/blog/2015/06/10/release-notes/index.html index 47bfe138ba..52c46b2172 100644 --- a/blog/2015/06/10/release-notes/index.html +++ b/blog/2015/06/10/release-notes/index.html @@ -361,6 +361,12 @@ This switch platform allows you to control your motion detection setting on your diff --git a/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html b/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html index 5368e1ff63..3780c85813 100644 --- a/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html +++ b/blog/2015/07/11/ip-cameras-arduino-kodi-efergy-support/index.html @@ -313,6 +313,12 @@ Fabian has added support for Forecast.io to g diff --git a/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html b/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html index 284f49d1ff..7a81e763a0 100644 --- a/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html +++ b/blog/2015/08/09/mqtt-raspberry-pi-squeezebox-asuswrt-support/index.html @@ -302,6 +302,12 @@ Support for Temper temperature sensors has been contributed by +
  • + Set up encryption using Let's Encrypt +
  • + + +
  • Philips Hue blocks 3rd party lights
  • @@ -325,12 +331,6 @@ Support for Temper temperature sensors has been contributed by - Community Highlights - - - diff --git a/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html b/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html index ae59bdf93b..e8a2805fb8 100644 --- a/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html +++ b/blog/2015/08/17/verisure-and-modern-tp-link-router-support/index.html @@ -212,6 +212,12 @@ diff --git a/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html b/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html index fd928d07a6..c96a30831f 100644 --- a/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html +++ b/blog/2015/08/26/laundry-automation-with-moteino-mqtt-and-home-assistant/index.html @@ -321,6 +321,12 @@ diff --git a/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html b/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html index 8917b97349..c398076a2f 100644 --- a/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html +++ b/blog/2015/08/31/version-7-revamped-ui-and-improved-distribution/index.html @@ -299,6 +299,12 @@ diff --git a/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html b/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html index dd1d7eff53..b61d5ecfc9 100644 --- a/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html +++ b/blog/2015/09/11/different-ways-to-use-mqtt-with-home-assistant/index.html @@ -502,6 +502,12 @@ PubSubClient client(ethClient); diff --git a/blog/2015/09/13/home-assistant-meets-ifttt/index.html b/blog/2015/09/13/home-assistant-meets-ifttt/index.html index c885f21e16..2c419dae82 100644 --- a/blog/2015/09/13/home-assistant-meets-ifttt/index.html +++ b/blog/2015/09/13/home-assistant-meets-ifttt/index.html @@ -361,6 +361,12 @@ diff --git a/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html b/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html index 3d726b61b6..33f66c90f8 100644 --- a/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html +++ b/blog/2015/09/18/monitoring-with-glances-and-home-assistant/index.html @@ -262,6 +262,12 @@ Glances web server started on http://0.0.0.0:61208/ diff --git a/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html b/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html index bfe0d87efe..573a88458e 100644 --- a/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html +++ b/blog/2015/09/19/alarm-sonos-and-itunes-support/index.html @@ -241,6 +241,12 @@ Automation has gotten a lot of love. It now supports conditions, multiple trigge diff --git a/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html b/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html index bcdc479e40..8498526a0c 100644 --- a/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html +++ b/blog/2015/10/05/home-assistant-goes-geo-with-owntracks/index.html @@ -217,6 +217,12 @@ Map in Home Assistant showing two people and three zones (home, school, work) diff --git a/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html b/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html index 61af4352ab..89ef2d662e 100644 --- a/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html +++ b/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/index.html @@ -548,6 +548,12 @@ Adafruit_HDC1000 hdc = Adafruit_HDC1000(); diff --git a/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html b/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html index 3a96de0850..ebed966c5f 100644 --- a/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html +++ b/blog/2015/10/11/rfxtrx-blinkstick-and-snmp-support/index.html @@ -206,6 +206,12 @@ diff --git a/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html b/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html index bb4ac8b25b..94a7307801 100644 --- a/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html +++ b/blog/2015/10/26/firetv-and-radiotherm-now-supported/index.html @@ -228,6 +228,12 @@ This makes more sense as most people run Home Assistant as a daemon

    diff --git a/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html b/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html index b20e9de024..e091654fe8 100644 --- a/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html +++ b/blog/2015/11/16/zwave-switches-lights-and-honeywell-thermostats-now-supported/index.html @@ -224,6 +224,12 @@ diff --git a/blog/2015/11/22/survey-november-2015/index.html b/blog/2015/11/22/survey-november-2015/index.html index 27e9453637..918df261f1 100644 --- a/blog/2015/11/22/survey-november-2015/index.html +++ b/blog/2015/11/22/survey-november-2015/index.html @@ -264,6 +264,12 @@ diff --git a/blog/2015/12/05/community-highlights/index.html b/blog/2015/12/05/community-highlights/index.html index 307de697ac..a0ed4a17be 100644 --- a/blog/2015/12/05/community-highlights/index.html +++ b/blog/2015/12/05/community-highlights/index.html @@ -197,6 +197,12 @@ diff --git a/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html b/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html index cf71506cb9..bd064ac879 100644 --- a/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html +++ b/blog/2015/12/06/locks-rollershutters-binary-sensors-and-influxdb-support/index.html @@ -206,6 +206,12 @@ diff --git a/blog/2015/12/07/influxdb-and-grafana/index.html b/blog/2015/12/07/influxdb-and-grafana/index.html index edfc2294fc..0f2f4e3a95 100644 --- a/blog/2015/12/07/influxdb-and-grafana/index.html +++ b/blog/2015/12/07/influxdb-and-grafana/index.html @@ -297,6 +297,12 @@ $ sudo systemctl status grafana-server diff --git a/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html b/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html index 97e37952e7..3b4128e811 100644 --- a/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html +++ b/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/index.html @@ -247,6 +247,12 @@ requests.get(' +
  • + Set up encryption using Let's Encrypt +
  • + + +
  • Philips Hue blocks 3rd party lights
  • @@ -266,12 +272,6 @@ requests.get(' - Community Highlights - - - diff --git a/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html b/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html index 25c5ad0a22..0121948afd 100644 --- a/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html +++ b/blog/2015/12/12/philips-hue-blocks-3rd-party-bulbs/index.html @@ -208,6 +208,12 @@ diff --git a/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html b/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html new file mode 100644 index 0000000000..8e107b5ca0 --- /dev/null +++ b/blog/2015/12/13/setup-encryption-using-lets-encrypt/index.html @@ -0,0 +1,361 @@ + + + + + + + + + + + Set up encryption using Let's Encrypt - Home Assistant + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    +
    + +
    + + +
    + +
    + +

    Set up encryption using Let's Encrypt

    + + + +
    + + + four minutes reading time + + + + + + Comments + +
    + +
    + + +

    Exposing your Home Assistant instance outside of your network always has been tricky. You have to set up port forwarding on your router and most likely add a dynamic DNS service to work around your ISP changing your IP. After this you would be able to use Home Assistant from anywhere but there is one big red flag: no encryption.

    + +

    This tutorial will take you through the steps to setup a dynamic DNS for your IP and allow trusted encrypted connection to it - for free using DuckDNS and Let’s Encrypt.

    + +

    + +

    + + + +

    Requirements

    + +

    The DuckDNS part of this tutorial has no requirements but there are a few requirements as of now to run the Let’s Encrypt client.

    + +
      +
    • Direct connection to the internet or admin access to your router to set up port forwarding
    • +
    • A machine running a Unix-ish OS that include Python 2.6 or 2.7 (Docker can be used)
    • +
    + +

    + +

    DuckDNS

    + +

    The first step is to set up DuckDNS. This is a free dynamic DNS service that you can use to get a DuckDNS.org subdomain to point at your house. A dynamic DNS service works by having your home computer tell DuckDNS.org every 5 minutes what its IP is so that DuckDNS can make sure your domain name is set up correctly.

    + +

    For this example we will assume our domain is hass-example.duckdns.org.

    + +

    First step is to acquire and set up our domain name. For this, go to DuckDNS, log in with any of the supported login providers and add a domain. After this check out their installation instructions to finish your installation of DuckDNS. If you’re on a Raspberry Pi, see ‘Pi’ in the category ‘Operating Systems’.

    + +

    + +

    Let’s Encrypt

    + +

    Let’s Encrypt is a free, automated, and open certificate authority (CA). We will use this to acquire a certificate that can be used to encrypted our connection with Home Assistant.

    + +

    Let’s Encrypt will give you a free 90-day certificate if you pass their domain validation challenge. Domains are validated by having certain data be accessible on your domain for Let’s Encrypt (they describe it better themselves).

    + +

    Assuming that your home is behind a router, the first thing to do is to set up port forwarding from your router to your computer that will run Let’s Encrypt. For the Let’s Encrypt set up we need to temporary forward ports 80 (http connections) and 443 (https connections). This can be set up by accessing your router admin interface (Site with port forwarding instructions per router).

    + +

    Now you’re ready to run Let’s Encrypt:

    + +
    +
    $ git clone https://github.com/letsencrypt/letsencrypt
    +[…]
    +$ cd letsencrypt
    +$ ./letsencrypt-auto certonly --email $ ./letsencrypt-auto certonly --email your@email.address -d hass-example.duckdns.org
    +Updating letsencrypt and virtual environment dependencies.......
    +Running with virtualenv: sudo /path/letsencrypt/bin/letsencrypt certonly --email your@e-mail.address -d hass-example.duckdns.org
    +
    +IMPORTANT NOTES:
    + - Congratulations! Your certificate and chain have been saved at
    +   /etc/letsencrypt/live/hass-example.duckdns.org/fullchain.pem. Your cert
    +   will expire on 2016-03-12. To obtain a new version of the
    +   certificate in the future, simply run Let's Encrypt again.
    + - If like Let's Encrypt, please consider supporting our work by:
    +
    +   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
    +   Donating to EFF:                    https://eff.org/donate-le
    +
    +
    +
    + +

    If you’re using Docker, run the following command to generate the required keys:

    + +
    +
    sudo mkdir /etc/letsencrypt /var/lib/letsencrypt
    +sudo docker run -it --rm -p 443:443 -p 80:80 --name letsencrypt \
    +                -v "/etc/letsencrypt:/etc/letsencrypt" \
    +                -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
    +                quay.io/letsencrypt/letsencrypt:latest certonly \
    +                --email your@e-mail.address -d hass-example.duckdns.org
    +
    +
    +
    + +

    With either method your certificate will be generated and put in the directory /etc/letsencrypt/live/hass-example.duckdns.org. As the lifetime is only 90 days, you will have to repeat this every 90 days.

    + +

    + +

    Home Assistant

    + +

    Before updating the Home Assistant configuration, we have to update the port forwarding at your router config. We can drop the port forwarding for port 80 as we no longer care about unecrypted messages. Update port 443 to forward to port 8123 on the computer that will run Home Assistant.

    + +

    The final step is to point Home Assistant at the generated certificates. Before you do this, make sure that the user running Home Assistant has read access to the folder that holds the certificates.

    + +
    +
    http:
    +  ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem
    +  ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem
    +
    +
    +
    + +

    You can now navigate to https://hass-example.duckdns.org and enjoy encryption!

    + +

    Big thanks to Fabian Affolter for his help and feedback on this article.

    +
    + + +
    +

    Comments

    +
    +
    + + +
    + + + + +
    +
    + + + + + + + + + + \ No newline at end of file diff --git a/blog/archives/index.html b/blog/archives/index.html index 20e67c5e16..2773176751 100644 --- a/blog/archives/index.html +++ b/blog/archives/index.html @@ -44,18 +44,18 @@ - Dec 12 + Dec 13 - Philips Hue blocks 3rd party lights + Set up encryption using Let's Encrypt - ..."> + ..."> @@ -144,6 +144,38 @@

    2015

    + + + +
    @@ -1366,6 +1398,12 @@ diff --git a/blog/categories/architecture/atom.xml b/blog/categories/architecture/atom.xml index f9be5ef19f..4ee50b61d4 100644 --- a/blog/categories/architecture/atom.xml +++ b/blog/categories/architecture/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: architecture | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/architecture/index.html b/blog/categories/architecture/index.html index 8de57f076a..8426bc4c1b 100644 --- a/blog/categories/architecture/index.html +++ b/blog/categories/architecture/index.html @@ -199,6 +199,12 @@ diff --git a/blog/categories/branding/atom.xml b/blog/categories/branding/atom.xml index da186a64fd..f63bd5a731 100644 --- a/blog/categories/branding/atom.xml +++ b/blog/categories/branding/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: branding | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/branding/index.html b/blog/categories/branding/index.html index 029fd83b37..9013bf139a 100644 --- a/blog/categories/branding/index.html +++ b/blog/categories/branding/index.html @@ -199,6 +199,12 @@ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 39de336168..8d636861dd 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: community | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/community/index.html b/blog/categories/community/index.html index 0a10a4aa83..3d02219e97 100644 --- a/blog/categories/community/index.html +++ b/blog/categories/community/index.html @@ -199,6 +199,12 @@ diff --git a/blog/categories/component/atom.xml b/blog/categories/component/atom.xml index 019025567d..c9c01c91d4 100644 --- a/blog/categories/component/atom.xml +++ b/blog/categories/component/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: component | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/component/index.html b/blog/categories/component/index.html index 863b10ba7d..4fb1adf3cb 100644 --- a/blog/categories/component/index.html +++ b/blog/categories/component/index.html @@ -297,6 +297,12 @@ diff --git a/blog/categories/core/atom.xml b/blog/categories/core/atom.xml index 3af89eee12..c88a670da8 100644 --- a/blog/categories/core/atom.xml +++ b/blog/categories/core/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: core | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/core/index.html b/blog/categories/core/index.html index 61ba1e715a..dad7c698a2 100644 --- a/blog/categories/core/index.html +++ b/blog/categories/core/index.html @@ -231,6 +231,12 @@ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 62edcf3521..63f8c0567f 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: esp8266 | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/index.html b/blog/categories/esp8266/index.html index 213ff71c86..e1df02be03 100644 --- a/blog/categories/esp8266/index.html +++ b/blog/categories/esp8266/index.html @@ -203,6 +203,12 @@ diff --git a/blog/categories/frontend/atom.xml b/blog/categories/frontend/atom.xml index 9c896f3505..b1f4995e44 100644 --- a/blog/categories/frontend/atom.xml +++ b/blog/categories/frontend/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: frontend | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/frontend/index.html b/blog/categories/frontend/index.html index 6842b8fc0c..9d01a5a49f 100644 --- a/blog/categories/frontend/index.html +++ b/blog/categories/frontend/index.html @@ -233,6 +233,12 @@ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 021d89b287..efdadcb3a2 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]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ @@ -13,6 +13,111 @@ Octopress + + <![CDATA[Set up encryption using Let's Encrypt]]> + + 2015-12-13T10:05:00-08:00 + https://home-assistant.io/blog/2015/12/13/setup-encryption-using-lets-encrypt + Exposing your Home Assistant instance outside of your network always has been tricky. You have to set up port forwarding on your router and most likely add a dynamic DNS service to work around your ISP changing your IP. After this you would be able to use Home Assistant from anywhere but there is one big red flag: no encryption.

    + +

    This tutorial will take you through the steps to setup a dynamic DNS for your IP and allow trusted encrypted connection to it - for free using DuckDNS and Let’s Encrypt.

    + +

    + +

    + + + +

    Requirements

    + +

    The DuckDNS part of this tutorial has no requirements but there are a few requirements as of now to run the Let’s Encrypt client.

    + +
      +
    • Direct connection to the internet or admin access to your router to set up port forwarding
    • +
    • A machine running a Unix-ish OS that include Python 2.6 or 2.7 (Docker can be used)
    • +
    + +

    + +

    DuckDNS

    + +

    The first step is to set up DuckDNS. This is a free dynamic DNS service that you can use to get a DuckDNS.org subdomain to point at your house. A dynamic DNS service works by having your home computer tell DuckDNS.org every 5 minutes what its IP is so that DuckDNS can make sure your domain name is set up correctly.

    + +

    For this example we will assume our domain is hass-example.duckdns.org.

    + +

    First step is to acquire and set up our domain name. For this, go to DuckDNS, log in with any of the supported login providers and add a domain. After this check out their installation instructions to finish your installation of DuckDNS. If you’re on a Raspberry Pi, see ‘Pi’ in the category ‘Operating Systems’.

    + +

    + +

    Let’s Encrypt

    + +

    Let’s Encrypt is a free, automated, and open certificate authority (CA). We will use this to acquire a certificate that can be used to encrypted our connection with Home Assistant.

    + +

    Let’s Encrypt will give you a free 90-day certificate if you pass their domain validation challenge. Domains are validated by having certain data be accessible on your domain for Let’s Encrypt (they describe it better themselves).

    + +

    Assuming that your home is behind a router, the first thing to do is to set up port forwarding from your router to your computer that will run Let’s Encrypt. For the Let’s Encrypt set up we need to temporary forward ports 80 (http connections) and 443 (https connections). This can be set up by accessing your router admin interface (Site with port forwarding instructions per router).

    + +

    Now you’re ready to run Let’s Encrypt:

    + +
    +
    $ git clone https://github.com/letsencrypt/letsencrypt
    +[…]
    +$ cd letsencrypt
    +$ ./letsencrypt-auto certonly --email $ ./letsencrypt-auto certonly --email your@email.address -d hass-example.duckdns.org
    +Updating letsencrypt and virtual environment dependencies.......
    +Running with virtualenv: sudo /path/letsencrypt/bin/letsencrypt certonly --email your@e-mail.address -d hass-example.duckdns.org
    +
    +IMPORTANT NOTES:
    + - Congratulations! Your certificate and chain have been saved at
    +   /etc/letsencrypt/live/hass-example.duckdns.org/fullchain.pem. Your cert
    +   will expire on 2016-03-12. To obtain a new version of the
    +   certificate in the future, simply run Let's Encrypt again.
    + - If like Let's Encrypt, please consider supporting our work by:
    +
    +   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
    +   Donating to EFF:                    https://eff.org/donate-le
    +
    +
    +
    + +

    If you’re using Docker, run the following command to generate the required keys:

    + +
    +
    sudo mkdir /etc/letsencrypt /var/lib/letsencrypt
    +sudo docker run -it --rm -p 443:443 -p 80:80 --name letsencrypt \
    +                -v "/etc/letsencrypt:/etc/letsencrypt" \
    +                -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
    +                quay.io/letsencrypt/letsencrypt:latest certonly \
    +                --email your@e-mail.address -d hass-example.duckdns.org
    +
    +
    +
    + +

    With either method your certificate will be generated and put in the directory /etc/letsencrypt/live/hass-example.duckdns.org. As the lifetime is only 90 days, you will have to repeat this every 90 days.

    + +

    + +

    Home Assistant

    + +

    Before updating the Home Assistant configuration, we have to update the port forwarding at your router config. We can drop the port forwarding for port 80 as we no longer care about unecrypted messages. Update port 443 to forward to port 8123 on the computer that will run Home Assistant.

    + +

    The final step is to point Home Assistant at the generated certificates. Before you do this, make sure that the user running Home Assistant has read access to the folder that holds the certificates.

    + +
    +
    http:
    +  ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem
    +  ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem
    +
    +
    +
    + +

    You can now navigate to https://hass-example.duckdns.org and enjoy encryption!

    + +

    Big thanks to Fabian Affolter for his help and feedback on this article.

    + +]]>
    +
    + <![CDATA[Activating Tasker tasks from Home Assistant using command line switches]]> @@ -649,187 +754,6 @@ Glances web server started on http://0.0.0.0:61208/

    Glances has a couple of optional dependencies which are extenting the range of provided information. This means that it would be possible to get details about the RAID system, HDD temperature, IP addresses, sensors, etc., please create a Pull request with your additions or a Feature request if you want see more details in your Home Assistant frontend.

    -]]> -
    - - - <![CDATA[Home Assistant meets IFTTT]]> - - 2015-09-13T09:28:00-07:00 - https://home-assistant.io/blog/2015/09/13/home-assistant-meets-ifttt - Today we announce the release of Home Assistant v0.7.2 which includes brand new support by @sfam to integrate with IFTTT. IFTTT stands for If This, Then That and is a webservice that integrates with almost every possible webservice out there. Adding Home Assistant to this mix means Home Assistant can connect with all via IFTTT.

    - -

    It is now possible to disable your irregation system if it is going to be cloudy tomorrow or tweet if your smoke alarm goes off.

    - -

    - -

    - -

    Head over to the setup instructions to get started with IFTTT. Click the read more button for some example recipes.

    - - - -

    In each of the following examples, make sure to replace the XXX in the url with your correct host address and api password.

    - -

    Turn off irregation system when not needed

    - -

    - -

    - -

    Maker channel setup:

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldValue
    URLhttp://xxx.xxx.xxx.xxx:8123/api/services/switch/turn_off?api_password=xxxxxxxx
    METHODPOST
    CONTENT TYPEapplication/json
    BODY{ “entity_id”: “switch.irrigation” }
    - -

    Tweet when important events happen

    - -

    - -

    - -

    This will tweet a message when an MQTT message is received that the smoke alarm has been triggered. Setup Maker channel with event name HA_FIRE_ALARM and Twitter channel to tweet the message in value1.

    - -
    -
    # Configuration.yaml entry
    -automation:
    -- alias: Post a tweet when fire alarm is triggered
    -  trigger:
    -    platform: mqtt
    -    mqtt_topic: home/alarm/fire
    -    mqtt_payload: 'on'
    -
    -  action:
    -    service: ifttt.trigger
    -    data: {"event":"HA_FIRE_ALARM", "value1":"The fire alarm just triggered!"}
    -
    -
    -
    - -

    Turn on lights when I get home

    - -

    - -

    - -

    Maker channel setup:

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldValue
    URLhttp://xxx.xxx.xxx.xxx:8123/api/services/light/turn_on?api_password=xxxxxxxx
    METHODPOST
    CONTENT TYPEapplication/json
    BODY{ “entity_id”: “light.kitchen” }
    - -

    Flash lights when a new PR comes in for Home Assistant

    - -

    - -

    - -

    Maker channel setup:

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldValue
    URLhttp://xxx.xxx.xxx.xxx:8123/api/services/light/turn_on?api_password=xxxxxxxx
    METHODPOST
    CONTENT TYPEapplication/json
    BODY{ “entity_id”: “group.all_lights”, “flash”:”yes” }
    - -

    Fire events when pressing the DO button

    - -

    - -

    - -

    Maker channel setup:

    - - - - - - - - - - - - - - - - - - - - - - -
    FieldValue
    URLhttp://xxx.xxx.xxx.xxx:8123/api/events/do_button_pressed?api_password=xxxxxxxx
    METHODPOST
    CONTENT TYPEapplication/json
    ]]>
    diff --git a/blog/categories/how-to/index.html b/blog/categories/how-to/index.html index d8dfe6eec2..c5ba6da6c7 100644 --- a/blog/categories/how-to/index.html +++ b/blog/categories/how-to/index.html @@ -110,6 +110,38 @@

    2015

    + + + +
    @@ -367,6 +399,12 @@ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 33b3f9722d..dce5020b9b 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: mqtt | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/index.html b/blog/categories/mqtt/index.html index 2e87aa197a..d97036f5a5 100644 --- a/blog/categories/mqtt/index.html +++ b/blog/categories/mqtt/index.html @@ -237,6 +237,12 @@ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 816f728dba..ee29463074 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]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/index.html b/blog/categories/public-service-announcement/index.html index 3875d1abf0..51a8bae1a9 100644 --- a/blog/categories/public-service-announcement/index.html +++ b/blog/categories/public-service-announcement/index.html @@ -199,6 +199,12 @@ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 7e486a859a..729104b5ea 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]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/index.html b/blog/categories/release-notes/index.html index ecf77532e4..09473a6567 100644 --- a/blog/categories/release-notes/index.html +++ b/blog/categories/release-notes/index.html @@ -681,6 +681,12 @@ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 0ec47b6931..a333b71cb2 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: survey | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/survey/index.html b/blog/categories/survey/index.html index 98678879f3..db53f8d26e 100644 --- a/blog/categories/survey/index.html +++ b/blog/categories/survey/index.html @@ -199,6 +199,12 @@ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index d41424c764..acbadf09fa 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]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/index.html b/blog/categories/user-stories/index.html index a6b142fd83..01baaf65c7 100644 --- a/blog/categories/user-stories/index.html +++ b/blog/categories/user-stories/index.html @@ -231,6 +231,12 @@ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 426abbd747..051a717c0a 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: website | Home Assistant]]> - 2015-12-12T11:44:59-08:00 + 2015-12-13T10:45:37-08:00 https://home-assistant.io/ diff --git a/blog/categories/website/index.html b/blog/categories/website/index.html index b85b3b90d8..d09cb2fd0d 100644 --- a/blog/categories/website/index.html +++ b/blog/categories/website/index.html @@ -199,6 +199,12 @@ diff --git a/blog/index.html b/blog/index.html index 572966e759..1adcb2c99a 100644 --- a/blog/index.html +++ b/blog/index.html @@ -27,21 +27,22 @@ - Philips Hue blocks 3rd party lights + Set up encryption using Let's Encrypt - December 12, 2015 + December 13, 2015 Paulus Schoutsen - 1 minute reading time + four minutes reading time - public-service-an..."> + how-to + ..."> @@ -114,6 +115,56 @@ +
    +
    + +

    + Set up encryption using Let's Encrypt +

    + + + +
    + + + four minutes reading time + + + + + + Comments + +
    + +
    + + +
    +

    Exposing your Home Assistant instance outside of your network always has been tricky. You have to set up port forwarding on your router and most likely add a dynamic DNS service to work around your ISP changing your IP. After this you would be able to use Home Assistant from anywhere but there is one big red flag: no encryption.

    + +

    This tutorial will take you through the steps to setup a dynamic DNS for your IP and allow trusted encrypted connection to it - for free using DuckDNS and Let’s Encrypt.

    + +

    + +

    + + + + Read on → + +
    +
    +
    +
    @@ -636,66 +687,6 @@ Home Assistant will keep track of historical values and allow you to integrate i

    -
    -
    - -

    - 0.7.5: Blinkstick, SNMP, Telegram -

    - - - -
    - - - less than one minute reading time - - - - - - Comments - -
    - -
    - - -
    -

    We discovered two issues annoying enough to warrent the release of 0.7.5:

    - -
      -
    • Home Assistant package did not include the CloudMQTT certificate.
    • -
    • A bug in the core caused issues when some platforms are loaded twice.
    • -
    - -

    This release also includes some new platforms (because they keep coming!):

    - -

    - - - -

    Also, the media player was extended by @maddox to support the play media command. This has been implemented for the iTunes platform.

    - - -
    -
    -
    -