Site updated at 2015-05-10 06:58:26 UTC
This commit is contained in:
parent
74090f6d57
commit
f53c01f50d
39 changed files with 1082 additions and 282 deletions
47
atom.xml
47
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-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
@ -13,6 +13,47 @@
|
||||||
<generator uri="http://octopress.org/">Octopress</generator>
|
<generator uri="http://octopress.org/">Octopress</generator>
|
||||||
|
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<title type="html"><![CDATA[UTC & Time zone awareness]]></title>
|
||||||
|
<link href="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/"/>
|
||||||
|
<updated>2015-05-09T23:08:00-07:00</updated>
|
||||||
|
<id>https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness</id>
|
||||||
|
<content type="html"><![CDATA[<p>I have recently merged code to refactor Home Assistant to use only UTC times internally. A much needed refactor. I’ve added some extra test coverage to time sensitive parts to ensure stability. The code has been live in the dev branch for the last 9 days and will be soon released to the master branch.</p>
|
||||||
|
|
||||||
|
<p>From now on all internal communication will be done in UTC: time changed events, datetime attributes of states, etc. To get the current time in UTC you can call <code>homeassistant.util.dt.utcnow()</code>. This is a timezone aware UTC datetime object. <a href="https://github.com/balloob/home-assistant/blob/dev/homeassistant/util/dt.py"><code>homeassistant.util.dt</code></a> is a new util package with date helpers.</p>
|
||||||
|
|
||||||
|
<p>There is also such a thing as local time. Local time is based on the time zone that you have setup in your <code>configuration.yaml</code>. Local times should only be used for user facing information: logs, frontend and automation settings in <code>configuration.yaml</code>.</p>
|
||||||
|
|
||||||
|
<h3>Setting up your time zone</h3>
|
||||||
|
|
||||||
|
<p>Setting up a time zone happens in <code>configuration.yaml</code>. If you have no time zone setup, it will be auto detected using the existing detection code using <a href="https://freegeoip.net">freegeoip.net</a>. You can find a list of compatible time zones on <a href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Wikipedia</a>.</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='yaml'><span class='line'><span class="l-Scalar-Plain">homeassistant</span><span class="p-Indicator">:</span>
|
||||||
|
</span><span class='line'> <span class="l-Scalar-Plain">time_zone</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">America/Los_Angeles</span>
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Compatibility</h3>
|
||||||
|
|
||||||
|
<p>The changes to the code are mostly backwards compatible. The old <code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> use now internally two new methods: <code>hass.track_utc_time_change</code> and <code>hass.track_point_in_utc_time</code>. The usage of the old methods have not changed and should be backwards compatible.</p>
|
||||||
|
|
||||||
|
<p>This refactor adds a new migration for the database adding a <code>utc_offset</code> column to events and states. This information is currently not used but can prove useful in the future when we start analyzing the historical data.</p>
|
||||||
|
|
||||||
|
<h3>Backwards incompatible stuff</h3>
|
||||||
|
|
||||||
|
<p>All built-in components have been upgraded. The following list is only for people that run custom components:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> will now return a time zone aware datetime object. Python does not allow comparing a naive with an aware datetime object.</li>
|
||||||
|
<li>the sun attributes for rising and setting are now in UTC. The methods <code>sun.next_rising(hass)</code> and <code>sun.next_setting(hass)</code> are backwards compatible, just be careful if you used to read the raw attributes.</li>
|
||||||
|
<li>the API sends all times in UTC. If you use anything else besides the frontend to talk to HA, make sure it handles it differently.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
]]></content>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Release notes for April 25, 2015]]></title>
|
<title type="html"><![CDATA[Release notes for April 25, 2015]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/04/25/release-notes/"/>
|
<link href="https://home-assistant.io/blog/2015/04/25/release-notes/"/>
|
||||||
|
@ -163,7 +204,7 @@ James has also contributed support for integrating Transmission into Home Assist
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Release notes for March 22, 2015]]></title>
|
<title type="html"><![CDATA[Release notes for March 22, 2015]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/03/22/release-notes/"/>
|
<link href="https://home-assistant.io/blog/2015/03/22/release-notes/"/>
|
||||||
<updated>2015-03-22T01:21:00-07:00</updated>
|
<updated>2015-03-22T00:21:00-08:00</updated>
|
||||||
<id>https://home-assistant.io/blog/2015/03/22/release-notes</id>
|
<id>https://home-assistant.io/blog/2015/03/22/release-notes</id>
|
||||||
<content type="html"><![CDATA[<p>A new version of Home Assistant has just been pushed out. It contains bugfixes contributed by <a href="https://github.com/jamespcole">jamespcole</a>, <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/trainman419">trainman419</a> and <a href="https://github.com/balloob">me</a>. It also adds a bunch of great new features:</p>
|
<content type="html"><![CDATA[<p>A new version of Home Assistant has just been pushed out. It contains bugfixes contributed by <a href="https://github.com/jamespcole">jamespcole</a>, <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/trainman419">trainman419</a> and <a href="https://github.com/balloob">me</a>. It also adds a bunch of great new features:</p>
|
||||||
|
|
||||||
|
@ -294,7 +335,7 @@ James Cole has also contributed support for <a href='https://pushover.net/'>the
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Release notes for March 11, 2015]]></title>
|
<title type="html"><![CDATA[Release notes for March 11, 2015]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/03/11/release-notes/"/>
|
<link href="https://home-assistant.io/blog/2015/03/11/release-notes/"/>
|
||||||
<updated>2015-03-11T19:36:00-07:00</updated>
|
<updated>2015-03-11T18:36:00-08:00</updated>
|
||||||
<id>https://home-assistant.io/blog/2015/03/11/release-notes</id>
|
<id>https://home-assistant.io/blog/2015/03/11/release-notes</id>
|
||||||
<content type="html"><![CDATA[<p>It has only been a little over a week since Theodor introduced YAML support for Home Assistant but so much has already happened that it is time for a summary of recent changes. Before mentioning the highlights I want to thank <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/jamespcole">jamespcole</a> and <a href="https://github.com/theolind">theolind</a> for numerous bug fixes, enhancements and new contributions. Thanks!</p>
|
<content type="html"><![CDATA[<p>It has only been a little over a week since Theodor introduced YAML support for Home Assistant but so much has already happened that it is time for a summary of recent changes. Before mentioning the highlights I want to thank <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/jamespcole">jamespcole</a> and <a href="https://github.com/theolind">theolind</a> for numerous bug fixes, enhancements and new contributions. Thanks!</p>
|
||||||
|
|
||||||
|
|
|
@ -211,6 +211,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -234,12 +240,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -273,6 +273,12 @@ This article will try to explain how they all relate.</p>
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -296,12 +302,6 @@ This article will try to explain how they all relate.</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -255,6 +255,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -278,12 +284,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -223,6 +223,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -246,12 +252,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -230,6 +230,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -253,12 +259,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -235,6 +235,12 @@ Home Assistant now supports <code>--open-ui</code> and <code>--demo-mode</code>
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -258,12 +264,6 @@ Home Assistant now supports <code>--open-ui</code> and <code>--demo-mode</code>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -253,6 +253,12 @@ Events are saved in a local database. Google Graphs is used to draw the graph. D
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -276,12 +282,6 @@ Events are saved in a local database. Google Graphs is used to draw the graph. D
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -231,6 +231,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -254,12 +260,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -218,6 +218,12 @@ YAML allows the use of lists, which should make the configuration file a bit mor
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -241,8 +247,6 @@ YAML allows the use of lists, which should make the configuration file a bit mor
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -219,6 +219,12 @@ The old logo, the new detailed logo and the new simple logo.
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -238,12 +244,6 @@ The old logo, the new detailed logo and the new simple logo.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<time datetime="2015-03-11T19:36:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 11, 2015</time>
|
<time datetime="2015-03-11T18:36:00-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 11, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -265,6 +265,12 @@ An initial version of voice control for Home Assistant has landed. The current i
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -284,12 +290,6 @@ An initial version of voice control for Home Assistant has landed. The current i
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<time datetime="2015-03-22T01:21:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 22, 2015</time>
|
<time datetime="2015-03-22T00:21:00-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 22, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -333,6 +333,12 @@ James Cole has also contributed support for <a href='https://pushover.net/'>the
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -352,12 +358,6 @@ James Cole has also contributed support for <a href='https://pushover.net/'>the
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -349,6 +349,12 @@ James has also contributed support for integrating Transmission into Home Assist
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
|
@ -368,12 +374,6 @@ James has also contributed support for integrating Transmission into Home Assist
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
338
blog/2015/05/09/utc-time-zone-awareness/index.html
Normal file
338
blog/2015/05/09/utc-time-zone-awareness/index.html
Normal file
|
@ -0,0 +1,338 @@
|
||||||
|
<!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>UTC & Time zone awareness - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="The Home Assistant core now uses UTC as the internal date time.">
|
||||||
|
|
||||||
|
<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="UTC & Time zone awareness">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="The Home Assistant core now uses UTC as the internal date time.">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
||||||
|
<ul>
|
||||||
|
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||||
|
<li><a href='/getting-started/configuration.html'>Initial configuration</a></li>
|
||||||
|
<li><a href='/components/'>Component overview</a></li>
|
||||||
|
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||||
|
</ul>
|
||||||
|
</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="post">
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<h1 class="title indent">UTC & Time zone awareness</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="meta clearfix">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<time datetime="2015-05-09T23:08:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> May 9, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="byline author vcard"><i class='icon-user'></i> Paulus Schoutsen</span>
|
||||||
|
|
||||||
|
<span><i class='icon-time'></i> two minutes reading time</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<i class="icon-tags"></i>
|
||||||
|
<ul class="tags unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a class='category' href='/blog/categories/core/'>core</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
<a class='comments'
|
||||||
|
href="#disqus_thread"
|
||||||
|
>Comments</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>I have recently merged code to refactor Home Assistant to use only UTC times internally. A much needed refactor. I’ve added some extra test coverage to time sensitive parts to ensure stability. The code has been live in the dev branch for the last 9 days and will be soon released to the master branch.</p>
|
||||||
|
|
||||||
|
<p>From now on all internal communication will be done in UTC: time changed events, datetime attributes of states, etc. To get the current time in UTC you can call <code>homeassistant.util.dt.utcnow()</code>. This is a timezone aware UTC datetime object. <a href="https://github.com/balloob/home-assistant/blob/dev/homeassistant/util/dt.py"><code>homeassistant.util.dt</code></a> is a new util package with date helpers.</p>
|
||||||
|
|
||||||
|
<p>There is also such a thing as local time. Local time is based on the time zone that you have setup in your <code>configuration.yaml</code>. Local times should only be used for user facing information: logs, frontend and automation settings in <code>configuration.yaml</code>.</p>
|
||||||
|
|
||||||
|
<h3>Setting up your time zone</h3>
|
||||||
|
|
||||||
|
<p>Setting up a time zone happens in <code>configuration.yaml</code>. If you have no time zone setup, it will be auto detected using the existing detection code using <a href="https://freegeoip.net">freegeoip.net</a>. You can find a list of compatible time zones on <a href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Wikipedia</a>.</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='yaml'><span class='line'><span class="l-Scalar-Plain">homeassistant</span><span class="p-Indicator">:</span>
|
||||||
|
</span><span class='line'> <span class="l-Scalar-Plain">time_zone</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">America/Los_Angeles</span>
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Compatibility</h3>
|
||||||
|
|
||||||
|
<p>The changes to the code are mostly backwards compatible. The old <code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> use now internally two new methods: <code>hass.track_utc_time_change</code> and <code>hass.track_point_in_utc_time</code>. The usage of the old methods have not changed and should be backwards compatible.</p>
|
||||||
|
|
||||||
|
<p>This refactor adds a new migration for the database adding a <code>utc_offset</code> column to events and states. This information is currently not used but can prove useful in the future when we start analyzing the historical data.</p>
|
||||||
|
|
||||||
|
<h3>Backwards incompatible stuff</h3>
|
||||||
|
|
||||||
|
<p>All built-in components have been upgraded. The following list is only for people that run custom components:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> will now return a time zone aware datetime object. Python does not allow comparing a naive with an aware datetime object.</li>
|
||||||
|
<li>the sun attributes for rising and setting are now in UTC. The methods <code>sun.next_rising(hass)</code> and <code>sun.next_setting(hass)</code> are backwards compatible, just be careful if you used to read the raw attributes.</li>
|
||||||
|
<li>the API sends all times in UTC. If you use anything else besides the frontend to talk to HA, make sure it handles it differently.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
<section id="disqus">
|
||||||
|
<h3 class="indent title">Comments</h3>
|
||||||
|
<div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||||
|
<div class="grid">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="sharing aside-module grid__item one-whole lap-one-half">
|
||||||
|
<h1 class="title delta">Share this post</h1>
|
||||||
|
|
||||||
|
<a href="//twitter.com/share"
|
||||||
|
class="twitter-share-button"
|
||||||
|
data-url="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/"
|
||||||
|
data-counturl="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/" >Tweet</a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="g-plusone" data-size="standard"></div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="fb-share-button" style='top: -6px;'
|
||||||
|
data-href="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/"
|
||||||
|
data-layout="button_count">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||||
|
|
||||||
|
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.fbAsyncInit = function() {
|
||||||
|
FB.init({
|
||||||
|
appId : '338291289691179',
|
||||||
|
xfbml : true,
|
||||||
|
version : 'v2.2'
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
(function(d, s, id){
|
||||||
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
|
if (d.getElementById(id)) {return;}
|
||||||
|
js = d.createElement(s); js.id = id;
|
||||||
|
js.src = "//connect.facebook.net/en_US/sdk.js";
|
||||||
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
|
}(document, 'script', 'facebook-jssdk'));
|
||||||
|
</script>
|
||||||
|
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
|
||||||
|
<h1 class="title delta">Other Posts</h1>
|
||||||
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/03/22/release-notes/">Release notes for March 22, 2015</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/03/11/release-notes/">Release notes for March 11, 2015</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/03/08/new-logo/">New logo for Home Assistant</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
</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>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var disqus_shortname = 'home-assistant';
|
||||||
|
|
||||||
|
|
||||||
|
// var disqus_developer = 1;
|
||||||
|
var disqus_identifier = 'https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/';
|
||||||
|
var disqus_url = 'https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/';
|
||||||
|
var disqus_script = 'embed.js';
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -22,7 +22,7 @@
|
||||||
<meta property="og:site_name" content="Home Assistant">
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
<meta property="og:url" content="https://home-assistant.io/blog/archives/">
|
<meta property="og:url" content="https://home-assistant.io/blog/archives/">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:description" content="Blog Index 2015 Apr 25 Release notes for April 25, 2015 release-notes Mar 22 Release notes for March 22, 2015 release-notes Mar 11 Release notes for March 11, 2015 release-notes Mar 08 New logo for …">
|
<meta property="og:description" content="Blog Index 2015 May 09 UTC & Time zone awareness core Apr 25 Release notes for April 25, 2015 release-notes Mar 22 Release notes for March 22, 2015 release-notes Mar 11 Release notes for March 11, …">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,6 +113,43 @@
|
||||||
<article>
|
<article>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
|
||||||
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
|
<time datetime="2015-05-09T23:08:00-07:00" pubdate>
|
||||||
|
<span class='month'>May</span> <span class='day'>09</span>
|
||||||
|
</time>
|
||||||
|
</div>
|
||||||
|
<div class="grid__item four-fifths palm-one-whole">
|
||||||
|
<h1 class="gamma"><a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a></h1>
|
||||||
|
|
||||||
|
<footer class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<i class="icon-tags"></i>
|
||||||
|
<ul class="tags unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a class='category' href='/blog/categories/core/'>core</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<hr class="divider">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article>
|
||||||
|
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
|
@ -153,7 +190,7 @@
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
<time datetime="2015-03-22T01:21:00-07:00" pubdate>
|
<time datetime="2015-03-22T00:21:00-08:00" pubdate>
|
||||||
<span class='month'>Mar</span> <span class='day'>22</span>
|
<span class='month'>Mar</span> <span class='day'>22</span>
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
|
@ -190,7 +227,7 @@
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
<time datetime="2015-03-11T19:36:00-07:00" pubdate>
|
<time datetime="2015-03-11T18:36:00-08:00" pubdate>
|
||||||
<span class='month'>Mar</span> <span class='day'>11</span>
|
<span class='month'>Mar</span> <span class='day'>11</span>
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
|
@ -654,6 +691,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -677,12 +720,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -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-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
|
|
@ -205,6 +205,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -228,12 +234,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: branding | Home Assistant]]></title>
|
<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/blog/categories/branding/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
|
|
@ -205,6 +205,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -228,12 +234,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -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-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
|
|
@ -318,6 +318,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -341,12 +347,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: core | Home Assistant]]></title>
|
<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/blog/categories/core/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
@ -13,6 +13,44 @@
|
||||||
<generator uri="http://octopress.org/">Octopress</generator>
|
<generator uri="http://octopress.org/">Octopress</generator>
|
||||||
|
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<title type="html"><![CDATA[UTC & Time zone awareness]]></title>
|
||||||
|
<link href="https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/"/>
|
||||||
|
<updated>2015-05-09T23:08:00-07:00</updated>
|
||||||
|
<id>https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness</id>
|
||||||
|
<content type="html"><![CDATA[<p>I have recently merged code to refactor Home Assistant to use only UTC times internally. A much needed refactor. I’ve added some extra test coverage to time sensitive parts to ensure stability. The code has been live in the dev branch for the last 9 days and will be soon released to the master branch.</p>
|
||||||
|
|
||||||
|
<p>From now on all internal communication will be done in UTC: time changed events, datetime attributes of states, etc. To get the current time in UTC you can call <code>homeassistant.util.dt.utcnow()</code>. This is a timezone aware UTC datetime object. <a href="https://github.com/balloob/home-assistant/blob/dev/homeassistant/util/dt.py"><code>homeassistant.util.dt</code></a> is a new util package with date helpers.</p>
|
||||||
|
|
||||||
|
<p>There is also such a thing as local time. Local time is based on the time zone that you have setup in your <code>configuration.yaml</code>. Local times should only be used for user facing information: logs, frontend and automation settings in <code>configuration.yaml</code>.</p>
|
||||||
|
|
||||||
|
<h3>Setting up your time zone</h3>
|
||||||
|
|
||||||
|
<p>Setting up a time zone happens in <code>configuration.yaml</code>. If you have no time zone setup, it will be auto detected using the existing detection code using <a href="https://freegeoip.net">freegeoip.net</a>. You can find a list of compatible time zones on <a href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Wikipedia</a>.</p>
|
||||||
|
|
||||||
|
<pre><code class="yaml">homeassistant:
|
||||||
|
time_zone: America/Los_Angeles
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h3>Compatibility</h3>
|
||||||
|
|
||||||
|
<p>The changes to the code are mostly backwards compatible. The old <code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> use now internally two new methods: <code>hass.track_utc_time_change</code> and <code>hass.track_point_in_utc_time</code>. The usage of the old methods have not changed and should be backwards compatible.</p>
|
||||||
|
|
||||||
|
<p>This refactor adds a new migration for the database adding a <code>utc_offset</code> column to events and states. This information is currently not used but can prove useful in the future when we start analyzing the historical data.</p>
|
||||||
|
|
||||||
|
<h3>Backwards incompatible stuff</h3>
|
||||||
|
|
||||||
|
<p>All built-in components have been upgraded. The following list is only for people that run custom components:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> will now return a time zone aware datetime object. Python does not allow comparing a naive with an aware datetime object.</li>
|
||||||
|
<li>the sun attributes for rising and setting are now in UTC. The methods <code>sun.next_rising(hass)</code> and <code>sun.next_setting(hass)</code> are backwards compatible, just be careful if you used to read the raw attributes.</li>
|
||||||
|
<li>the API sends all times in UTC. If you use anything else besides the frontend to talk to HA, make sure it handles it differently.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
]]></content>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Home Assistant moving to YAML]]></title>
|
<title type="html"><![CDATA[Home Assistant moving to YAML]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/03/01/home-assistant-migrating-to-yaml/"/>
|
<link href="https://home-assistant.io/blog/2015/03/01/home-assistant-migrating-to-yaml/"/>
|
||||||
|
|
|
@ -113,6 +113,43 @@
|
||||||
<article>
|
<article>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
|
||||||
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
|
<time datetime="2015-05-09T23:08:00-07:00" pubdate>
|
||||||
|
<span class='month'>May</span> <span class='day'>09</span>
|
||||||
|
</time>
|
||||||
|
</div>
|
||||||
|
<div class="grid__item four-fifths palm-one-whole">
|
||||||
|
<h1 class="gamma"><a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a></h1>
|
||||||
|
|
||||||
|
<footer class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<i class="icon-tags"></i>
|
||||||
|
<ul class="tags unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a class='category' href='/blog/categories/core/'>core</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<hr class="divider">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article>
|
||||||
|
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
|
@ -205,6 +242,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -228,12 +271,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: frontend | Home Assistant]]></title>
|
<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/blog/categories/frontend/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
|
|
@ -244,6 +244,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -267,12 +273,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: release-notes | Home Assistant]]></title>
|
<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/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2015-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
@ -109,7 +109,7 @@ switch:
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Release notes for March 22, 2015]]></title>
|
<title type="html"><![CDATA[Release notes for March 22, 2015]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/03/22/release-notes/"/>
|
<link href="https://home-assistant.io/blog/2015/03/22/release-notes/"/>
|
||||||
<updated>2015-03-22T01:21:00-07:00</updated>
|
<updated>2015-03-22T00:21:00-08:00</updated>
|
||||||
<id>https://home-assistant.io/blog/2015/03/22/release-notes</id>
|
<id>https://home-assistant.io/blog/2015/03/22/release-notes</id>
|
||||||
<content type="html"><![CDATA[<p>A new version of Home Assistant has just been pushed out. It contains bugfixes contributed by <a href="https://github.com/jamespcole">jamespcole</a>, <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/trainman419">trainman419</a> and <a href="https://github.com/balloob">me</a>. It also adds a bunch of great new features:</p>
|
<content type="html"><![CDATA[<p>A new version of Home Assistant has just been pushed out. It contains bugfixes contributed by <a href="https://github.com/jamespcole">jamespcole</a>, <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/trainman419">trainman419</a> and <a href="https://github.com/balloob">me</a>. It also adds a bunch of great new features:</p>
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ notify:
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html"><![CDATA[Release notes for March 11, 2015]]></title>
|
<title type="html"><![CDATA[Release notes for March 11, 2015]]></title>
|
||||||
<link href="https://home-assistant.io/blog/2015/03/11/release-notes/"/>
|
<link href="https://home-assistant.io/blog/2015/03/11/release-notes/"/>
|
||||||
<updated>2015-03-11T19:36:00-07:00</updated>
|
<updated>2015-03-11T18:36:00-08:00</updated>
|
||||||
<id>https://home-assistant.io/blog/2015/03/11/release-notes</id>
|
<id>https://home-assistant.io/blog/2015/03/11/release-notes</id>
|
||||||
<content type="html"><![CDATA[<p>It has only been a little over a week since Theodor introduced YAML support for Home Assistant but so much has already happened that it is time for a summary of recent changes. Before mentioning the highlights I want to thank <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/jamespcole">jamespcole</a> and <a href="https://github.com/theolind">theolind</a> for numerous bug fixes, enhancements and new contributions. Thanks!</p>
|
<content type="html"><![CDATA[<p>It has only been a little over a week since Theodor introduced YAML support for Home Assistant but so much has already happened that it is time for a summary of recent changes. Before mentioning the highlights I want to thank <a href="https://github.com/andythigpen">andythigpen</a>, <a href="https://github.com/jamespcole">jamespcole</a> and <a href="https://github.com/theolind">theolind</a> for numerous bug fixes, enhancements and new contributions. Thanks!</p>
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
<time datetime="2015-03-22T01:21:00-07:00" pubdate>
|
<time datetime="2015-03-22T00:21:00-08:00" pubdate>
|
||||||
<span class='month'>Mar</span> <span class='day'>22</span>
|
<span class='month'>Mar</span> <span class='day'>22</span>
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
|
@ -190,7 +190,7 @@
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="grid__item one-fifth palm-one-whole">
|
<div class="grid__item one-fifth palm-one-whole">
|
||||||
<time datetime="2015-03-11T19:36:00-07:00" pubdate>
|
<time datetime="2015-03-11T18:36:00-08:00" pubdate>
|
||||||
<span class='month'>Mar</span> <span class='day'>11</span>
|
<span class='month'>Mar</span> <span class='day'>11</span>
|
||||||
</time>
|
</time>
|
||||||
</div>
|
</div>
|
||||||
|
@ -316,6 +316,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -339,12 +345,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -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-05-01T17:00:04-07:00</updated>
|
<updated>2015-05-09T23:58:15-07: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>
|
||||||
|
|
|
@ -205,6 +205,12 @@
|
||||||
<ul class="divided">
|
<ul class="divided">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
<a href="/blog/2015/04/25/release-notes/">Release notes for April 25, 2015</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -228,12 +234,6 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="post">
|
|
||||||
<a href="/blog/2015/03/01/home-assistant-migrating-to-yaml/">Home Assistant moving to YAML</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
172
blog/index.html
172
blog/index.html
|
@ -22,7 +22,7 @@
|
||||||
<meta property="og:site_name" content="Home Assistant">
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
<meta property="og:url" content="https://home-assistant.io/blog/">
|
<meta property="og:url" content="https://home-assistant.io/blog/">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:description" content="Release notes for April 25, 2015 April 25, 2015 Paulus Schoutsen three minutes reading time release-notes Comments It’s been a month since the latest update and a lot has happened again. Here …">
|
<meta property="og:description" content="UTC & Time zone awareness May 9, 2015 Paulus Schoutsen two minutes reading time core Comments I have recently merged code to refactor Home Assistant to use only UTC times internally. A much needed …">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -95,6 +95,99 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="listing">
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<h1 class="beta">
|
||||||
|
<a href="/blog/2015/05/09/utc-time-zone-awareness/">UTC & Time zone awareness</a>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="meta clearfix">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<time datetime="2015-05-09T23:08:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> May 9, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="byline author vcard"><i class='icon-user'></i> Paulus Schoutsen</span>
|
||||||
|
|
||||||
|
<span><i class='icon-time'></i> two minutes reading time</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<i class="icon-tags"></i>
|
||||||
|
<ul class="tags unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a class='category' href='/blog/categories/core/'>core</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
<a class='comments'
|
||||||
|
href="/blog/2015/05/09/utc-time-zone-awareness/#disqus_thread"
|
||||||
|
>Comments</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>I have recently merged code to refactor Home Assistant to use only UTC times internally. A much needed refactor. I’ve added some extra test coverage to time sensitive parts to ensure stability. The code has been live in the dev branch for the last 9 days and will be soon released to the master branch.</p>
|
||||||
|
|
||||||
|
<p>From now on all internal communication will be done in UTC: time changed events, datetime attributes of states, etc. To get the current time in UTC you can call <code>homeassistant.util.dt.utcnow()</code>. This is a timezone aware UTC datetime object. <a href="https://github.com/balloob/home-assistant/blob/dev/homeassistant/util/dt.py"><code>homeassistant.util.dt</code></a> is a new util package with date helpers.</p>
|
||||||
|
|
||||||
|
<p>There is also such a thing as local time. Local time is based on the time zone that you have setup in your <code>configuration.yaml</code>. Local times should only be used for user facing information: logs, frontend and automation settings in <code>configuration.yaml</code>.</p>
|
||||||
|
|
||||||
|
<h3>Setting up your time zone</h3>
|
||||||
|
|
||||||
|
<p>Setting up a time zone happens in <code>configuration.yaml</code>. If you have no time zone setup, it will be auto detected using the existing detection code using <a href="https://freegeoip.net">freegeoip.net</a>. You can find a list of compatible time zones on <a href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Wikipedia</a>.</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='yaml'><span class='line'><span class="l-Scalar-Plain">homeassistant</span><span class="p-Indicator">:</span>
|
||||||
|
</span><span class='line'> <span class="l-Scalar-Plain">time_zone</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">America/Los_Angeles</span>
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Compatibility</h3>
|
||||||
|
|
||||||
|
<p>The changes to the code are mostly backwards compatible. The old <code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> use now internally two new methods: <code>hass.track_utc_time_change</code> and <code>hass.track_point_in_utc_time</code>. The usage of the old methods have not changed and should be backwards compatible.</p>
|
||||||
|
|
||||||
|
<p>This refactor adds a new migration for the database adding a <code>utc_offset</code> column to events and states. This information is currently not used but can prove useful in the future when we start analyzing the historical data.</p>
|
||||||
|
|
||||||
|
<h3>Backwards incompatible stuff</h3>
|
||||||
|
|
||||||
|
<p>All built-in components have been upgraded. The following list is only for people that run custom components:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>hass.track_time_change</code> and <code>hass.track_point_in_time</code> will now return a time zone aware datetime object. Python does not allow comparing a naive with an aware datetime object.</li>
|
||||||
|
<li>the sun attributes for rising and setting are now in UTC. The methods <code>sun.next_rising(hass)</code> and <code>sun.next_setting(hass)</code> are backwards compatible, just be careful if you used to read the raw attributes.</li>
|
||||||
|
<li>the API sends all times in UTC. If you use anything else besides the frontend to talk to HA, make sure it handles it differently.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
<article class="listing">
|
<article class="listing">
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
|
@ -316,7 +409,7 @@ James has also contributed support for integrating Transmission into Home Assist
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<time datetime="2015-03-22T01:21:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 22, 2015</time>
|
<time datetime="2015-03-22T00:21:00-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 22, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -499,7 +592,7 @@ James Cole has also contributed support for <a href='https://pushover.net/'>the
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<time datetime="2015-03-11T19:36:00-07:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 11, 2015</time>
|
<time datetime="2015-03-11T18:36:00-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> March 11, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1057,79 +1150,6 @@ Home Assistant now supports <code>--open-ui</code> and <code>--demo-mode</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="listing">
|
|
||||||
<header>
|
|
||||||
|
|
||||||
<h1 class="beta">
|
|
||||||
<a href="/blog/2015/01/11/bootstrapping-your-setup-with-discovery/">Bootstrapping your setup with Discovery</a>
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="meta clearfix">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<time datetime="2015-01-11T21:49:08-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> January 11, 2015</time>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="byline author vcard"><i class='icon-user'></i> Paulus Schoutsen</span>
|
|
||||||
|
|
||||||
<span><i class='icon-time'></i> less than one minute reading time</span>
|
|
||||||
|
|
||||||
|
|
||||||
<span>
|
|
||||||
<i class="icon-tags"></i>
|
|
||||||
<ul class="tags unstyled">
|
|
||||||
|
|
||||||
|
|
||||||
<li><a class='category' href='/blog/categories/component/'>component</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
<a class='comments'
|
|
||||||
href="/blog/2015/01/11/bootstrapping-your-setup-with-discovery/#disqus_thread"
|
|
||||||
>Comments</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>Most people do not like configuring things. Things just have to work, out of the box. Reaching this scenario is the goal of what we are about to introduce: our new discovery component.</p>
|
|
||||||
|
|
||||||
<p>The discovery component will scan the WiFi network from time to time for connected zeroconf/mDNS and uPnP devices. The intial introduction is mainly focussed on getting the right architecture in place and discovers Belkin WeMo switches and Google Chromecasts connected to your network. When found, it will load and notify the appropritate component and it will be ready to use within seconds.</p>
|
|
||||||
|
|
||||||
<p>Most devices still require some sort of interaction from the user after being discovered - be it a button being pressed or some sort of authentication. This is a challenge that will be solved in the future.</p>
|
|
||||||
|
|
||||||
<p>To enable the discovery component, add the following 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>A new <a href="/developers/add_new_platform.html#discovery">discovery section</a> has been added to the Adding a new platform page with instructions how to make your platform discoverable.</p>
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<meta property="og:site_name" content="Home Assistant">
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
<meta property="og:url" content="https://home-assistant.io/blog/posts/2/">
|
<meta property="og:url" content="https://home-assistant.io/blog/posts/2/">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:description" content="Hello PushBullet, nice talking to you January 4, 2015 Paulus Schoutsen 1 minute reading time component Comments One of the things that was missing in Home Assistant for a while was a way to …">
|
<meta property="og:description" content="Bootstrapping your setup with Discovery January 11, 2015 Paulus Schoutsen less than one minute reading time component Comments Most people do not like configuring things. Things just have to work, …">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -95,6 +95,79 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<article class="listing">
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<h1 class="beta">
|
||||||
|
<a href="/blog/2015/01/11/bootstrapping-your-setup-with-discovery/">Bootstrapping your setup with Discovery</a>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="meta clearfix">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<time datetime="2015-01-11T21:49:08-08:00" pubdate data-updated="true"><i class="icon-calendar"></i> January 11, 2015</time>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="byline author vcard"><i class='icon-user'></i> Paulus Schoutsen</span>
|
||||||
|
|
||||||
|
<span><i class='icon-time'></i> less than one minute reading time</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span>
|
||||||
|
<i class="icon-tags"></i>
|
||||||
|
<ul class="tags unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a class='category' href='/blog/categories/component/'>component</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
<a class='comments'
|
||||||
|
href="/blog/2015/01/11/bootstrapping-your-setup-with-discovery/#disqus_thread"
|
||||||
|
>Comments</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Most people do not like configuring things. Things just have to work, out of the box. Reaching this scenario is the goal of what we are about to introduce: our new discovery component.</p>
|
||||||
|
|
||||||
|
<p>The discovery component will scan the WiFi network from time to time for connected zeroconf/mDNS and uPnP devices. The intial introduction is mainly focussed on getting the right architecture in place and discovers Belkin WeMo switches and Google Chromecasts connected to your network. When found, it will load and notify the appropritate component and it will be ready to use within seconds.</p>
|
||||||
|
|
||||||
|
<p>Most devices still require some sort of interaction from the user after being discovered - be it a button being pressed or some sort of authentication. This is a challenge that will be solved in the future.</p>
|
||||||
|
|
||||||
|
<p>To enable the discovery component, add the following 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>A new <a href="/developers/add_new_platform.html#discovery">discovery section</a> has been added to the Adding a new platform page with instructions how to make your platform discoverable.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
<article class="listing">
|
<article class="listing">
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
|
|
|
@ -323,6 +323,12 @@ the manufacturers of these devices.
|
||||||
<td><a href='/components/sensor.openweathermap.html'>OpenWeatherMap</a></td>
|
<td><a href='/components/sensor.openweathermap.html'>OpenWeatherMap</a></td>
|
||||||
<td>Display current meteorological data from your location</td>
|
<td>Display current meteorological data from your location</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td><a href='/components/time_date.html'>Time & Date</a></td>
|
||||||
|
<td>Displays the time and the date.</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
179
components/sensor.time_date.html
Normal file
179
components/sensor.time_date.html
Normal file
|
@ -0,0 +1,179 @@
|
||||||
|
<!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>Time & Date support - Home Assistant</title>
|
||||||
|
<meta name="author" content="Paulus Schoutsen">
|
||||||
|
|
||||||
|
<meta name="description" content="Instructions how to integrate the time and the date 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="Time & Date support">
|
||||||
|
<meta property="og:site_name" content="Home Assistant">
|
||||||
|
<meta property="og:url" content="https://home-assistant.io/components/sensor.time_date.html/">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="Instructions how to integrate the time and the date 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>
|
||||||
|
<ul>
|
||||||
|
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||||
|
<li><a href='/getting-started/configuration.html'>Initial configuration</a></li>
|
||||||
|
<li><a href='/components/'>Component overview</a></li>
|
||||||
|
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||||
|
</ul>
|
||||||
|
</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">
|
||||||
|
Time & Date Support
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
<hr class="divider">
|
||||||
|
|
||||||
|
|
||||||
|
<p>The time and date platform simple displays the time, the date, or both.</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>
|
||||||
|
<span class='line-number'>6</span>
|
||||||
|
<span class='line-number'>7</span>
|
||||||
|
<span class='line-number'>8</span>
|
||||||
|
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
|
||||||
|
</span><span class='line'><span class="l-Scalar-Plain">sensor</span><span class="p-Indicator">:</span>
|
||||||
|
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">time_date</span>
|
||||||
|
</span><span class='line'> <span class="l-Scalar-Plain">monitored_variables</span><span class="p-Indicator">:</span>
|
||||||
|
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">type</span><span class="p-Indicator">:</span> <span class="s">'time'</span>
|
||||||
|
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">type</span><span class="p-Indicator">:</span> <span class="s">'date'</span>
|
||||||
|
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">type</span><span class="p-Indicator">:</span> <span class="s">'date_time'</span>
|
||||||
|
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">type</span><span class="p-Indicator">:</span> <span class="s">'time_date'</span>
|
||||||
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>The types <em>date_time</em> and <em>time_date</em> shows the date and the time. The other two types just the time or the date.</p>
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/screenshots/time_date.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>
|
|
@ -104,7 +104,7 @@
|
||||||
|
|
||||||
|
|
||||||
<p><img src='/images/supported_brands/transmission.png' class='brand pull-right' />
|
<p><img src='/images/supported_brands/transmission.png' class='brand pull-right' />
|
||||||
James Cole has contributed support to integrate Transmission. This will allow you to monitor your downloads from within Home Assistant and setup automation based on the information.</p>
|
The <a href="http://www.transmissionbt.com/">Transmission</a> platform allows you to monitor your downloads from within Home Assistant and setup automation based on the information.</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>
|
||||||
|
@ -133,6 +133,22 @@ James Cole has contributed support to integrate Transmission. This will allow yo
|
||||||
</span></code></pre></td></tr></table></div></figure>
|
</span></code></pre></td></tr></table></div></figure>
|
||||||
|
|
||||||
|
|
||||||
|
<p>To use the monitoring, your transmission client needs to allow remote access. If you are running the graphical transmission client (transmission-gtk) go to <strong>Edit</strong> -> <strong>Perferences</strong> and choose the tab <strong>Remote</strong>. Check <strong>Allow remote access</strong>, enter your username and your password, and uncheck the network restriction as needed.</p>
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/screenshots/transmission-perf.png' />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p>If everthing is setup correctly, the details will show up in the frontend.</p>
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/screenshots/transmission.png' />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p>James Cole has contributed the transmission platform.</p>
|
||||||
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
BIN
images/screenshots/time_date.png
Normal file
BIN
images/screenshots/time_date.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
BIN
images/screenshots/transmission-pref.png
Normal file
BIN
images/screenshots/transmission-pref.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
images/screenshots/transmission.png
Normal file
BIN
images/screenshots/transmission.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
137
sitemap.xml
137
sitemap.xml
|
@ -1,5 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/blog/2015/05/09/utc-time-zone-awareness/</loc>
|
||||||
|
<lastmod>2015-05-09T23:08:00-07:00</lastmod>
|
||||||
|
<priority>0.8</priority>
|
||||||
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/blog/2015/04/25/release-notes/</loc>
|
<loc>https://home-assistant.io/blog/2015/04/25/release-notes/</loc>
|
||||||
<lastmod>2015-04-25T06:57:00-07:00</lastmod>
|
<lastmod>2015-04-25T06:57:00-07:00</lastmod>
|
||||||
|
@ -7,12 +12,12 @@
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/blog/2015/03/22/release-notes/</loc>
|
<loc>https://home-assistant.io/blog/2015/03/22/release-notes/</loc>
|
||||||
<lastmod>2015-03-22T01:21:00-07:00</lastmod>
|
<lastmod>2015-03-22T00:21:00-08:00</lastmod>
|
||||||
<priority>0.8</priority>
|
<priority>0.8</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/blog/2015/03/11/release-notes/</loc>
|
<loc>https://home-assistant.io/blog/2015/03/11/release-notes/</loc>
|
||||||
<lastmod>2015-03-11T19:36:00-07:00</lastmod>
|
<lastmod>2015-03-11T18:36:00-08:00</lastmod>
|
||||||
<priority>0.8</priority>
|
<priority>0.8</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
|
@ -67,355 +72,361 @@
|
||||||
</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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/getting-started/android.html</loc>
|
<loc>https://home-assistant.io/getting-started/android.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/automation.html</loc>
|
<loc>https://home-assistant.io/components/automation.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/browser.html</loc>
|
<loc>https://home-assistant.io/components/browser.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/getting-started/configuration.html</loc>
|
<loc>https://home-assistant.io/getting-started/configuration.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/configurator.html</loc>
|
<loc>https://home-assistant.io/components/configurator.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/conversation.html</loc>
|
<loc>https://home-assistant.io/components/conversation.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_sun_light_trigger.html</loc>
|
<loc>https://home-assistant.io/components/device_sun_light_trigger.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_tracker.luci.html</loc>
|
<loc>https://home-assistant.io/components/device_tracker.luci.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_tracker.html</loc>
|
<loc>https://home-assistant.io/components/device_tracker.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_tracker.netgear.html</loc>
|
<loc>https://home-assistant.io/components/device_tracker.netgear.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_tracker.nmap_scanner.html</loc>
|
<loc>https://home-assistant.io/components/device_tracker.nmap_scanner.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/device_tracker.tomato.html</loc>
|
<loc>https://home-assistant.io/components/device_tracker.tomato.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/discovery.html</loc>
|
<loc>https://home-assistant.io/components/discovery.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/downloader.html</loc>
|
<loc>https://home-assistant.io/components/downloader.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/group.html</loc>
|
<loc>https://home-assistant.io/components/group.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/history.html</loc>
|
<loc>https://home-assistant.io/components/history.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/archives/</loc>
|
<loc>https://home-assistant.io/blog/archives/</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/developers/</loc>
|
<loc>https://home-assistant.io/getting-started/</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/getting-started/</loc>
|
<loc>https://home-assistant.io/developers/</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/</loc>
|
<loc>https://home-assistant.io/components/</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/isy994.html</loc>
|
<loc>https://home-assistant.io/components/isy994.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/keyboard.html</loc>
|
<loc>https://home-assistant.io/components/keyboard.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/light.hue.html</loc>
|
<loc>https://home-assistant.io/components/light.hue.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/light.html</loc>
|
<loc>https://home-assistant.io/components/light.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/logbook.html</loc>
|
<loc>https://home-assistant.io/components/logbook.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/media_player.cast.html</loc>
|
<loc>https://home-assistant.io/components/media_player.cast.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/media_player.html</loc>
|
<loc>https://home-assistant.io/components/media_player.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/modbus.html</loc>
|
<loc>https://home-assistant.io/components/modbus.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/notify.instapush.html</loc>
|
<loc>https://home-assistant.io/components/notify.instapush.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/notify.html</loc>
|
<loc>https://home-assistant.io/components/notify.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/notify.nma.html</loc>
|
<loc>https://home-assistant.io/components/notify.nma.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/notify.pushbullet.html</loc>
|
<loc>https://home-assistant.io/components/notify.pushbullet.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/notify.pushover.html</loc>
|
<loc>https://home-assistant.io/components/notify.pushover.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/scene.html</loc>
|
<loc>https://home-assistant.io/components/scene.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/scheduler.html</loc>
|
<loc>https://home-assistant.io/components/scheduler.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/script.html</loc>
|
<loc>https://home-assistant.io/components/script.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/sensor.openweathermap.html</loc>
|
<loc>https://home-assistant.io/components/sensor.openweathermap.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/sensor.sabnzbd.html</loc>
|
<loc>https://home-assistant.io/components/sensor.sabnzbd.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/sensor.systemmonitor.html</loc>
|
<loc>https://home-assistant.io/components/sensor.systemmonitor.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07:00</lastmod>
|
||||||
|
<changefreq>weekly</changefreq>
|
||||||
|
<priority>0.7</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://home-assistant.io/components/sensor.time_date.html</loc>
|
||||||
|
<lastmod>2015-05-09T23:58:15-07: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/components/sensor.transmission.html</loc>
|
<loc>https://home-assistant.io/components/sensor.transmission.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/simple_alarm.html</loc>
|
<loc>https://home-assistant.io/components/simple_alarm.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/sun.html</loc>
|
<loc>https://home-assistant.io/components/sun.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/switch.html</loc>
|
<loc>https://home-assistant.io/components/switch.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/switch.wemo.html</loc>
|
<loc>https://home-assistant.io/components/switch.wemo.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/tellstick.html</loc>
|
<loc>https://home-assistant.io/components/tellstick.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/thermostat.heat_control.html</loc>
|
<loc>https://home-assistant.io/components/thermostat.heat_control.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/thermostat.html</loc>
|
<loc>https://home-assistant.io/components/thermostat.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/thermostat.nest.html</loc>
|
<loc>https://home-assistant.io/components/thermostat.nest.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/getting-started/troubleshooting.html</loc>
|
<loc>https://home-assistant.io/getting-started/troubleshooting.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/vera.html</loc>
|
<loc>https://home-assistant.io/components/vera.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/wink.html</loc>
|
<loc>https://home-assistant.io/components/wink.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07: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/components/zwave.html</loc>
|
<loc>https://home-assistant.io/components/zwave.html</loc>
|
||||||
<lastmod>2015-05-01T17:00:04-07:00</lastmod>
|
<lastmod>2015-05-09T23:58:15-07:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>0.7</priority>
|
<priority>0.7</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue