diff --git a/getting-started/automation/index.html b/getting-started/automation/index.html
index 71f563cafb..28aea042b2 100644
--- a/getting-started/automation/index.html
+++ b/getting-started/automation/index.html
@@ -177,15 +177,16 @@ The difference between a condition and a trigger can be confusing as they are ve
By default Home Assistant will try to detect your location and will automatically select a temperature unit and time zone based on your location. You can overwrite this by adding the following information to your configuration.yaml:
+
+
+
homeassistant:
+ # Omitted values in this section will be auto detected using freegeoip.io
+
+ # Location required to calculate the time the sun rises and sets
+ latitude: 32.87336
+ longitude: 117.22743
+
+ # C for Celsius, F for Fahrenheit
+ temperature_unit: C
+
+ # Pick yours from here:
+ # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+ time_zone: America/Los_Angeles
+
+ # Name of the location where Home Assistant is running
+ name: Home
+
+
+
+
+
Password protecting the web interface
+
+
The first thing you will want to add is a password for the web interface. Use your favourite text editor to open configuration.yaml and edit the http section:
Home Assistant runs as a self-hosted web application and contains support to be added to your home screen. If you’re on Android you can follow the visual guide. For other devices, open Home Assistant on your mobile browser and tap the add to home screen option.
+
+
Remote access
+
+
To make Home Assistant accessible while away from home, you will have to setup port forwarding from your router to port 8123 on the computer that is hosting Home Assistant. Instructions on how to do this can be found by searching <Router model> port forwarding instructions.
+
+
Some Internet service providers will only offer dynamic IPs. This can cause you to be unable to access Home Assistant while away. You can solve this by using a free Dynamic DNS service like DuckDNS.
+
+
You should definitely consider to encrypt your traffic if you are accessing your Home Assistant installation from abroad. For details please check the Set up encryption using Let’s Encrypt blog post.
diff --git a/getting-started/configuration/index.html b/getting-started/configuration/index.html
index 2f694b5bdc..f5b544b26f 100644
--- a/getting-started/configuration/index.html
+++ b/getting-started/configuration/index.html
@@ -105,115 +105,7 @@
You will have to restart Home Assistant each time you make changes in configuration.yaml in order for these to take effect.
-
YAML
-
-
Home Assistant uses the YAML syntax for configuration. YAML might take a while to get used to but is really powerful in allowing you to express complex configurations.
-
-
For each component that you want to use in Home Assistant, you add code in your configuraton.yaml file to specify its settings.
-The following example entry specifies that you want to use the notify component with the pushbullet platform.
A component provides the core logic for some functionality (like notify provides sending notifications).
-
A platform makes the connection to a specific software or hardware platform (like pushbullet works with the service from pushbullet.com).
-
-
-
The basics of YAML syntax are block collections and mappings containing key-value pairs. Each item in a collection starts with a - while mappings have the format key: value. If you specify duplicate keys, the last value for a key is used.
-
-
Note that indentation is an important part of specifying relationships using YAML. Things that are indented are nested “inside” things that are one level higher. So in the above example, platform: pushbullet is a property of (nested inside) the notify component.
-Getting the right indentation can be tricky if you’re not using an editor with a fixed width font. Tabs are not allowed to be used for indentation. Convention is to use 2 spaces for each level of indentation.
-
-
Lines that start with # are comments and are ignored by the system.
-
-
The next example shows an input_select component that uses a block collection for the options values.
-The other properties (like name) are specified using mappings. Note that the second line just has threat: with no value on the same line. Here threat is the name of the input_select and the values for it are everything nested below it.
-
-
-
input_select:
- threat:
- name: Threat level
-# A collection is used for options
- options:
- - 0
- - 1
- - 2
- - 3
- initial: 0
-
-
-
-
-
The following example shows nesting a collection of mappings in a mapping. In Home Assistant, this would create two sensors that each use the MQTT platform but have different values for their state_topic (one of the properties used for MQTT sensors).
By default Home Assistant will try to detect your location and will automatically select a temperature unit and time zone based on your location. You can overwrite this by adding the following information to your configuration.yaml:
-
-
-
homeassistant:
- # Omitted values in this section will be auto detected using freegeoip.io
-
- # Location required to calculate the time the sun rises and sets
- latitude: 32.87336
- longitude: 117.22743
-
- # C for Celsius, F for Fahrenheit
- temperature_unit: C
-
- # Pick yours from here:
- # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- time_zone: America/Los_Angeles
-
- # Name of the location where Home Assistant is running
- name: Home
-
-
-
-
-
Password protecting the web interface
-
-
The first thing you will want to add is a password for the web interface. Use your favourite text editor to open configuration.yaml and edit the http section:
Home Assistant runs as a self-hosted web application and contains support to be added to your home screen. If you’re on Android you can follow the visual guide. For other devices, open Home Assistant on your mobile browser and tap the add to home screen option.
-
-
Remote access
-
-
To make Home Assistant accessible while away from home, you will have to setup port forwarding from your router to port 8123 on the computer that is hosting Home Assistant. Instructions on how to do this can be found by searching <Router model> port forwarding instructions.
-
-
Some Internet service providers will only offer dynamic IPs. This can cause you to be unable to access Home Assistant while away. You can solve this by using a free Dynamic DNS service like DuckDNS.
-
-
You should definitely consider to encrypt your traffic if you are accessing your Home Assistant installation from abroad. For details please check the Set up encryption using Let’s Encrypt blog post.
By default, all of your devices will be visible and have a default icon determined by their domain. You can customize the look and feel of your front
-page by altering some of these parameters. This can be done by adding the following configuration inside the homeassistant: section.
+
By default, all of your devices will be visible and have a default icon determined by their domain. You can customize the look and feel of your front page by altering some of these parameters. This can be done by adding the following configuration inside the homeassistant: section.
-
Devices that you don’t want to have visible can be hidden with hidden.
-entity_pictureentries, badges, device_tracker pictures, etc. can either be external URLs (e.g. http://example.com/example.jpg) or
-of the form /local/filename.jpg, where /local represents the directory www in the HASS configuration directory.
-You may have to create the www directory yourself as it is not made automatically.
+
Devices that you don’t want to have visible can be hidden with hidden.
+
+
entity_pictureentries, badges, device_tracker pictures, etc. can either be external URLs (e.g. http://example.com/example.jpg) or of the form /local/filename.jpg, where /local represents the directory www in the HASS configuration directory. You may have to create the www directory yourself as it is not made automatically.
diff --git a/getting-started/devices/index.html b/getting-started/devices/index.html
index 1c4590e6ed..7bfc8ec046 100644
--- a/getting-started/devices/index.html
+++ b/getting-started/devices/index.html
@@ -182,15 +182,16 @@ Each group exists of a name and a list of entity IDs. Entity IDs can be retrieve
diff --git a/getting-started/installation-docker/index.html b/getting-started/installation-docker/index.html
index ac26fc4fce..01438f8d1b 100644
--- a/getting-started/installation-docker/index.html
+++ b/getting-started/installation-docker/index.html
@@ -140,15 +140,16 @@ When using boot2docker on OS X you are unable to map the local time to your Dock
diff --git a/getting-started/installation-synology/index.html b/getting-started/installation-synology/index.html
index 50f523020a..6afd2631ff 100644
--- a/getting-started/installation-synology/index.html
+++ b/getting-started/installation-synology/index.html
@@ -363,15 +363,16 @@ That’s it… you’re all set to go
Virtualenvs are pretty easy to setup. This example will walk through one method of setting one up (there are certainly others). We’ll be using Debian in this example (as many Home Assistant users are running Raspbian on a Raspberry Pi), but all of the Python related steps should be the same on just about any platform.
This step is optional, but it’s a good idea to give services like Home Assistant their own user. It gives you more granular control over permissions, and reduces the exposure to the rest of your system in the event there is a security related bug in Home Assistant. This is a reasonably Linux oriented step, and will look different on other operating systems (or even other Linux distributions).
This can be anywhere you want. AS example we put it in /srv. You also need to change the ownership of the directory to the user you created above (if you created one).
@@ -134,7 +134,8 @@ $ sudo chown hass /srv/hass
-
## Step 3: Become the new user
+
+
Step 3: Become the new user
This is obviously only necessary if you created a hass user, but if you did, be sure to switch to that user whenever you install things in your virtualenv, otherwise you’ll end up with mucked up permissions.
@@ -146,7 +147,7 @@ $ sudo chown hass /srv/hass
The su command means ‘switch’ user. We use the ‘-s’ flag because the hass user is a system user and doesn’t have a default shell by default (to prevent attackers from being able to log in as that user).
-
Step 4: Set up the virtualenv
+
Step 4: Set up the virtualenv
All this step does is stick a Python environment in the directory we’re using. That’s it. It’s just a directory. There’s nothing ‘special’ about it, and it is entirely self-contained.
@@ -168,7 +169,7 @@ $ sudo chown hass /srv/hass
After that, your prompt should include (hass).
-
Step 6: Install Home Assistant
+
Step 6: Install Home Assistant
Once your virtualenv has been activated, you don’t need to sudo any of your pip commands. pip will be installing things in the virtualenv, which the hass user has permission to modify.
@@ -180,7 +181,7 @@ $ sudo chown hass /srv/hass
And that’s it… you now have Home Assistant installed, and you can be sure that every bit of it is contained in /srv/hass.
-
Finally… Run Home Assistant
+
Finally… Run Home Assistant
There are two ways to launch Home Assistant. If you are in the virtualenv, you can just run hass and it will work as normal. If the virtualenv is not activated, you just use the hass executable in the bin directory mentioned earlier. There is one caveat… Because Home Assistant stores it’s configuration in the user’s home directory, we need to be the user hass user or specify the configuration with -c.
@@ -192,15 +193,15 @@ $ sudo chown hass /srv/hass
The -H flag is important. It sets the $HOME environment variable to /home/hass so hass can find its configuration.
-
Upgrading Home Assistant
+
Upgrading Home Assistant
Upgrading Home Assistant is simple, just repeat steps 3, 5 and 6.
-
Starting Home Assistant on boot
+
Starting Home Assistant on boot
The autostart instructions will work just fine, just be sure to replace /usr/bin/hass with /srv/hass/bin/hass and specify the hass user where appropriate.
-
Installing python-openzwave
+
Installing python-openzwave
If you want to use Z-Wave devices, you will need to install python-openzwave in your virtualenv. This requires a small tweak to the instructions on home-assistant.io
diff --git a/getting-started/presence-detection/index.html b/getting-started/presence-detection/index.html
index 51ee986045..ac0a4759e6 100644
--- a/getting-started/presence-detection/index.html
+++ b/getting-started/presence-detection/index.html
@@ -149,15 +149,16 @@ OwnTracks communicates directly with your MQTT broker, no data will pass through
diff --git a/getting-started/scripts-conditions/index.html b/getting-started/scripts-conditions/index.html
index 587cc57375..099a16734b 100644
--- a/getting-started/scripts-conditions/index.html
+++ b/getting-started/scripts-conditions/index.html
@@ -285,15 +285,16 @@ This allows you to mix several AND and OR conditions together.
Home Assistant uses the YAML syntax for configuration. YAML might take a while to get used to but is really powerful in allowing you to express complex configurations.
+
+
For each component that you want to use in Home Assistant, you add code in your configuraton.yaml file to specify its settings.
+The following example entry specifies that you want to use the notify component with the pushbullet platform.
A component provides the core logic for some functionality (like notify provides sending notifications).
+
A platform makes the connection to a specific software or hardware platform (like pushbullet works with the service from pushbullet.com).
+
+
+
The basics of YAML syntax are block collections and mappings containing key-value pairs. Each item in a collection starts with a - while mappings have the format key: value. If you specify duplicate keys, the last value for a key is used.
+
+
Note that indentation is an important part of specifying relationships using YAML. Things that are indented are nested “inside” things that are one level higher. So in the above example, platform: pushbullet is a property of (nested inside) the notify component.
+Getting the right indentation can be tricky if you’re not using an editor with a fixed width font. Tabs are not allowed to be used for indentation. Convention is to use 2 spaces for each level of indentation.
+
+
Lines that start with # are comments and are ignored by the system.
+
+
The next example shows an input_select component that uses a block collection for the options values.
+The other properties (like name) are specified using mappings. Note that the second line just has threat: with no value on the same line. Here threat is the name of the input_select and the values for it are everything nested below it.
+
+
+
input_select:
+ threat:
+ name: Threat level
+# A collection is used for options
+ options:
+ - 0
+ - 1
+ - 2
+ - 3
+ initial: 0
+
+
+
+
+
The following example shows nesting a collection of mappings in a mapping. In Home Assistant, this would create two sensors that each use the MQTT platform but have different values for their state_topic (one of the properties used for MQTT sensors).