The result will include any states that changed while the service was being executed, even if their change was the result of something else happening in the system.
diff --git a/docs/automation/editor/index.html b/docs/automation/editor/index.html
index c72eddefed..4718fad118 100644
--- a/docs/automation/editor/index.html
+++ b/docs/automation/editor/index.html
@@ -318,6 +318,7 @@ Any comments in the YAML file will be lost when you update an automation via the
diff --git a/docs/automation/index.html b/docs/automation/index.html
index 37c6ee5b99..1be5906abb 100644
--- a/docs/automation/index.html
+++ b/docs/automation/index.html
@@ -315,6 +315,7 @@ As of version 0.42 you have to set an initial state in your automations in order
diff --git a/docs/automation/trigger/index.html b/docs/automation/trigger/index.html
index 0a867c3742..3da6c23ebb 100644
--- a/docs/automation/trigger/index.html
+++ b/docs/automation/trigger/index.html
@@ -403,6 +403,7 @@ With template triggers you can also evaluate attribute changes by using is_state
diff --git a/docs/autostart/macos/index.html b/docs/autostart/macos/index.html
index f28819f1d9..6eec48436f 100644
--- a/docs/autostart/macos/index.html
+++ b/docs/autostart/macos/index.html
@@ -275,6 +275,7 @@ Home Assistant has been uninstalled.
diff --git a/docs/configuration/basic/index.html b/docs/configuration/basic/index.html
index 35edd981cf..32e31e77b9 100644
--- a/docs/configuration/basic/index.html
+++ b/docs/configuration/basic/index.html
@@ -293,6 +293,7 @@ If you decide to expose your Home Assistant instance to the internet and forget
diff --git a/docs/configuration/customizing-devices/index.html b/docs/configuration/customizing-devices/index.html
index 8ef44db024..1f344e83b6 100644
--- a/docs/configuration/customizing-devices/index.html
+++ b/docs/configuration/customizing-devices/index.html
@@ -339,6 +339,7 @@ New customize information will be applied the next time the state of the entity
diff --git a/docs/configuration/devices/index.html b/docs/configuration/devices/index.html
index 11a4b9d767..3204d29fdc 100644
--- a/docs/configuration/devices/index.html
+++ b/docs/configuration/devices/index.html
@@ -307,6 +307,7 @@ Each group consists of a name and a list of entity IDs. Entity IDs can be retrie
diff --git a/docs/configuration/group_visibility/index.html b/docs/configuration/group_visibility/index.html
index cca430704d..4d900dc92d 100644
--- a/docs/configuration/group_visibility/index.html
+++ b/docs/configuration/group_visibility/index.html
@@ -412,6 +412,7 @@ If you are using docker to run home assistant then the occasion.py script will b
diff --git a/docs/configuration/packages/index.html b/docs/configuration/packages/index.html
index e4df72ca98..893b270766 100644
--- a/docs/configuration/packages/index.html
+++ b/docs/configuration/packages/index.html
@@ -326,6 +326,7 @@ See the documentation about for encrypted keyring:
diff --git a/docs/configuration/troubleshooting/index.html b/docs/configuration/troubleshooting/index.html
index 67d0e4577b..3bed98543e 100644
--- a/docs/configuration/troubleshooting/index.html
+++ b/docs/configuration/troubleshooting/index.html
@@ -315,6 +315,7 @@ Whenever you report an issue, be aware that we are volunteers who do not have ac
diff --git a/docs/configuration/yaml/index.html b/docs/configuration/yaml/index.html
index 029fe98422..43fcde74b3 100644
--- a/docs/configuration/yaml/index.html
+++ b/docs/configuration/yaml/index.html
@@ -302,6 +302,7 @@ The other properties (like name) are specified using mappings. Note that the sec
diff --git a/docs/ecosystem/backup/backup_dropbox/index.html b/docs/ecosystem/backup/backup_dropbox/index.html
index 39f1531141..76c963070e 100644
--- a/docs/ecosystem/backup/backup_dropbox/index.html
+++ b/docs/ecosystem/backup/backup_dropbox/index.html
@@ -290,6 +290,7 @@ Add it to your crontab, edit the path/to part.
diff --git a/docs/ecosystem/backup/backup_usb/index.html b/docs/ecosystem/backup/backup_usb/index.html
index cb6a08aa18..3b3795f83c 100644
--- a/docs/ecosystem/backup/backup_usb/index.html
+++ b/docs/ecosystem/backup/backup_usb/index.html
@@ -341,6 +341,7 @@ Change below path to where you placed the usb_ba
diff --git a/docs/ecosystem/hass-configurator/index.html b/docs/ecosystem/hass-configurator/index.html
index 57382d1755..6994c8804c 100644
--- a/docs/ecosystem/hass-configurator/index.html
+++ b/docs/ecosystem/hass-configurator/index.html
@@ -362,6 +362,7 @@ To resume the screen session, log in to your machine and execute ios.conf
Using nginx as a proxy for Home Assistant allows you to serve Home Assistant securely over standard ports. This configuration file and instructions will walk you through setting up Home Assistant over a secure connection.
+
Using NGINX as a proxy for Home Assistant allows you to serve Home Assistant securely over standard ports. This configuration file and instructions will walk you through setting up Home Assistant over a secure connection.
1. Get a domain name forwarded to your IP
Chances are, you have a dynamic IP Address (your ISP changes your address periodically). If this is true, you can use a Dynamic DNS service to obtain a domain and set it up to update with you IP. If you purchase your own domain name, you will be able to easily get a trusted SSL certificate later.
2 Install nginx on your server
-
This will vary depending on your OS. Check out Google for this. After installing, ensure that nginx is not running.
+
This will vary depending on your OS. Check out Google for this. After installing, ensure that NGINX is not running.
3. Obtain an SSL certificate
There are two ways of obtaining an SSL certificate.
Using Let’s Encrypt
If you purchased your own domain, you can use https://letsencrypt.org/ to obtain a free, publicly trusted SSL certificate. This will allow you to work with services like IFTTT. Download and install per the instructions online and get a certificate using the following command.
Instead of example.com, use your domain. You will need to renew this certificate every 90 days.
Using openssl
If you do not own your own domain, you may generate a self-signed certificate. This will not work with IFTTT, but it will encrypt all of your Home Assistant traffic.
As a fair warning, this file will take a while to generate.
-
cd /etc/nginx/ssl
-sudo openssl dhparam -out dhparams.pem 2048
+
$ cd /etc/nginx/ssl
+$ sudo openssl dhparam -out dhparams.pem 2048
5. Install configuration file in nginx.
@@ -101,9 +101,9 @@ sudo openssl dhparam -out dhparams.pem 2048
Some Linux distributions (including CentOS and Fedora) will not have the /etc/nginx/sites-available/ directory. In this case, remove the default server {} block from the /etc/nginx/nginx.conf file and paste the contents from the bottom of the page in its place. If doing this, proceed to step 7.
6. Enable the Home Assistant configuration.
-
cd /etc/nginx/sites-enabled
-sudo unlink default
-sudo ln ../sites-available/hass default
+
This example demonstrates how you can configure NGINX to act as a proxy for Home Assistant.
+
This is useful if you want to have:
+
+
a subdomain redirecting to your home assistant instance
+
several subdomain for several instance
+
HTTPS redirection
+
+
Subdomain
+
So you already have a working NGINX server available at example.org. Your Home Assistant is correctly working on this web server and available at http://localhost:8123
+
To be able to access to your Home Assistant instance by using https://home.example.org, create file /etc/nginx/sites-enabled/homeassistant (or symlink via /etc/nginx/sites-available) and add the following:
If you don’t want HTTPS, you can change listen 443 ssl to listen 80 or better, consider redirecting all HTTP to HTTPS. See further down.
+
Multiple Instance
+
You already have Home Assistant running on http://localhost:8123 and available at home.example.org as describe before. The configuration file for this Home Assistant is available in /home/alice/.homeassistant/configuration.yaml.
+
You want another instance available at https://countryside.example.org
+
You can either :
+
+
Create a new user, bob, to hold the configuration file in /home/bob/.homeassistant/configuration.yaml and run home assistant as this new user
+
Create another configuration directory in /home/alice/.homeassistan2/configuration.yaml and run home assistant using hass --config /home/alice/.homeassistant2/
+
+
In both solution, change port number used by modifying configuration.yaml file.
+
http:
+ server_port:8124
+ ...
+
+
+
Start Home Assistant: Now, you have another instance running on http://localhost:8124
+
To access this instance by using https://countryside.example.org create the file /etc/nginx/sites-enabled/countryside.example.org (or symlink via /etc/nginx/sites-available) and add the following:
diff --git a/docs/ecosystem/notebooks/installation/index.html b/docs/ecosystem/notebooks/installation/index.html
index 47d3dd8581..226833e543 100644
--- a/docs/ecosystem/notebooks/installation/index.html
+++ b/docs/ecosystem/notebooks/installation/index.html
@@ -287,6 +287,7 @@ Certain notebooks hosted in the done: 1 IP address (1 host up
diff --git a/docs/hassbian/common-tasks/index.html b/docs/hassbian/common-tasks/index.html
index 8e8ab8e5d8..8145f84765 100644
--- a/docs/hassbian/common-tasks/index.html
+++ b/docs/hassbian/common-tasks/index.html
@@ -348,6 +348,7 @@ Log in as the pi account and execute the
diff --git a/docs/hassbian/customization/index.html b/docs/hassbian/customization/index.html
index 5c23aa3de3..5528cdb83b 100644
--- a/docs/hassbian/customization/index.html
+++ b/docs/hassbian/customization/index.html
@@ -274,6 +274,7 @@ For more information about this tool have a look at the
diff --git a/docs/hassbian/upgrading/index.html b/docs/hassbian/upgrading/index.html
index eaad56e103..60c2342b11 100644
--- a/docs/hassbian/upgrading/index.html
+++ b/docs/hassbian/upgrading/index.html
@@ -277,6 +277,7 @@ Log in as the pi account and execute the
diff --git a/docs/installation/raspberry-pi-all-in-one/index.html b/docs/installation/raspberry-pi-all-in-one/index.html
index 29ac00c176..848060a93d 100644
--- a/docs/installation/raspberry-pi-all-in-one/index.html
+++ b/docs/installation/raspberry-pi-all-in-one/index.html
@@ -361,6 +361,7 @@ Don’t check the USB box regardless of using a USB based device.
diff --git a/docs/installation/raspberry-pi/index.html b/docs/installation/raspberry-pi/index.html
index e7412d992f..a524b548cf 100644
--- a/docs/installation/raspberry-pi/index.html
+++ b/docs/installation/raspberry-pi/index.html
@@ -307,6 +307,7 @@ Since this account is only for running Home Assistant the extra arguments of
diff --git a/docs/installation/synology/index.html b/docs/installation/synology/index.html
index 73978afb4b..dbd3852769 100644
--- a/docs/installation/synology/index.html
+++ b/docs/installation/synology/index.html
@@ -462,6 +462,7 @@ That’s it… you’re all set to go
diff --git a/docs/installation/updating/index.html b/docs/installation/updating/index.html
index 7e2faa8e05..c644a2ae94 100644
--- a/docs/installation/updating/index.html
+++ b/docs/installation/updating/index.html
@@ -286,6 +286,7 @@ To avoid permission errors, the upgrade must be run as the same user as the inst
diff --git a/docs/installation/vagrant/index.html b/docs/installation/vagrant/index.html
index 9c3fe950ec..03c1f224e4 100644
--- a/docs/installation/vagrant/index.html
+++ b/docs/installation/vagrant/index.html
@@ -319,6 +319,7 @@ This command will only restart the Home Assistant process inside the Vagrant VM,
diff --git a/docs/installation/windows/index.html b/docs/installation/windows/index.html
index db7d42055b..dfdb4c9f85 100644
--- a/docs/installation/windows/index.html
+++ b/docs/installation/windows/index.html
@@ -272,6 +272,7 @@ The Microsoft Windows platform is not a primary target to install home Assistant
diff --git a/docs/mqtt/broker/index.html b/docs/mqtt/broker/index.html
index 59df20e778..33061f8064 100644
--- a/docs/mqtt/broker/index.html
+++ b/docs/mqtt/broker/index.html
@@ -383,6 +383,7 @@ Home Assistant will automatically load the correct certificate if you connect to
diff --git a/docs/scripts/conditions/index.html b/docs/scripts/conditions/index.html
index 3860575380..2ccd86f85d 100644
--- a/docs/scripts/conditions/index.html
+++ b/docs/scripts/conditions/index.html
@@ -390,6 +390,7 @@ Time condition windows can span across the midnight threshold. In the example ab
diff --git a/docs/z-wave/controllers/index.html b/docs/z-wave/controllers/index.html
index 64ac1f2f60..fc4b08af24 100644
--- a/docs/z-wave/controllers/index.html
+++ b/docs/z-wave/controllers/index.html
@@ -314,6 +314,7 @@ Upon first run, the zwave component will
diff --git a/docs/z-wave/index.html b/docs/z-wave/index.html
index 573fc9cd92..c725972e2a 100644
--- a/docs/z-wave/index.html
+++ b/docs/z-wave/index.html
@@ -497,6 +497,7 @@ Depending on what’s plugged into your USB ports, the name found above may chan