Site updated at 2016-06-05 14:12:13 UTC
This commit is contained in:
parent
78f980f8ba
commit
2d7d7cbeaa
53 changed files with 679 additions and 252 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: How-To | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Survey | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Website | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2016-06-05T12:50:07+00:00</updated>
|
||||
<updated>2016-06-05T14:11:26+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -126,15 +126,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -172,15 +172,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -148,15 +148,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -220,15 +220,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -168,15 +168,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -362,15 +362,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -258,15 +258,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -128,15 +128,16 @@ INFO [homeassistant.components.automation] Initialized rule Rain is over
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -177,15 +177,16 @@ The difference between a condition and a trigger can be confusing as they are ve
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -7,26 +7,26 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Autostart on macOS boot - Home Assistant</title>
|
||||
<title>Autostart on OS X - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
<meta name="description" content="Instructions how to setup Home Assistant to launch on macOS boot.">
|
||||
<meta name="description" content="Instructions how to setup Home Assistant to launch on OS X.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/getting-started/autostart-macos/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Autostart on macOS boot">
|
||||
<meta property="og:title" content="Autostart on OS X">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/getting-started/autostart-macos/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to setup Home Assistant to launch on macOS boot.">
|
||||
<meta property="og:description" content="Instructions how to setup Home Assistant to launch on OS X.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Autostart on macOS boot">
|
||||
<meta name="twitter:description" content="Instructions how to setup Home Assistant to launch on macOS boot.">
|
||||
<meta name="twitter:title" content="Autostart on OS X">
|
||||
<meta name="twitter:description" content="Instructions how to setup Home Assistant to launch on OS X.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
|
@ -83,7 +83,7 @@
|
|||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Autostart on macOS Boot
|
||||
Autostart on OS X
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
@ -136,15 +136,16 @@ Home Assistant has been uninstalled.
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -159,15 +159,16 @@ exec /bin/sh /volume1/homeassistant/hass-daemon start
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -184,15 +184,16 @@ $ sudo systemctl start home-assistant@[your user]
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -137,15 +137,16 @@ $ sudo service hass-daemon stop
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<ul>
|
||||
<li><a href="/getting-started/autostart-systemd/">Linux - systemd</a></li>
|
||||
<li><a href="/getting-started/autostart-upstart/">Linux - Upstart</a></li>
|
||||
<li><a href="/getting-started/autostart-macos/">macOS</a></li>
|
||||
<li><a href="/getting-started/autostart-macos/">OS X</a></li>
|
||||
<li><a href="/getting-started/autostart-synology/">Synology NAS</a></li>
|
||||
</ul>
|
||||
|
||||
|
@ -121,15 +121,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
246
getting-started/basic/index.html
Normal file
246
getting-started/basic/index.html
Normal file
|
@ -0,0 +1,246 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Setup basic information - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
<meta name="description" content="Setting up the basic info of Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/getting-started/basic/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Setup basic information">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/getting-started/basic/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Setting up the basic info of Home Assistant.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Setup basic information">
|
||||
<meta name="twitter:description" content="Setting up the basic info of Home Assistant.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href='/getting-started/'>Getting started</a></li>
|
||||
<li><a href='/components/'>Components</a></li>
|
||||
<li><a href='/cookbook/'>Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Setup Basic Information
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>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 <code>configuration.yaml</code>:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">homeassistant</span>:
|
||||
<span class="comment"># Omitted values in this section will be auto detected using freegeoip.io</span>
|
||||
|
||||
<span class="comment"># Location required to calculate the time the sun rises and sets</span>
|
||||
<span class="key">latitude</span>: <span class="string"><span class="content">32.87336</span></span>
|
||||
<span class="key">longitude</span>: <span class="string"><span class="content">117.22743</span></span>
|
||||
|
||||
<span class="comment"># C for Celsius, F for Fahrenheit</span>
|
||||
<span class="key">temperature_unit</span>: <span class="string"><span class="content">C</span></span>
|
||||
|
||||
<span class="comment"># Pick yours from here:</span>
|
||||
<span class="comment"># http://en.wikipedia.org/wiki/List_of_tz_database_time_zones</span>
|
||||
<span class="key">time_zone</span>: <span class="string"><span class="content">America/Los_Angeles</span></span>
|
||||
|
||||
<span class="comment"># Name of the location where Home Assistant is running</span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Home</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="password-protecting-the-web-interface" href="#password-protecting-the-web-interface"></a> Password protecting the web interface</h3>
|
||||
|
||||
<p>The first thing you will want to add is a password for the web interface. Use your favourite text editor to open <code>configuration.yaml</code> and edit the <code>http</code> section:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">http</span>:
|
||||
<span class="key">api_password</span>: <span class="string"><span class="content">YOUR_PASSWORD</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>See the <a href="/components/http/">HTTP component documentation</a> for more options like HTTPS encryption.</p>
|
||||
|
||||
<h3><a class="title-link" name="setting-up-your-phone-or-tablet" href="#setting-up-your-phone-or-tablet"></a> Setting up your phone or tablet</h3>
|
||||
|
||||
<p>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 <a href="/getting-started/android/">the visual guide</a>. For other devices, open Home Assistant on your mobile browser and tap the add to home screen option.</p>
|
||||
|
||||
<h3><a class="title-link" name="remote-access" href="#remote-access"></a> Remote access</h3>
|
||||
|
||||
<p>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 <code><Router model> port forwarding instructions</code>.</p>
|
||||
|
||||
<p>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 <a href="https://www.duckdns.org/">DuckDNS</a>.</p>
|
||||
|
||||
<p>You should definitely consider to encrypt your traffic if you are accessing your Home Assistant installation from abroad. For details please check the <a href="/blog/2015/12/13/setup-encryption-using-lets-encrypt/">Set up encryption using Let’s Encrypt</a> blog post.</p>
|
||||
|
||||
<h3><a href="/getting-started/devices/">Next step: Setting up devices »</a></h3>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.io/tree/master/source/getting-started/basic.markdown'>Edit this page on GitHub</a></div>
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Getting Started Guide</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/getting-started/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/installation-raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a class='active' href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/getting-started/troubleshooting-configuration/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/automation-create-first/'>Tutorial </a></li>
|
||||
<li><a href='/getting-started/automation-trigger/'>Triggers </a></li>
|
||||
<li><a href='/getting-started/automation-condition/'>Conditions </a></li>
|
||||
<li><a href='/getting-started/automation-action/'>Actions </a></li>
|
||||
<li><a href='/getting-started/automation-templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/scripts-service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/getting-started/scripts-conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/autostart-systemd/'>Linux - systemd </a></li>
|
||||
<li><a href='/getting-started/autostart-upstart/'>Linux - Upstart </a></li>
|
||||
<li><a href='/getting-started/autostart-macos/'>OS X </a></li>
|
||||
<li><a href='/getting-started/autostart-synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='/getting-started//topics/'>Advanced Topics </a></li>
|
||||
<li><a href='/getting-started/android/'>Add to Android Homescreen </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -308,15 +308,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -105,115 +105,7 @@
|
|||
You will have to restart Home Assistant each time you make changes in <code>configuration.yaml</code> in order for these to take effect.
|
||||
</p>
|
||||
|
||||
<h3><a class="title-link" name="yaml" href="#yaml"></a> YAML</h3>
|
||||
|
||||
<p>Home Assistant uses the <a href="http://yaml.org/">YAML</a> syntax for configuration. YAML might take a while to get used to but is really powerful in allowing you to express complex configurations.</p>
|
||||
|
||||
<p>For each component that you want to use in Home Assistant, you add code in your <code>configuraton.yaml</code> file to specify its settings.<br />
|
||||
The following example entry specifies that you want to use the <a href="/components/notify">notify component</a> with the <a href="/components/notify.pushbullet">pushbullet platform</a>.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">notify</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">pushbullet</span></span>
|
||||
<span class="key">api_key</span>: <span class="string"><span class="delimiter">"</span><span class="content">o.1234abcd</span><span class="delimiter">"</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">pushbullet</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li>A <strong>component</strong> provides the core logic for some functionality (like <code>notify</code> provides sending notifications).</li>
|
||||
<li>A <strong>platform</strong> makes the connection to a specific software or hardware platform (like <code>pushbullet</code> works with the service from pushbullet.com).</li>
|
||||
</ul>
|
||||
|
||||
<p>The basics of YAML syntax are block collections and mappings containing key-value pairs. Each item in a collection starts with a <code>-</code> while mappings have the format <code>key: value</code>. If you specify duplicate keys, the last value for a key is used.</p>
|
||||
|
||||
<p>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, <code>platform: pushbullet</code> is a property of (nested inside) the <code>notify</code> component.<br />
|
||||
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.</p>
|
||||
|
||||
<p>Lines that start with <strong>#</strong> are comments and are ignored by the system.</p>
|
||||
|
||||
<p>The next example shows an <a href="/components/input_select">input_select</a> component that uses a block collection for the options values.<br />
|
||||
The other properties (like name) are specified using mappings. Note that the second line just has <code>threat:</code> 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.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">input_select</span>:
|
||||
<span class="key">threat</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Threat level</span></span>
|
||||
<span class="comment"># A collection is used for options</span>
|
||||
<span class="key">options</span>:
|
||||
- <span class="string"><span class="content">0</span></span>
|
||||
- <span class="string"><span class="content">1</span></span>
|
||||
- <span class="string"><span class="content">2</span></span>
|
||||
- <span class="string"><span class="content">3</span></span>
|
||||
<span class="key">initial</span>: <span class="string"><span class="content">0</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>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 <code>state_topic</code> (one of the properties used for MQTT sensors).</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">sensor</span>:
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="content">sensor/topic</span></span>
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="content">sensor2/topic</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="setting-up-the-basic-info" href="#setting-up-the-basic-info"></a> Setting up the basic info</h3>
|
||||
|
||||
<p>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 <code>configuration.yaml</code>:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">homeassistant</span>:
|
||||
<span class="comment"># Omitted values in this section will be auto detected using freegeoip.io</span>
|
||||
|
||||
<span class="comment"># Location required to calculate the time the sun rises and sets</span>
|
||||
<span class="key">latitude</span>: <span class="string"><span class="content">32.87336</span></span>
|
||||
<span class="key">longitude</span>: <span class="string"><span class="content">117.22743</span></span>
|
||||
|
||||
<span class="comment"># C for Celsius, F for Fahrenheit</span>
|
||||
<span class="key">temperature_unit</span>: <span class="string"><span class="content">C</span></span>
|
||||
|
||||
<span class="comment"># Pick yours from here:</span>
|
||||
<span class="comment"># http://en.wikipedia.org/wiki/List_of_tz_database_time_zones</span>
|
||||
<span class="key">time_zone</span>: <span class="string"><span class="content">America/Los_Angeles</span></span>
|
||||
|
||||
<span class="comment"># Name of the location where Home Assistant is running</span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Home</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="password-protecting-the-web-interface" href="#password-protecting-the-web-interface"></a> Password protecting the web interface</h3>
|
||||
|
||||
<p>The first thing you will want to add is a password for the web interface. Use your favourite text editor to open <code>configuration.yaml</code> and edit the <code>http</code> section:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">http</span>:
|
||||
<span class="key">api_password</span>: <span class="string"><span class="content">YOUR_PASSWORD</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>See the <a href="/components/http/">HTTP component documentation</a> for more options like HTTPS encryption.</p>
|
||||
|
||||
<h3><a class="title-link" name="setting-up-your-phone-or-tablet" href="#setting-up-your-phone-or-tablet"></a> Setting up your phone or tablet</h3>
|
||||
|
||||
<p>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 <a href="/getting-started/android/">the visual guide</a>. For other devices, open Home Assistant on your mobile browser and tap the add to home screen option.</p>
|
||||
|
||||
<h3><a class="title-link" name="remote-access" href="#remote-access"></a> Remote access</h3>
|
||||
|
||||
<p>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 <code><Router model> port forwarding instructions</code>.</p>
|
||||
|
||||
<p>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 <a href="https://www.duckdns.org/">DuckDNS</a>.</p>
|
||||
|
||||
<p>You should definitely consider to encrypt your traffic if you are accessing your Home Assistant installation from abroad. For details please check the <a href="/blog/2015/12/13/setup-encryption-using-lets-encrypt/">Set up encryption using Let’s Encrypt</a> blog post.</p>
|
||||
|
||||
<h3><a href="/getting-started/devices/">Next step: Setting up devices »</a></h3>
|
||||
<h3><a href="/getting-started/yaml/">Next step: Get familiar with YAML »</a></h3>
|
||||
|
||||
|
||||
</article>
|
||||
|
@ -238,15 +130,16 @@ The other properties (like name) are specified using mappings. Note that the sec
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a class='active' href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a class='active' href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -89,13 +89,11 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>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 <br />
|
||||
page by altering some of these parameters. This can be done by adding the following configuration inside the <code>homeassistant:</code> section.</p>
|
||||
<p>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 <code>homeassistant:</code> section.</p>
|
||||
|
||||
<p>Devices that you don’t want to have visible can be hidden with <code>hidden</code>. <br />
|
||||
<code>entity_picture</code>entries, badges, <code>device_tracker</code> pictures, etc. can either be external URLs (e.g. <code>http://example.com/example.jpg</code>) or <br />
|
||||
of the form <code>/local/filename.jpg</code>, where <code>/local</code> represents the directory <code>www</code> in the HASS configuration directory. <br />
|
||||
You may have to create the <code>www</code> directory yourself as it is not made automatically.</p>
|
||||
<p>Devices that you don’t want to have visible can be hidden with <code>hidden</code>.</p>
|
||||
|
||||
<p><code>entity_picture</code>entries, badges, <code>device_tracker</code> pictures, etc. can either be external URLs (e.g. <code>http://example.com/example.jpg</code>) or of the form <code>/local/filename.jpg</code>, where <code>/local</code> represents the directory <code>www</code> in the HASS configuration directory. You may have to create the <code>www</code> directory yourself as it is not made automatically.</p>
|
||||
|
||||
<p>You can also use <code>icon</code> and refer to any icon from <a href="http://MaterialDesignIcons.com">MaterialDesignIcons.com</a>.</p>
|
||||
|
||||
|
@ -150,15 +148,16 @@ You may have to create the <code>www</code> directory yourself as it is not made
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a class='active' href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -182,15 +182,16 @@ Each group exists of a name and a list of entity IDs. Entity IDs can be retrieve
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a class='active' href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -127,7 +127,7 @@ $ hass --open-ui
|
|||
<li><a href="https://github.com/home-assistant/home-assistant/issues">GitHub Page</a> for issue reporting.</li>
|
||||
</ul>
|
||||
|
||||
<h3><a class="title-link" name="whats-next" href="#whats-next"></a> What’s next</h3>
|
||||
<h3><a class="title-link" name="whats-next" href="#whats-next"></a> What’s next?</h3>
|
||||
|
||||
<p>To see what Home Assistant can do, launch demo mode: <code>hass --demo-mode</code> or visit the <a href="/demo">demo page</a>.</p>
|
||||
|
||||
|
@ -156,15 +156,16 @@ $ hass --open-ui
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -140,15 +140,16 @@ When using boot2docker on OS X you are unable to map the local time to your Dock
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a class='active' href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -177,15 +177,16 @@
|
|||
<li><a class='active' href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -152,15 +152,16 @@ $ hass
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -363,15 +363,16 @@ That’s it… you’re all set to go</p>
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a class='active' href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
|
||||
<p>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.</p>
|
||||
|
||||
<h2><a class="title-link" name="step-0-install-some-dependencies" href="#step-0-install-some-dependencies"></a> Step 0: Install some dependencies</h2>
|
||||
<h3><a class="title-link" name="step-0-install-some-dependencies" href="#step-0-install-some-dependencies"></a> Step 0: Install some dependencies</h3>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>$ sudo apt-get update
|
||||
|
@ -104,7 +104,7 @@ $ sudo pip install --upgrade virtualenv
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h2><a class="title-link" name="step-1-create-a-home-assistant-user" href="#step-1-create-a-home-assistant-user"></a> Step 1: Create a Home Assistant user</h2>
|
||||
<h3><a class="title-link" name="step-1-create-a-home-assistant-user" href="#step-1-create-a-home-assistant-user"></a> Step 1: Create a Home Assistant user</h3>
|
||||
|
||||
<p>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).</p>
|
||||
|
||||
|
@ -124,7 +124,7 @@ $ sudo pip install --upgrade virtualenv
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h2><a class="title-link" name="step-2-create-a-directory-for-home-assistant" href="#step-2-create-a-directory-for-home-assistant"></a> Step 2: Create a directory for Home Assistant</h2>
|
||||
<h3><a class="title-link" name="step-2-create-a-directory-for-home-assistant" href="#step-2-create-a-directory-for-home-assistant"></a> Step 2: Create a directory for Home Assistant</h3>
|
||||
|
||||
<p>This can be anywhere you want. AS example we put it in <code>/srv</code>. You also need to change the ownership of the directory to the user you created above (if you created one).</p>
|
||||
|
||||
|
@ -134,7 +134,8 @@ $ sudo chown hass /srv/hass
|
|||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<p>## <a class="title-link" name="step-3-become-the-new-user" href="#step-3-become-the-new-user"></a> Step 3: Become the new user</p>
|
||||
|
||||
<h3><a class="title-link" name="step-3-become-the-new-user" href="#step-3-become-the-new-user"></a> Step 3: Become the new user</h3>
|
||||
|
||||
<p>This is obviously only necessary if you created a <code>hass</code> 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.</p>
|
||||
|
||||
|
@ -146,7 +147,7 @@ $ sudo chown hass /srv/hass
|
|||
|
||||
<p>The <code>su</code> command means ‘switch’ user. We use the ‘-s’ flag because the <code>hass</code> 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).</p>
|
||||
|
||||
<h2><a class="title-link" name="step-4-set-up-the-virtualenv" href="#step-4-set-up-the-virtualenv"></a> Step 4: Set up the virtualenv</h2>
|
||||
<h3><a class="title-link" name="step-4-set-up-the-virtualenv" href="#step-4-set-up-the-virtualenv"></a> Step 4: Set up the virtualenv</h3>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
|
@ -168,7 +169,7 @@ $ sudo chown hass /srv/hass
|
|||
|
||||
<p>After that, your prompt should include <code>(hass)</code>.</p>
|
||||
|
||||
<h2><a class="title-link" name="step-6-install-home-assistant" href="#step-6-install-home-assistant"></a> Step 6: Install Home Assistant</h2>
|
||||
<h3><a class="title-link" name="step-6-install-home-assistant" href="#step-6-install-home-assistant"></a> Step 6: Install Home Assistant</h3>
|
||||
|
||||
<p>Once your virtualenv has been activated, you don’t need to <code>sudo</code> any of your <code>pip</code> commands. <code>pip</code> will be installing things in the virtualenv, which the <code>hass</code> user has permission to modify.</p>
|
||||
|
||||
|
@ -180,7 +181,7 @@ $ sudo chown hass /srv/hass
|
|||
|
||||
<p>And that’s it… you now have Home Assistant installed, and you can be sure that every bit of it is contained in <code>/srv/hass</code>.</p>
|
||||
|
||||
<h2><a class="title-link" name="finally-run-home-assistant" href="#finally-run-home-assistant"></a> Finally… Run Home Assistant</h2>
|
||||
<h3><a class="title-link" name="finally-run-home-assistant" href="#finally-run-home-assistant"></a> Finally… Run Home Assistant</h3>
|
||||
|
||||
<p>There are two ways to launch Home Assistant. If you are <strong>in</strong> the virtualenv, you can just run <code>hass</code> and it will work as normal. If the virtualenv is not activated, you just use the <code>hass</code> executable in the <code>bin</code> 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 <code>hass</code> user or specify the configuration with <code>-c</code>.</p>
|
||||
|
||||
|
@ -192,15 +193,15 @@ $ sudo chown hass /srv/hass
|
|||
|
||||
<p>The <code>-H</code> flag is important. It sets the <code>$HOME</code> environment variable to <code>/home/hass</code> so <code>hass</code> can find its configuration.</p>
|
||||
|
||||
<h2><a class="title-link" name="upgrading-home-assistant" href="#upgrading-home-assistant"></a> Upgrading Home Assistant</h2>
|
||||
<h3><a class="title-link" name="upgrading-home-assistant" href="#upgrading-home-assistant"></a> Upgrading Home Assistant</h3>
|
||||
|
||||
<p>Upgrading Home Assistant is simple, just repeat steps 3, 5 and 6.</p>
|
||||
|
||||
<h2><a class="title-link" name="starting-home-assistant-on-boot" href="#starting-home-assistant-on-boot"></a> Starting Home Assistant on boot</h2>
|
||||
<h3><a class="title-link" name="starting-home-assistant-on-boot" href="#starting-home-assistant-on-boot"></a> Starting Home Assistant on boot</h3>
|
||||
|
||||
<p>The <a href="/getting-started/autostart/">autostart instructions</a> will work just fine, just be sure to replace <code>/usr/bin/hass</code> with <code>/srv/hass/bin/hass</code> and specify the <code>hass</code> user where appropriate.</p>
|
||||
|
||||
<h2><a class="title-link" name="installing-python-openzwave" href="#installing-python-openzwave"></a> Installing python-openzwave</h2>
|
||||
<h3><a class="title-link" name="installing-python-openzwave" href="#installing-python-openzwave"></a> Installing python-openzwave</h3>
|
||||
|
||||
<p>If you want to use Z-Wave devices, you will need to install <code>python-openzwave</code> in your virtualenv. This requires a small tweak to the instructions on home-assistant.io</p>
|
||||
|
||||
|
@ -257,15 +258,16 @@ $ sudo chown hass /srv/hass
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a class='active' href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a class='active' href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -149,15 +149,16 @@ OwnTracks communicates directly with your MQTT broker, no data will pass through
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a class='active' href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -285,15 +285,16 @@ This allows you to mix several AND and OR conditions together.</p>
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -182,15 +182,16 @@ Use the <img src="/images/screenshots/developer-tool-services-icon.png" class="n
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -200,15 +200,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -197,15 +197,16 @@ Whenever you report an issue, be aware that we are volunteers who do not have ac
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -193,15 +193,16 @@ chrome -> settings -> site settings -> storage -> search for your UR
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a class='active' href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
|
@ -123,15 +123,16 @@
|
|||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>VirtualEnv Linux </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a class='active' href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Configuration
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/configuration/'>Configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
|
|
253
getting-started/yaml/index.html
Normal file
253
getting-started/yaml/index.html
Normal file
|
@ -0,0 +1,253 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>YAML - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
<meta name="description" content="Details about YAML to configure Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/getting-started/yaml/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="YAML">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/getting-started/yaml/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Details about YAML to configure Home Assistant.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="YAML">
|
||||
<meta name="twitter:description" content="Details about YAML to configure Home Assistant.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href='/getting-started/'>Getting started</a></li>
|
||||
<li><a href='/components/'>Components</a></li>
|
||||
<li><a href='/cookbook/'>Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
YAML
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Home Assistant uses the <a href="http://yaml.org/">YAML</a> syntax for configuration. YAML might take a while to get used to but is really powerful in allowing you to express complex configurations.</p>
|
||||
|
||||
<p>For each component that you want to use in Home Assistant, you add code in your <code>configuraton.yaml</code> file to specify its settings.<br />
|
||||
The following example entry specifies that you want to use the <a href="/components/notify">notify component</a> with the <a href="/components/notify.pushbullet">pushbullet platform</a>.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">notify</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">pushbullet</span></span>
|
||||
<span class="key">api_key</span>: <span class="string"><span class="delimiter">"</span><span class="content">o.1234abcd</span><span class="delimiter">"</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">pushbullet</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li>A <strong>component</strong> provides the core logic for some functionality (like <code>notify</code> provides sending notifications).</li>
|
||||
<li>A <strong>platform</strong> makes the connection to a specific software or hardware platform (like <code>pushbullet</code> works with the service from pushbullet.com).</li>
|
||||
</ul>
|
||||
|
||||
<p>The basics of YAML syntax are block collections and mappings containing key-value pairs. Each item in a collection starts with a <code>-</code> while mappings have the format <code>key: value</code>. If you specify duplicate keys, the last value for a key is used.</p>
|
||||
|
||||
<p>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, <code>platform: pushbullet</code> is a property of (nested inside) the <code>notify</code> component.<br />
|
||||
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.</p>
|
||||
|
||||
<p>Lines that start with <strong>#</strong> are comments and are ignored by the system.</p>
|
||||
|
||||
<p>The next example shows an <a href="/components/input_select">input_select</a> component that uses a block collection for the options values.<br />
|
||||
The other properties (like name) are specified using mappings. Note that the second line just has <code>threat:</code> 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.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">input_select</span>:
|
||||
<span class="key">threat</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Threat level</span></span>
|
||||
<span class="comment"># A collection is used for options</span>
|
||||
<span class="key">options</span>:
|
||||
- <span class="string"><span class="content">0</span></span>
|
||||
- <span class="string"><span class="content">1</span></span>
|
||||
- <span class="string"><span class="content">2</span></span>
|
||||
- <span class="string"><span class="content">3</span></span>
|
||||
<span class="key">initial</span>: <span class="string"><span class="content">0</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>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 <code>state_topic</code> (one of the properties used for MQTT sensors).</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">sensor</span>:
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="content">sensor/topic</span></span>
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="content">sensor2/topic</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/getting-started/basic/">Next step: Setting up the basics »</a></h3>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.io/tree/master/source/getting-started/yaml.markdown'>Edit this page on GitHub</a></div>
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Getting Started Guide</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/getting-started/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/installation-raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/getting-started/installation-raspberry-pi-all-in-one/'>Raspberry Pi All-In-One Installer </a></li>
|
||||
<li><a href='/getting-started/installation-docker/'>Docker </a></li>
|
||||
<li><a href='/getting-started/installation-synology/'>Synology NAS </a></li>
|
||||
<li><a href='/getting-started/installation-virtualenv/'>Virtualenv Linux </a></li>
|
||||
<li><a href='/getting-started/updating/'>Updating </a></li>
|
||||
<li><a href='/getting-started/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a class='active' href='/getting-started/yaml/'>YAML </a></li>
|
||||
<li><a href='/getting-started/basic/'>Basic information </a></li>
|
||||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/getting-started/troubleshooting-configuration/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/automation-create-first/'>Tutorial </a></li>
|
||||
<li><a href='/getting-started/automation-trigger/'>Triggers </a></li>
|
||||
<li><a href='/getting-started/automation-condition/'>Conditions </a></li>
|
||||
<li><a href='/getting-started/automation-action/'>Actions </a></li>
|
||||
<li><a href='/getting-started/automation-templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/scripts-service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/getting-started/scripts-conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/autostart-systemd/'>Linux - systemd </a></li>
|
||||
<li><a href='/getting-started/autostart-upstart/'>Linux - Upstart </a></li>
|
||||
<li><a href='/getting-started/autostart-macos/'>OS X </a></li>
|
||||
<li><a href='/getting-started/autostart-synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='/getting-started//topics/'>Advanced Topics </a></li>
|
||||
<li><a href='/getting-started/android/'>Add to Android Homescreen </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
18
sitemap.xml
18
sitemap.xml
|
@ -307,6 +307,9 @@
|
|||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/autostart/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/basic/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/browsers/</loc>
|
||||
</url>
|
||||
|
@ -445,6 +448,9 @@
|
|||
<url>
|
||||
<loc>https://home-assistant.io/developers/website/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/yaml/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/categories/website/</loc>
|
||||
</url>
|
||||
|
@ -1704,26 +1710,26 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/index.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
||||
<lastmod>2016-06-05T12:49:23+00:00</lastmod>
|
||||
<lastmod>2016-06-05T14:10:44+00:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue