Site updated at 2015-01-25 02:05:54 UTC
This commit is contained in:
parent
ace848e136
commit
a7aa4deb86
28 changed files with 3432 additions and 231 deletions
Binary file not shown.
Before Width: | Height: | Size: 21 KiB |
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Home Assistant]]></title>
|
<title><![CDATA[Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-01-13T08:35:22-08:00</updated>
|
<updated>2015-01-24T18:05:43-08:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: architecture | Home Assistant]]></title>
|
<title><![CDATA[Category: architecture | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/architecture/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/architecture/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-01-13T08:35:22-08:00</updated>
|
<updated>2015-01-24T18:05:43-08:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: component | Home Assistant]]></title>
|
<title><![CDATA[Category: component | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/component/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/component/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-01-13T08:35:22-08:00</updated>
|
<updated>2015-01-24T18:05:43-08:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: website | Home Assistant]]></title>
|
<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/blog/categories/website/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-01-13T08:35:22-08:00</updated>
|
<updated>2015-01-24T18:05:43-08:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||||
|
|
356
components/automation.html
Normal file
356
components/automation.html
Normal file
|
@ -0,0 +1,356 @@
|
||||||
|
<!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>Automation - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup automation within Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Automation">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/automation.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup automation within Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Automation
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>This page will talk about automating Home Assistant using the <code>automation</code> component. For more advanced ways of automation, see the <a href="/developers/creating_components.html">create a component</a> page.</p>
|
||||||
|
|
||||||
|
<p>Each part of automation consists of two parts: the trigger part and the action part. The final result will look something like this:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
<span class='line-number'>11</span>
|
||||||
|
<span class='line-number'>12</span>
|
||||||
|
<span class='line-number'>13</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[automation]
|
||||||
|
</span><span class='line'># Optional alias that the logs will use to refer to the entry
|
||||||
|
</span><span class='line'>alias=Sunset notification
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Type of trigger and informatino for the trigger
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=sun.sun
|
||||||
|
</span><span class='line'>state_from=above_horizon
|
||||||
|
</span><span class='line'>state_to=below_horizon
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Action to be done when trigger activated
|
||||||
|
</span><span class='line'>execute_service=notify.notify
|
||||||
|
</span><span class='line'>service_data={"message":"The sun has set"}</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Setting up triggers</h2>
|
||||||
|
|
||||||
|
<h4>Time-based automation</h4>
|
||||||
|
|
||||||
|
<p>This allows you to trigger actions whenever the time matches your filter. You can setup filters to match on hours, minutes and seconds. Any filter that you omit will match all values.</p>
|
||||||
|
|
||||||
|
<p>Here are some example values:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'># Match at the start of every hour
|
||||||
|
</span><span class='line'>platform=time
|
||||||
|
</span><span class='line'>time_minutes=0
|
||||||
|
</span><span class='line'>time_seconds=0
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Match at 4pm
|
||||||
|
</span><span class='line'>platform=time
|
||||||
|
</span><span class='line'>time_hours=16
|
||||||
|
</span><span class='line'>time_minutes=0
|
||||||
|
</span><span class='line'>time_seconds=0
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
Home Assistant checks your time filters every 3 seconds. That means that the value of seconds will only be 0, 3, 6, 9…60. Setting up a filter for `time_seconds=10` will never fire!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>State-based automation</h4>
|
||||||
|
|
||||||
|
<p>This allows you to trigger actions based on state changes of any entity within Home Assistant. You can omit the <code>state_from</code> and <code>state_to</code> to match all.</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
<span class='line-number'>11</span>
|
||||||
|
<span class='line-number'>12</span>
|
||||||
|
<span class='line-number'>13</span>
|
||||||
|
<span class='line-number'>14</span>
|
||||||
|
<span class='line-number'>15</span>
|
||||||
|
<span class='line-number'>16</span>
|
||||||
|
<span class='line-number'>17</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'># Match when the sun sets
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=sun.sun
|
||||||
|
</span><span class='line'>state_from=above_horizon
|
||||||
|
</span><span class='line'>state_to=below_horizon
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Match when a person comes home
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=device_tracker.Paulus_OnePlus_One
|
||||||
|
</span><span class='line'>state_from=not_home
|
||||||
|
</span><span class='line'>state_to=home
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Match when a light turns on
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=light.Ceiling
|
||||||
|
</span><span class='line'>state_from=off
|
||||||
|
</span><span class='line'>state_to=on</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Setting up the action</h2>
|
||||||
|
|
||||||
|
<p>Currently the only supported action is calling a service. Services are what devices expose to be controlled, so this will allow us to control anything that Home Assistant can control.</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
<span class='line-number'>11</span>
|
||||||
|
<span class='line-number'>12</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'># Turn the lights Ceiling and Wall on.
|
||||||
|
</span><span class='line'>execute_service=light.turn_on
|
||||||
|
</span><span class='line'>service_entity_id=light.Ceiling,light.Wall
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Turn the lights Ceiling and Wall on and turn them red.
|
||||||
|
</span><span class='line'>execute_service=light.turn_on
|
||||||
|
</span><span class='line'>service_entity_id=light.Ceiling,light.Wall
|
||||||
|
</span><span class='line'>service_data={"rgb_color": [255, 0, 0]}
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'># Notify the user
|
||||||
|
</span><span class='line'>execute_service=notify.notify
|
||||||
|
</span><span class='line'>service_data={"message":"YAY"}</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Putting it all together</h2>
|
||||||
|
|
||||||
|
<p>For every combination of a trigger and an action we will have to combine the configuration lines and add it to an <code>automation</code> component entry in <code>home-assistant.conf</code>. You can add an optional <code>alias</code> key to the configuration to make the logs more understandable. To setup multiple entries, append 2, 3 etc to the section name. An example of a <code>home-assistant.conf</code> file:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
<span class='line-number'>11</span>
|
||||||
|
<span class='line-number'>12</span>
|
||||||
|
<span class='line-number'>13</span>
|
||||||
|
<span class='line-number'>14</span>
|
||||||
|
<span class='line-number'>15</span>
|
||||||
|
<span class='line-number'>16</span>
|
||||||
|
<span class='line-number'>17</span>
|
||||||
|
<span class='line-number'>18</span>
|
||||||
|
<span class='line-number'>19</span>
|
||||||
|
<span class='line-number'>20</span>
|
||||||
|
<span class='line-number'>21</span>
|
||||||
|
<span class='line-number'>22</span>
|
||||||
|
<span class='line-number'>23</span>
|
||||||
|
<span class='line-number'>24</span>
|
||||||
|
<span class='line-number'>25</span>
|
||||||
|
<span class='line-number'>26</span>
|
||||||
|
<span class='line-number'>27</span>
|
||||||
|
<span class='line-number'>28</span>
|
||||||
|
<span class='line-number'>29</span>
|
||||||
|
<span class='line-number'>30</span>
|
||||||
|
<span class='line-number'>31</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[automation]
|
||||||
|
</span><span class='line'>alias=Sunset notification
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=sun.sun
|
||||||
|
</span><span class='line'>state_from=above_horizon
|
||||||
|
</span><span class='line'>state_to=below_horizon
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>execute_service=notify.notify
|
||||||
|
</span><span class='line'>service_data={"message":"The sun has set"}
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>[automation 2]
|
||||||
|
</span><span class='line'>alias=Turn lights off at 8am in the morning
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>platform=time
|
||||||
|
</span><span class='line'>time_hours=8
|
||||||
|
</span><span class='line'>time_minutes=0
|
||||||
|
</span><span class='line'>time_seconds=0
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>execute_service=light.turn_off
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>[automation 3]
|
||||||
|
</span><span class='line'>alias=Turn lights in study room on when Paulus comes home
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=device_tracker.Paulus_OnePlus
|
||||||
|
</span><span class='line'>state_from=not_home
|
||||||
|
</span><span class='line'>state_to=home
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>execute_service=homeassistant.turn_on
|
||||||
|
</span><span class='line'>service_entity_id=group.Study_Room</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
All configuration entries have to be sequential. If you have <code>[automation]</code>, <code>[automation 2]</code> and <code>[automation 4]</code> then the last one will not be processed.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
169
components/browser.html
Normal file
169
components/browser.html
Normal file
|
@ -0,0 +1,169 @@
|
||||||
|
<!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>Browser - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup the browser component with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Browser">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/browser.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup the browser component with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Browser
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The browser component provides a service to open urls in the default browser on the host machine.</p>
|
||||||
|
|
||||||
|
<p>To load this component, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[browser]</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Service <code>browser/browse_url</code></h4>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>url</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> The url to open</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
231
components/chromecast.html
Normal file
231
components/chromecast.html
Normal file
|
@ -0,0 +1,231 @@
|
||||||
|
<!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>Chromecast - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup your chromecasts with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Chromecast">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/chromecast.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup your chromecasts with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Chromecast
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
Chromecasts have recently received a new API which is not yet supported by Home Assistant. Therefore we currently can only detect them and do not know what they are up to.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<p>Interacts with Chromecasts on your network. Will be automatically discovered if you setup <a href="/components/discovery.html">the discovery component</a>. Can also be forced to load by adding the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[chromecast]</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Services</h2>
|
||||||
|
|
||||||
|
<h3>Media control services</h3>
|
||||||
|
|
||||||
|
<p>Available services: <code>turn_off</code>, <code>volume_up</code>, <code>volume_down</code>, <code>media_play_pause</code>, <code>media_play</code>, <code>media_pause</code>, <code>media_next_track</code></p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>entity_id</code> </td>
|
||||||
|
<td> yes </td>
|
||||||
|
<td> Target a specific chromecast. Defaults to all.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Media play services</h3>
|
||||||
|
|
||||||
|
<p>There are three services to start playing YouTube video’s on the ChromeCast.</p>
|
||||||
|
|
||||||
|
<h4>Service <code>chromecast/play_youtube_video</code></h4>
|
||||||
|
|
||||||
|
<p>Service to start playing a YouTube vide on the Chromecast.</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>entity_id</code> </td>
|
||||||
|
<td> yes </td>
|
||||||
|
<td> Target a specific chromecast. Defaults to all.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>video</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> YouTube video to be played, ie. <code>L0MK7qz13bU</code></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Service <code>chromecast/start_fireplace</code> and <code>chromecast/start_epic_sax</code></h4>
|
||||||
|
|
||||||
|
<p>Will either start a fireplace or Epic Sax Guy 10h on the Chromecast.</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>entity_id</code> </td>
|
||||||
|
<td> yes </td>
|
||||||
|
<td> Target a specific chromecast. Defaults to all.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
172
components/device_sun_light_trigger.html
Normal file
172
components/device_sun_light_trigger.html
Normal file
|
@ -0,0 +1,172 @@
|
||||||
|
<!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>Automating your lights - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to automate your lights with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Automating your lights">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/device_sun_light_trigger.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to automate your lights with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Automating Your Lights
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Home Assistant has a built-in component called <code>device_sun_light_trigger</code> to help you automate your lights. The component will:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Fade in the lights when the sun is setting and there are people home</li>
|
||||||
|
<li>Turn on the lights when people get home after the sun has set</li>
|
||||||
|
<li>Turn off the lights when all people leave the house</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>This component requires the components <a href="">sun</a>, <a href="/components/device_tracker.html">device_tracker</a> and <a href="/components/light.html">light</a> to be enabled.</p>
|
||||||
|
|
||||||
|
<p>To enable this component, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[device_sun_light_trigger]
|
||||||
|
</span><span class='line'># Specify a specific light/group of lights that has to be turned on
|
||||||
|
</span><span class='line'>light_group=group.living_room
|
||||||
|
</span><span class='line'># Specify which light profile to use when turning lights on
|
||||||
|
</span><span class='line'>light_profile=relax
|
||||||
|
</span><span class='line'># Disable lights being turned off when everybody leaves the house
|
||||||
|
</span><span class='line'>disable_turn_off=1</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>The options <code>light_group</code>, <code>light_profile</code> and <code>disable_turn_off</code> are optional.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
181
components/device_tracker.html
Normal file
181
components/device_tracker.html
Normal file
|
@ -0,0 +1,181 @@
|
||||||
|
<!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>Device tracking - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup device tracking within Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Device tracking">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/device_tracker.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup device tracking within Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Device Tracking
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Home Assistant can get information from your wireless router to track which devices are connected. There are three different types of supported wireless routers: tomato, netgear and luci (OpenWRT). To get started add the following lines to your <code>home-assistant.conf</code> (example for Netgear):</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[device_tracker]
|
||||||
|
</span><span class='line'>platform=netgear
|
||||||
|
</span><span class='line'>host=192.168.1.1
|
||||||
|
</span><span class='line'>username=admin
|
||||||
|
</span><span class='line'>password=MY_PASSWORD</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note' data-title='on Tomato'>
|
||||||
|
Tomato requires an extra config variable called `http_id`. The value can be obtained by logging in to the Tomato admin interface and search for `http_id` in the page source code.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note' data-title='on Luci'>
|
||||||
|
Before the Luci scanner can be used you have to install the luci RPC package on OpenWRT: <code>opkg install luci-mod-rpc</code>.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Once tracking, the <code>device_tracker</code> component will maintain a file in your config dir called <code>known_devices.csv</code>. Edit this file to adjust which devices have to be tracked. Here you can also setup a url for each device to be used as the entity picture.</p>
|
||||||
|
|
||||||
|
<p>As an alternative to the router-based device tracking, it is possible to directly scan the network for devices by using nmap. The IP addresses to scan can be specified in any format that nmap understands, including the network-prefix notation (<code>192.168.1.1/24</code>) and the range notation (<code>192.168.1.1-255</code>).</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[device_tracker]
|
||||||
|
</span><span class='line'>platform=nmap_tracker
|
||||||
|
</span><span class='line'>hosts=192.168.1.1/24</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
160
components/discovery.html
Normal file
160
components/discovery.html
Normal file
|
@ -0,0 +1,160 @@
|
||||||
|
<!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>Discovery - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup Home Assistant to discover new devices.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Discovery">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/discovery.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup Home Assistant to discover new devices.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Discovery
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Home Assistant can discover and automatically configure zeroconf/mDNS and uPnP devices on your network. Currently the <code>discovery</code> component can detect:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Google Chromecast</li>
|
||||||
|
<li>Belkin WeMo switches</li>
|
||||||
|
<li>Philips Hue</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>It will be able to add Google Chreomcasts and Belkin WeMo switches automatically, for Philips Hue it will require some configuration from the user.</p>
|
||||||
|
|
||||||
|
<p>To load this component, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[discovery]</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>If you are developing a new platform, please read <a href="/developers/add_new_platform.html#discovery">how to make your platform discoverable</a>.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
173
components/downloader.html
Normal file
173
components/downloader.html
Normal file
|
@ -0,0 +1,173 @@
|
||||||
|
<!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>Downloader - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup the downloader component with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Downloader">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/downloader.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup the downloader component with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Downloader
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The <code>downloader</code> component provides a service to download files. It will raise an error and not continue to set itself up when the download directory does not exist.</p>
|
||||||
|
|
||||||
|
<p>To enable it, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[downloader]
|
||||||
|
</span><span class='line'>download_dir=downloads</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Service <code>downloader/download_file</code></h4>
|
||||||
|
|
||||||
|
<p>Download the specified url.</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>url</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> The url of the file to download.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
|
@ -95,142 +95,28 @@
|
||||||
<hr class="divider">
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
<h3>sun</h3>
|
<p>Home Assistant consists of the following built-in components:</p>
|
||||||
|
|
||||||
<p>Tracks the state of the sun and when the next sun rising and setting will occur.</p>
|
|
||||||
|
|
||||||
<p>Depends on: config variables common/latitude and common/longitude</p>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Maintains state of <code>weather.sun</code> including attributes <code>next_rising</code> and <code>next_setting</code></li>
|
<li><p><a href="/components/automation.html">Automation</a></p></li>
|
||||||
|
<li><p><a href="/components/browser.html">Browser</a></p></li>
|
||||||
|
<li><p><a href="/components/chromecast.html">Chromecast</a></p></li>
|
||||||
|
<li><p><a href="/components/device_sun_light_trigger.html">Device sun light trigger</a></p></li>
|
||||||
|
<li><p><a href="/components/device_tracker.html">Device tracker</a></p></li>
|
||||||
|
<li><p><a href="/components/discovery.html">Discovery</a></p></li>
|
||||||
|
<li><p><a href="/components/downloader.html">Downloader</a></p></li>
|
||||||
|
<li><p><a href="/components/keyboard.html">Keyboard</a></p></li>
|
||||||
|
<li><p><a href="/components/light.html">Light</a></p></li>
|
||||||
|
<li><p><a href="/components/notify.html">Notify</a></p></li>
|
||||||
|
<li><p><a href="/components/simple_alarm.html">Simple alarm</a></p></li>
|
||||||
|
<li><p><a href="/components/sun.html">Sun</a></p></li>
|
||||||
|
<li><p><a href="/components/switch.html">Switch</a></p></li>
|
||||||
|
<li><p><a href="/components/tellstick_sensor.html">Tellstick sensor</a></p></li>
|
||||||
|
<li><p><a href="/components/thermostat.html">Thermostat</a></p></li>
|
||||||
|
<li><p><a href="/components/wink.html">Wink</a></p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<h3>device_tracker</h3>
|
|
||||||
|
|
||||||
<p>Keeps track of which devices are currently home.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Sets the state per device and maintains a combined state called <code>all_devices</code>.</li>
|
|
||||||
<li>Keeps track of known devices in the file <code>config/known_devices.csv</code>.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Supported platforms:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><code>netgear</code> for Netgear routers that support their SOAP API</li>
|
|
||||||
<li><code>luci</code> for routers running OpenWRT</li>
|
|
||||||
<li><code>tomato</code> for routers running Tomato</li>
|
|
||||||
<li><code>nmap</code> for using nmap to scan IP ranges on the network</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>light</h3>
|
|
||||||
|
|
||||||
<p>Keeps track which lights are turned on and can control the lights. It has <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/light/light_profiles.csv">4 built-in light profiles</a> which you’re able to extend by putting a light_profiles.csv file in your config dir.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Maintains a state per light and a combined state <code>all_light</code>.</li>
|
|
||||||
<li>Registers services <code>light/turn_on</code> and <code>light/turn_off</code> to control the lights.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Optional service data:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><code>entity_id</code> - only act on specified lights. Else targets all.</li>
|
|
||||||
<li><code>transition_seconds</code> - seconds to take to switch to new state.</li>
|
|
||||||
<li><code>profile</code> - which light profile to use.</li>
|
|
||||||
<li><code>xy_color</code> - two comma seperated floats that represent the color in XY</li>
|
|
||||||
<li><code>rgb_color</code> - three comma seperated integers that represent the color in RGB</li>
|
|
||||||
<li><code>brightness</code> - integer between 0 and 255 for how bright the color should be</li>
|
|
||||||
<li><code>flash</code> - tell light to flash, can be either value <code>short</code> or <code>long</code></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Supported platforms:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><code>hue</code> for Philips Hue</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>switch</h3>
|
|
||||||
|
|
||||||
<p>Keeps track which switches are in the network, their state and allows you to control them.</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Maintains a state per switch and a combined state <code>all_switches</code>.</li>
|
|
||||||
<li>Registers services <code>switch/turn_on</code> and <code>switch/turn_off</code> to control switches.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Optional service data:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><code>entity_id</code> - only act on specific switch. Else targets all.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Supported platforms:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><code>wemo</code> for Belkin WeMo switches</li>
|
|
||||||
<li><code>tellstick</code> for Tellstick switches</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>device_sun_light_trigger</h3>
|
|
||||||
|
|
||||||
<p>Turns lights on or off using a light control component based on state of the sun and devices that are home.</p>
|
|
||||||
|
|
||||||
<p>Depends on: light control, track_sun, device_tracker</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Turns lights off when all devices leave home.</li>
|
|
||||||
<li>Turns lights on when a device is home while sun is setting.</li>
|
|
||||||
<li>Turns lights on when a device gets home after sun set.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>chromecast</h3>
|
|
||||||
|
|
||||||
<p>Registers 7 services to control playback on a Chromecast: <code>turn_off</code>, <code>volume_up</code>, <code>volume_down</code>, <code>media_play_pause</code>, <code>media_play</code>, <code>media_pause</code>, <code>media_next_track</code>.</p>
|
|
||||||
|
|
||||||
<p>Registers three services to start playing YouTube video’s on the ChromeCast.</p>
|
|
||||||
|
|
||||||
<p>Service <code>chromecast/play_youtube_video</code> starts playing the specified video on the YouTube app on the ChromeCast. Specify video using <code>video</code> in service_data.</p>
|
|
||||||
|
|
||||||
<p>Service <code>chromecast/start_fireplace</code> will start a YouTube movie simulating a fireplace and the <code>chromecast/start_epic_sax</code> service will start playing Epic Sax Guy 10h version.</p>
|
|
||||||
|
|
||||||
<h3>keyboard</h3>
|
|
||||||
|
|
||||||
<p>Registers services that will simulate key presses on the keyboard. It currently offers the following Buttons as a Service (BaaS): <code>keyboard/volume_up</code>, <code>keyboard/volume_down</code> and <code>keyboard/media_play_pause</code>
|
|
||||||
This actor depends on: PyUserInput</p>
|
|
||||||
|
|
||||||
<h3>downloader</h3>
|
|
||||||
|
|
||||||
<p>Registers service <code>downloader/download_file</code> that will download files. File to download is specified in the <code>url</code> field in the service data.</p>
|
|
||||||
|
|
||||||
<h3>browser</h3>
|
|
||||||
|
|
||||||
<p>Registers service <code>browser/browse_url</code> that opens <code>url</code> as specified in event_data in the system default browser.</p>
|
|
||||||
|
|
||||||
<h3>tellstick_sensor</h3>
|
|
||||||
|
|
||||||
<p>Shows the values of that sensors that is connected to your Tellstick.</p>
|
|
||||||
|
|
||||||
<h3>simple_alarm</h3>
|
|
||||||
|
|
||||||
<p>Will provide simple alarm functionality. Will flash a light shortly if a known device comes home. Will flash the lights red if the lights turn on while no one is home.</p>
|
|
||||||
|
|
||||||
<p>Depends on device_tracker, light.</p>
|
|
||||||
|
|
||||||
<p>Config options:
|
|
||||||
known_light: entity id of the light/light group to target to flash when a known device comes home
|
|
||||||
unknown_light: entity if of the light/light group to target when a light is turned on while no one is at home.</p>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
159
components/keyboard.html
Normal file
159
components/keyboard.html
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<!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>Keyboard - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to simulate key presses with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Keyboard">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/keyboard.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to simulate key presses with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Keyboard
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The <code>keyboard</code> component simulates key presses on the host machine. It currently offers the following Buttons as a Service (BaaS):</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>keyboard/volume_up</code></li>
|
||||||
|
<li><code>keyboard/volume_down</code></li>
|
||||||
|
<li><code>keyboard/volume_mute</code></li>
|
||||||
|
<li><code>keyboard/media_play_pause</code></li>
|
||||||
|
<li><code>keyboard/media_next_track</code></li>
|
||||||
|
<li><code>keyboard/media_prev_track</code></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>To load this component, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[keyboard]</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
244
components/light.html
Normal file
244
components/light.html
Normal file
|
@ -0,0 +1,244 @@
|
||||||
|
<!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>Lights - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup your lights with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Lights">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/light.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup your lights with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Lights
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>This component allows you to track and control various light bulbs.</p>
|
||||||
|
|
||||||
|
<p>It has <a href="https://github.com/balloob/home-assistant/blob/master/homeassistant/components/light/light_profiles.csv">4 built-in light profiles</a> which you’re able to extend by putting a <code>light_profiles.csv</code> file in your config dir.</p>
|
||||||
|
|
||||||
|
<p>It supports the following platforms:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>hue</code> for Philips Hue</li>
|
||||||
|
<li><code>wink</code> for Wink</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Preferred way to setup the Philips Hue platform is through the <a href="/components/discovery.html">the discovery component</a>. For the Wink light platform enable <a href="/components/wink.html">the wink component</a>.</p>
|
||||||
|
|
||||||
|
<p>If you really feel like enabling the light component directly, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[light]
|
||||||
|
</span><span class='line'>platform=hue</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
The light component supports multiple entries in <code>home-assistant.conf</code> by appending a sequential number to the section: <code>[light 2]</code>, <code>[light 3]</code> etc.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Service <code>light.turn_on</code></h3>
|
||||||
|
|
||||||
|
<p>Turns one or multiple lights on.</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>entity_id</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Only act on specified lights. Else targets all.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>transition_seconds</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Seconds to take to switch to new state.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>profile</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Which light profile to use.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>xy_color</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Two comma seperated floats that represent the color in XY</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>rgb_color</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Three comma seperated integers that represent the color in RGB</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>brightness</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Integer between 0 and 255 for how bright the color should be</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>flash</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Tell light to flash, can be either value <code>short</code> or <code>long</code></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Service <code>light.turn_off</code></h3>
|
||||||
|
|
||||||
|
<p>Turns one or multiple lights off.</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Service data attribute </th>
|
||||||
|
<th> Optional </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>entity_id</code> </td>
|
||||||
|
<td> no </td>
|
||||||
|
<td> Only act on specified lights. Else targets all.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
183
components/notify.html
Normal file
183
components/notify.html
Normal file
|
@ -0,0 +1,183 @@
|
||||||
|
<!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>Notifications - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to add user notifications to Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Notifications">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/notify.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to add user notifications to Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Notifications
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>One of the things most people want at some point in their home automation is to get notified when certain events occur. For this reason there is a <code>notify</code> component in Home Assistant.</p>
|
||||||
|
|
||||||
|
<p>Home Assistant currently supports the awesome <a href="https://www.pushbullet.com/">PushBullet</a>, a free service to send information between your phones, browsers and friends.</p>
|
||||||
|
|
||||||
|
<p>To add PushBullet to your installation, add the following to your <code>home-assistant.conf</code> file:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[notify]
|
||||||
|
</span><span class='line'>platform=pushbullet
|
||||||
|
</span><span class='line'>api_key=YOUR_API_KEY</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Automation example</h3>
|
||||||
|
|
||||||
|
<p>Notifications are great to be used within Home Automation. Below is a an example configuration that you can add to your <code>home-assistant.conf</code> to be notified when the sun sets.</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
<span class='line-number'>9</span>
|
||||||
|
<span class='line-number'>10</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[automation]
|
||||||
|
</span><span class='line'>alias=Sun set notification
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>platform=state
|
||||||
|
</span><span class='line'>state_entity_id=sun.sun
|
||||||
|
</span><span class='line'>state_from=above_horizon
|
||||||
|
</span><span class='line'>state_to=below_horizon
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>execute_service=notify.notify
|
||||||
|
</span><span class='line'>service_data={"message":"YAY"}</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>For more automation examples, see the <a href="/components/automation.html">getting started with automation page</a>.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
159
components/simple_alarm.html
Normal file
159
components/simple_alarm.html
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<!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>Intruder Alerts - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to receive intruder alerts from Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Intruder Alerts">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/simple_alarm.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to receive intruder alerts from Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Intruder Alerts
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The component <code>simple_alarm</code> is capable of detecting intruders. It does so by checking if lights are being turned on while there is no one at home. When this happens it will turn the lights red, flash them for 30 seconds and send a message via <a href="/components/notify.html">the notifiy component</a>. It will also flash a specific light when a known person comes home.</p>
|
||||||
|
|
||||||
|
<p>This component depends on the compoments <a href="/components/device_tracker.html">device_tracker</a> and <a href="/components/light.html">light</a> being setup.</p>
|
||||||
|
|
||||||
|
<p>To set it up, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
<span class='line-number'>5</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[simple_alarm]
|
||||||
|
</span><span class='line'># Which light/light group has to flash when a known device comes home
|
||||||
|
</span><span class='line'>known_light=light.Bowl
|
||||||
|
</span><span class='line'># Which light/light group has to flash red when light turns on while no one home
|
||||||
|
</span><span class='line'>unknown_light=group.living_room</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
204
components/sun.html
Normal file
204
components/sun.html
Normal file
|
@ -0,0 +1,204 @@
|
||||||
|
<!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>Tracking the Sun - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to track the sun within Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Tracking the Sun">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/sun.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to track the sun within Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Tracking the Sun
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The <code>sun</code> component will use your current location to track if the sun is above or below the horizon. This is a common ingredient within Home Automation.</p>
|
||||||
|
|
||||||
|
<p>To set it up, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[homeassistant]
|
||||||
|
</span><span class='line'>latitude=32.87336
|
||||||
|
</span><span class='line'>longitude=-117.22743</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/screenshots/more-info-dialog-sun.png' />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Implementation Details</h3>
|
||||||
|
|
||||||
|
<h4>Maintains entity <code>sun.sun</code>.</h4>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> Possible state </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>above_horizon</code> </td>
|
||||||
|
<td> When the sun is above the horizon.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>below_horizon</code> </td>
|
||||||
|
<td> When the sun is below the horizon.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> State Attributes </th>
|
||||||
|
<th> Description </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td> <code>next_rising</code> </td>
|
||||||
|
<td> Date and time of the next sun rising</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td> <code>nest_setting</code> </td>
|
||||||
|
<td> Date and time of the next sun setting</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
164
components/switch.html
Normal file
164
components/switch.html
Normal file
|
@ -0,0 +1,164 @@
|
||||||
|
<!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>Lights - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup your lights with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Lights">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/switch.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup your lights with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Lights
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Keeps track which switches are in the network, their state and allows you to control them.</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Maintains a state per switch and a combined state <code>all_switches</code>.</li>
|
||||||
|
<li>Registers services <code>switch/turn_on</code> and <code>switch/turn_off</code> to control switches.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Optional service data:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>entity_id</code> - only act on specific switch. Else targets all.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Supported platforms:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>wemo</code> for Belkin WeMo switches</li>
|
||||||
|
<li><code>tellstick</code> for Tellstick switches</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
156
components/tellstick_sensor.html
Normal file
156
components/tellstick_sensor.html
Normal file
|
@ -0,0 +1,156 @@
|
||||||
|
<!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>Tellstick Sensors - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup tellstick sensors with Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Tellstick Sensors">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/tellstick_sensor.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup tellstick sensors with Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Tellstick Sensors
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Shows the values of that sensors that is connected to your Tellstick.</p>
|
||||||
|
|
||||||
|
<p>To enable it, add the following lines to your <code>home-assistant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[tellstick_sensor]</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
This component is going to be merged into the sensor component.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
162
components/thermostat.html
Normal file
162
components/thermostat.html
Normal file
|
@ -0,0 +1,162 @@
|
||||||
|
<!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>Adding thermostats - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup thermostats tracking within Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Adding thermostats">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/thermostat.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup thermostats tracking within Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Adding Thermostats
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Thermostats offer Home Assistant a peek into the current and target temperature in a house. Some thermostats will also offer an away mode that will lower use of heating/cooling. The only supported thermostat right now is the Nest thermostat.</p>
|
||||||
|
|
||||||
|
<p>To set it up, add the following information to your <code>home-assistant.conf</code> file:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[thermostat]
|
||||||
|
</span><span class='line'>platform=nest
|
||||||
|
</span><span class='line'>username=myemail@mydomain.com
|
||||||
|
</span><span class='line'>password=mypassword</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/screenshots/nest-thermostat-card.png' />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
169
components/wink.html
Normal file
169
components/wink.html
Normal file
|
@ -0,0 +1,169 @@
|
||||||
|
<!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>Wink hub - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to setup the Wink hub within Home Assistant.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Wink hub">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/wink.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to setup the Wink hub within Home Assistant.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Wink Hub
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Wink is a home automation hub that can control a whole wide range of devices on the market. Or, as they say in their own words:</p>
|
||||||
|
|
||||||
|
<blockquote>Wink offers one, quick and simple way to connect people with the products they rely on every day in their home.</blockquote>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Home Assistant integrates the Wink hub and allows you to get the status and control connected switches, lights and sensors.</p>
|
||||||
|
|
||||||
|
<p>To get started with the Wink API, you will first need to get yourself an API access token. Because it is very difficult right now to get access to their API, John McLaughlin has created the form below to get you one.</p>
|
||||||
|
|
||||||
|
<iframe src="https://winkbearertoken.appspot.com"
|
||||||
|
style='width: 100%; height: 200px; border: 0; margin: 0 auto 15px; border-left: 2px solid #049cdb; padding-left: 15px;'></iframe>
|
||||||
|
|
||||||
|
|
||||||
|
<p>After you have gotten your access token, add the following to your <code>home-assitant.conf</code>:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[wink]
|
||||||
|
</span><span class='line'>access_token=YOUR_ACCESS_TOKEN</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>This will connect to the Wink hub and automatically set up any lights, switches and sensors that it finds.</p>
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
The Wink hub can only be accessed via the cloud. This means it requires an active internet connection and you will experience delays when controlling devices (~3s) and getting an updated device state (~15s).
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
|
@ -96,7 +96,23 @@
|
||||||
|
|
||||||
|
|
||||||
<p>Home Assistant offers <a href="/components/">built-in components</a> but it
|
<p>Home Assistant offers <a href="/components/">built-in components</a> but it
|
||||||
is easy to built your own.</p>
|
is easy to built your own. If you are the kind of person that likes to learn from code rather then guide then head over to the <a href="https://github.com/balloob/home-assistant/tree/master/config/custom_components"><code>config/custom_compnents</code></a> folder in the repository for two example components.</p>
|
||||||
|
|
||||||
|
<p>The first is <a href="https://github.com/balloob/home-assistant/blob/master/config/custom_components/hello_world.py">hello_world.py</a>, which is the classic Hello World example for Home Assistant. The second one is <a href="https://github.com/balloob/home-assistant/blob/master/config/custom_components/example.py">example.py</a> which showcases various ways you can tap into Home Assistant to be notified when certain events occur.</p>
|
||||||
|
|
||||||
|
<p>If you want to load these components in Home Assistant, add the following lines to your <code>home-assistant.conf</code> file:</p>
|
||||||
|
|
||||||
|
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
</pre></td><td class='code'><pre><code class=''><span class='line'>[hello_world]
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'>[example]
|
||||||
|
</span><span class='line'>target=TARGET_ENTITY</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p><code>TARGET_ENTITY</code> should be one of your devices that can be turned on and off, ie a light or a switch. Example value could be <code>light.Ceiling</code> or <code>switch.AC</code> (if you have these devices with those names).</p>
|
||||||
|
|
||||||
<h2>Loading components</h2>
|
<h2>Loading components</h2>
|
||||||
|
|
||||||
|
|
|
@ -95,22 +95,42 @@
|
||||||
<hr class="divider">
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
<p>Installing Home Assistant and running it is easy. Make sure you have <a href="https://www.python.org/downloads/">Python 3</a> installed and execute the following code in your console:</p>
|
<p>Installing and running Home Assistant is easy. Make sure you have <a href="https://www.python.org/downloads/">Python 3.4</a> and <a href="http://git-scm.com/downloads">git</a> installed and execute the following code in a console:</p>
|
||||||
|
|
||||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
<span class='line-number'>2</span>
|
<span class='line-number'>2</span>
|
||||||
<span class='line-number'>3</span>
|
<span class='line-number'>3</span>
|
||||||
<span class='line-number'>4</span>
|
<span class='line-number'>4</span>
|
||||||
<span class='line-number'>5</span>
|
|
||||||
</pre></td><td class='code'><pre><code class='bash'><span class='line'>git clone --recursive https://github.com/balloob/home-assistant.git
|
</pre></td><td class='code'><pre><code class='bash'><span class='line'>git clone --recursive https://github.com/balloob/home-assistant.git
|
||||||
</span><span class='line'><span class="nb">cd </span>home-assistant
|
</span><span class='line'><span class="nb">cd </span>home-assistant
|
||||||
</span><span class='line'>pip3 install -r requirements.txt
|
</span><span class='line'>python3 -m pip install -r requirements.txt
|
||||||
</span><span class='line'>
|
</span><span class='line'>python3 -m homeassistant --open-ui
|
||||||
</span><span class='line'>python3 -m homeassistant
|
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
<p>This will start the Home Assistant server and create an initial configuration file <code>config/home-assistant.conf</code> that is setup for demo mode. It will launch its web interface on <a href="http://127.0.0.1:8123">http://127.0.0.1:8123</a>. The default password is ‘password’.</p>
|
<p>Running these commands will:</p>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Download Home Assistant</li>
|
||||||
|
<li>Navigate to downloaded files</li>
|
||||||
|
<li>Install the dependencies</li>
|
||||||
|
<li>Launch Home Assistant and serve web interface on <a href="http://localhost:8123">http://localhost:8123</a></li>
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
|
<p>If you run into any issues, please see the <a href="/getting-started/troubleshooting.html">troubleshooting page</a>.</p>
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
You can run Home Assistant in demo mode by appending <code>--demo-mode</code> to line 4.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
If you want to update to the latest version in the future, run: <code>scripts/update</code>.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<p>If you’re using Docker, you can use</p>
|
<p>If you’re using Docker, you can use</p>
|
||||||
|
|
||||||
|
@ -119,82 +139,65 @@
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
<p>After you got the demo mode running it is time to customize your configuration and enable some <a href="/components/">built-in components</a>. See <a href="https://github.com/balloob/home-assistant/blob/master/config/home-assistant.conf.example"><code>/config/home-assistant.conf.example</code></a> for an example configuration.</p>
|
<h2>Configuring Home Assistant</h2>
|
||||||
|
|
||||||
|
<p>The configuration for Home Assistant lives by default in the <code>config</code> folder. The file <code>home-assistant.conf</code> is the main file that contains which components will be loaded and what their configuration is. An example configuration file is located at <a href="https://github.com/balloob/home-assistant/blob/master/config/home-assistant.conf.example"><code>config/home-assistant.conf.example</code></a>.</p>
|
||||||
|
|
||||||
|
<p>When launched for the first time, Home Assistant will write a default configuration enabling the web interface and device discovery. It can take up to a minute for your devices to be discovered and show up in the interface.</p>
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
You will have to restart Home Assistant for changes in <code>home-assistant.conf</code> to take effect.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Password protecting the web interface</h3>
|
||||||
|
|
||||||
|
<p>The first thing you want to add is a password for the web interface. Use your favourite text editor to open the file <code>/config/home-assistant.conf</code>. Look for the line that says <code>[http]</code> and add the line <code>api_password=YOUR_PASSWORD</code> below. Your configuration should now look like this:</p>
|
||||||
|
|
||||||
|
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||||
|
<span class='line-number'>2</span>
|
||||||
|
<span class='line-number'>3</span>
|
||||||
|
<span class='line-number'>4</span>
|
||||||
|
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="o">[</span>http<span class="o">]</span>
|
||||||
|
</span><span class='line'><span class="nv">api_password</span><span class="o">=</span>YOUR_PASSWORD
|
||||||
|
</span><span class='line'>
|
||||||
|
</span><span class='line'><span class="o">[</span>discovery<span class="o">]</span>
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in automatically.
|
You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in automatically.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Adding devices and services</h3>
|
||||||
|
|
||||||
|
<p>Home Assistant will be able to automatically discover and configure any Google Chromecasts, Belkin WeMo switches and Philips Hue bridges in your network if you have <a href="/components/discovery.html">the discovery component</a> enabled (which is by default).</p>
|
||||||
|
|
||||||
|
<p>Not all devices can be discovered, so if you hae any of the following devices or services, please see their respective pages for installation instructions:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="/components/thermostat.html">Nest thermostat</a></li>
|
||||||
|
<li><a href="/components/wink.html">Wink hub</a></li>
|
||||||
|
<li><a href="/components/notify.html">PushBullet</a></li>
|
||||||
|
<li><a href="/components/device_tracker.html">Device tracking</a></li>
|
||||||
|
<li><a href="/components/sun.html">Sun</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">Add support for your own device or service</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<p class='note'>
|
<h3>Setting up Home Automation</h3>
|
||||||
For the light and switch component, you can specify multiple platforms by using sequential sections: [switch], [switch 2], [switch 3] etc
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
<p>When all your devices are set up it’s time to put the cherry on the pie: automation. There are many ways to automate your home with Home Assistant so we have divided it into a couple of topics:</p>
|
||||||
|
|
||||||
<h3>Philips Hue</h3>
|
<ul>
|
||||||
|
<li><a href="/components/device_sun_light_trigger.html">Automatic light control based on the sun and if people are home</a> (built-in component)</li>
|
||||||
<p>To get Philips Hue working you will have to connect Home Assistant to the Hue bridge.</p>
|
<li><a href="/components/simple_alarm.html">Intruder alerts</a> (built-in component)</li>
|
||||||
|
<li><a href="/components/automation.html">Setup your own automation rules</a> (using configuration file)</li>
|
||||||
<p>Run the following command from your config dir and follow the instructions:</p>
|
<li><a href="/developers/creating_components.html">Create your own automation component</a> (writing Python code)</li>
|
||||||
|
</ul>
|
||||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
|
||||||
</pre></td><td class='code'><pre><code class='bash'><span class='line'>python3 -m phue --host HUE_BRIDGE_IP_ADDRESS --config-file-path phue.conf
|
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
|
||||||
|
|
||||||
|
|
||||||
<p>After that add the following lines to your <code>home-assistant.conf</code>:</p>
|
|
||||||
|
|
||||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
|
||||||
<span class='line-number'>2</span>
|
|
||||||
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="o">[</span>light<span class="o">]</span>
|
|
||||||
</span><span class='line'><span class="nv">platform</span><span class="o">=</span>hue
|
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Wireless router</h3>
|
|
||||||
|
|
||||||
<p>Your wireless router is used to track which devices are connected. Three different types of wireless routers are currently supported: tomato, netgear and luci (OpenWRT). To get started add the following lines to your <code>home-assistant.conf</code> (example for Netgear):</p>
|
|
||||||
|
|
||||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
|
||||||
<span class='line-number'>2</span>
|
|
||||||
<span class='line-number'>3</span>
|
|
||||||
<span class='line-number'>4</span>
|
|
||||||
<span class='line-number'>5</span>
|
|
||||||
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="o">[</span>device_tracker<span class="o">]</span>
|
|
||||||
</span><span class='line'><span class="nv">platform</span><span class="o">=</span>netgear
|
|
||||||
</span><span class='line'><span class="nv">host</span><span class="o">=</span>192.168.1.1
|
|
||||||
</span><span class='line'><span class="nv">username</span><span class="o">=</span>admin
|
|
||||||
</span><span class='line'><span class="nv">password</span><span class="o">=</span>MY_PASSWORD
|
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class='note' data-title='on Tomato'>
|
|
||||||
Tomato requires an extra config variable called `http_id`. The value can be obtained by logging in to the Tomato admin interface and search for `http_id` in the page source code.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class='note' data-title='on Luci'>
|
|
||||||
Before the Luci scanner can be used you have to install the luci RPC package on OpenWRT: <code>opkg install luci-mod-rpc</code>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Once tracking, the <code>device_tracker</code> component will maintain a file in your config dir called <code>known_devices.csv</code>. Edit this file to adjust which devices have to be tracked. Here you can also setup a url for each device to be used as the entity picture.</p>
|
|
||||||
|
|
||||||
<p>As an alternative to the router-based device tracking, it is possible to directly scan the network for devices by using nmap. The IP addresses to scan can be specified in any format that nmap understands, including the network-prefix notation (<code>192.168.1.1/24</code>) and the range notation (<code>192.168.1.1-255</code>).</p>
|
|
||||||
|
|
||||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
|
||||||
<span class='line-number'>2</span>
|
|
||||||
<span class='line-number'>3</span>
|
|
||||||
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="o">[</span>device_tracker<span class="o">]</span>
|
|
||||||
</span><span class='line'><span class="nv">platform</span><span class="o">=</span>nmap_tracker
|
|
||||||
</span><span class='line'><span class="nv">hosts</span><span class="o">=</span>192.168.1.1/24
|
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
152
getting-started/troubleshooting.html
Normal file
152
getting-started/troubleshooting.html
Normal file
|
@ -0,0 +1,152 @@
|
||||||
|
<!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>Troubleshooting - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Common problems and their solutions.">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<link rel="canonical" href="https://home-assistant.io">
|
||||||
|
|
||||||
|
<meta property="fb:app_id" content="338291289691179">
|
||||||
|
<meta property="og:title" content="Troubleshooting">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/getting-started/troubleshooting.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Common problems and their solutions.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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='/images/favicon-192x192.png'> Home Assistant
|
||||||
|
</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="/developers/">Developers</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||||
|
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||||
|
<li><a href="/developers/creating_components.html">
|
||||||
|
Creating components
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/add_new_platform.html">
|
||||||
|
Adding platform support
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/developers/api.html">Rest API</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="https://groups.google.com/forum/#!forum/home-assistant-dev">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">
|
||||||
|
Troubleshooting
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>Python 3 not correctly installed</p>
|
||||||
|
|
||||||
|
<p>Pip not available
|
||||||
|
<a href="https://pip.pypa.io/en/latest/installing.html#install-pip">https://pip.pypa.io/en/latest/installing.html#install-pip</a></p>
|
||||||
|
|
||||||
|
<p>Common issues when installing Home Assistant:</p>
|
||||||
|
|
||||||
|
<p>Python 3 not the right version</p>
|
||||||
|
|
||||||
|
<p>Dependencies not installed</p>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="grid-wrapper">
|
||||||
|
<div class="grid">
|
||||||
|
<div class="grid__item">
|
||||||
|
<p class="copyright">
|
||||||
|
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a>, <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
BIN
images/screenshots/more-info-dialog-sun.png
Normal file
BIN
images/screenshots/more-info-dialog-sun.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
146
sitemap.xml
146
sitemap.xml
|
@ -27,67 +27,169 @@
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/add_new_platform.html</loc>
|
<loc>https://home-assistant.io/developers/add_new_platform.html</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/api.html</loc>
|
<loc>https://home-assistant.io/developers/api.html</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/architecture.html</loc>
|
<loc>https://home-assistant.io/developers/architecture.html</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/automation.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/browser.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/chromecast.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/creating_components.html</loc>
|
<loc>https://home-assistant.io/developers/creating_components.html</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/device_sun_light_trigger.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/device_tracker.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/discovery.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/downloader.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/frontend.html</loc>
|
<loc>https://home-assistant.io/developers/frontend.html</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/blog/</loc>
|
<loc>https://home-assistant.io/blog/</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://home-assistant.io/blog/archives/</loc>
|
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/</loc>
|
<loc>https://home-assistant.io/</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/components/</loc>
|
<loc>https://home-assistant.io/blog/archives/</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
|
||||||
<priority>0.7</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://home-assistant.io/getting-started/</loc>
|
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/developers/</loc>
|
<loc>https://home-assistant.io/developers/</loc>
|
||||||
<lastmod>2015-01-13T08:35:22-08:00</lastmod>
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/getting-started/</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/keyboard.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/light.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/notify.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/simple_alarm.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/sun.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/switch.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/tellstick_sensor.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/thermostat.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/getting-started/troubleshooting.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/wink.html</loc>
|
||||||
|
<lastmod>2015-01-24T18:05:43-08:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue