Site updated at 2015-03-14 20:04:59 UTC
This commit is contained in:
parent
1c62a5647e
commit
2794cb2ef3
10 changed files with 48 additions and 40 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: branding | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/branding/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<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/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: core | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/core/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: frontend | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/frontend/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: release-notes | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: website | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-03-11T19:36:26-07:00</updated>
|
||||
<updated>2015-03-14T13:03:35-07:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -212,14 +212,22 @@ components within Home Assistant.</p>
|
|||
<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>
|
||||
</pre></td><td class='code'><pre><code class='python'><span class='line'><span class="kn">import</span> <span class="nn">homeassistant.remote</span> <span class="kn">as</span> <span class="nn">remote</span>
|
||||
</span><span class='line'><span class="kn">import</span> <span class="nn">homeassistant.components.http</span> <span class="kn">as</span> <span class="nn">http</span>
|
||||
</span><span class='line'><span class="kn">import</span> <span class="nn">homeassistant.bootstrap</span> <span class="kn">as</span> <span class="nn">bootstrap</span>
|
||||
</span><span class='line'>
|
||||
</span><span class='line'><span class="n">remote_api</span> <span class="o">=</span> <span class="n">remote</span><span class="o">.</span><span class="n">API</span><span class="p">(</span><span class="s">"remote_host_or_ip"</span><span class="p">,</span> <span class="s">"remote_api_password"</span><span class="p">)</span>
|
||||
</span><span class='line'><span class="c"># Location of the Master API: host, password, port.</span>
|
||||
</span><span class='line'><span class="c"># Password and port are optional.</span>
|
||||
</span><span class='line'><span class="n">remote_api</span> <span class="o">=</span> <span class="n">remote</span><span class="o">.</span><span class="n">API</span><span class="p">(</span><span class="s">"127.0.0.1"</span><span class="p">,</span> <span class="s">"password"</span><span class="p">,</span> <span class="mi">8124</span><span class="p">)</span>
|
||||
</span><span class='line'>
|
||||
</span><span class='line'><span class="c"># Initialize slave</span>
|
||||
</span><span class='line'><span class="n">hass</span> <span class="o">=</span> <span class="n">remote</span><span class="o">.</span><span class="n">HomeAssistant</span><span class="p">(</span><span class="n">remote_api</span><span class="p">)</span>
|
||||
</span><span class='line'>
|
||||
</span><span class='line'><span class="n">http</span><span class="o">.</span><span class="n">setup</span><span class="p">(</span><span class="n">hass</span><span class="p">,</span> <span class="s">"my_local_api_password"</span><span class="p">)</span>
|
||||
</span><span class='line'><span class="c"># To add an interface to the slave on localhost:8123</span>
|
||||
</span><span class='line'><span class="n">bootstrap</span><span class="o">.</span><span class="n">setup_component</span><span class="p">(</span><span class="n">hass</span><span class="p">,</span> <span class="s">'frontend'</span><span class="p">)</span>
|
||||
</span><span class='line'>
|
||||
</span><span class='line'><span class="n">hass</span><span class="o">.</span><span class="n">start</span><span class="p">()</span>
|
||||
</span><span class='line'><span class="n">hass</span><span class="o">.</span><span class="n">block_till_stopped</span><span class="p">()</span>
|
||||
|
|
58
sitemap.xml
58
sitemap.xml
|
@ -57,175 +57,175 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/add_new_platform.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/android.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/api.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/architecture.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/automation.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/browser.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/chromecast.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/creating_components.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07: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-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/device_tracker.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/discovery.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/downloader.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/frontend.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/archives/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/developers/</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/keyboard.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/light.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/notify.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/simple_alarm.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/sun.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/switch.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/tellstick_sensor.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/thermostat.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/getting-started/troubleshooting.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/wink.html</loc>
|
||||
<lastmod>2015-03-11T19:36:26-07:00</lastmod>
|
||||
<lastmod>2015-03-14T13:03:35-07:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue