Skip to content

Commit e23b04f

Browse files
committed
Site updated at 2017-04-25 09:16:46 UTC
1 parent a918280 commit e23b04f

File tree

177 files changed

+1469
-1149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+1469
-1149
lines changed

atom.xml

Lines changed: 62 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Home Assistant]]></title>
55
<link href="https://home-assistant.io/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-04-25T07:26:49+00:00</updated>
7+
<updated>2017-04-25T09:12:40+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>
@@ -13,6 +13,67 @@
1313
<generator uri="http://octopress.org/">Octopress</generator>
1414

1515

16+
<entry>
17+
<title type="html"><![CDATA[Setting up InfluxDB and Grafana using Docker]]></title>
18+
<link href="https://home-assistant.io/blog/2017/04/25/influxdb-grafana-docker/"/>
19+
<updated>2017-04-25T08:04:05+00:00</updated>
20+
<id>https://home-assistant.io/blog/2017/04/25/influxdb-grafana-docker</id>
21+
<content type="html"><![CDATA[<p>Home Assistant collects volumes of (time series) data that are well suited for some fancy graphs. Although the <a href="https://home-assistant.io/components/history/">History</a> component provides some nice plots, I am sure you have always wanted those fancy <a href="https://grafana.com/">Grafana</a> plots. The problem, however, is that low-powered device such as Raspberry Pi that most of us use for our Home Assistant setup are not well suited for such operation.</p>
22+
23+
<p>Instead of running <a href="https://www.influxdata.com/">InfluxDB</a> and Grafana on a Raspberry Pi or a different system and go through the <a href="https://home-assistant.io/blog/2015/12/07/influxdb-and-grafana/">classic approach of installing both tools separately</a>, you can run them in a Docker container on another machine. For this tutorial, I am using a Synology NAS, but the instructions should apply to other devices that can run Docker. Just follow the steps below:</p>
24+
25+
<ol>
26+
<li>SSH into your NAS. You may have to run <code class="highlighter-rouge">sudo su</code> if you are getting permission errors.</li>
27+
<li>Download the <a href="https://hub.docker.com/r/samuelebistoletti/docker-statsd-influxdb-grafana/">docker-statsd-influxdb-grafana</a> image using the command:
28+
<code class="highlighter-rouge">docker pull samuelebistoletti/docker-statsd-influxdb-grafana</code></li>
29+
<li>To start the container for the first-time launch:
30+
<div class="highlighter-rouge"><pre class="highlight"><code>docker run -d \
31+
--name docker-statsd-influxdb-grafana \
32+
-p 3003:3003 \
33+
-p 3004:8083 \
34+
-p 8086:8086 \
35+
-p 22022:22 \
36+
-p 8125:8125/udp \
37+
samuelebistoletti/docker-statsd-influxdb-grafana:latest
38+
</code></pre>
39+
</div>
40+
</li>
41+
<li>The image should now be running and both InfluxBD and Grafana should be now up and running.</li>
42+
<li>You can access InfluxDB at http://NAS_IP_ADDRESS:3004/ and Grafana at http://NAS_IP_ADDRESS:3003/</li>
43+
<li>Navigate to http://NAS_IP_ADDRESS:3004/ and create the database <code class="highlighter-rouge">home_assistant</code> using the command <code class="highlighter-rouge">CREATE DATABASE home_assistant</code>.
44+
<p class="img">
45+
<img src="https://home-assistant.io/images/blog/2017-04-influxdb-grafana/create_HA_database.png" />
46+
</p>
47+
</li>
48+
<li>Now, you need to configure Home Assistant to use InfluxDB. Since, we did not add any username/password to our database, we can simply add the following to our configuration.yaml (replace the IP address with that of the device running Docker) and restart Home Assistant to setup InfluxDB (you will have to fine tune it based on your preferences):
49+
<div class="highlighter-rouge"><pre class="highlight"><code>influxdb:
50+
host: 192.168.2.113
51+
</code></pre>
52+
</div>
53+
</li>
54+
<li>Next, we need to configure Grafana to use InfluxDB. Navigate to http://NAS_IP_ADDRESS:3003/ to access Grafana (login with username and password <code class="highlighter-rouge">root</code>) and add your first data source. Here’s how you can configure Grafana to use InfluxDB database. Note that 192.168.2.113 is the IP address of my NAS.
55+
<p class="img">
56+
<img src="https://home-assistant.io/images/blog/2017-04-influxdb-grafana/add_data_source.png" />
57+
</p>
58+
</li>
59+
<li>You should see <code class="highlighter-rouge">Data source is working</code> if you have configured everything correctly.</li>
60+
<li>With all that configured, you are now ready for the fun stuff. You can create as many dashboards as you want and then import the same in Home Assistant.</li>
61+
<li>To add the Grafana dashboard in HA, use the following config:
62+
<div class="highlighter-rouge"><pre class="highlight"><code>panel_iframe:
63+
router:
64+
title: 'Temperature'
65+
url: 'http://192.168.2.113:3003/dashboard/db/temperature?edit&amp;tab=time%20range'
66+
</code></pre>
67+
</div>
68+
<p>The URL can be obtained by clicking Share Dashboard link on your dashboard:</p>
69+
<p class="img">
70+
<img src="https://home-assistant.io/images/blog/2017-04-influxdb-grafana/share_dashboard.png" />
71+
</p>
72+
</li>
73+
</ol>
74+
]]></content>
75+
</entry>
76+
1677
<entry>
1778
<title type="html"><![CDATA[Hardware Contest 2017]]></title>
1879
<link href="https://home-assistant.io/blog/2017/04/24/hardware-contest-2017/"/>
@@ -2185,29 +2246,6 @@ We change the platform name for binary sensor in 0.38 from <code class="highligh
21852246
21862247
<p>We hope you understand that our desire with these changes is only to help protect the amazing community that has been built around Home Assistant. If you have any questions, please contact us via email, Twitter or Gitter.</p>
21872248
2188-
]]></content>
2189-
</entry>
2190-
2191-
<entry>
2192-
<title type="html"><![CDATA[Numbers]]></title>
2193-
<link href="https://home-assistant.io/blog/2017/01/18/numbers/"/>
2194-
<updated>2017-01-18T08:04:05+00:00</updated>
2195-
<id>https://home-assistant.io/blog/2017/01/18/numbers</id>
2196-
<content type="html"><![CDATA[<p>It’s week 3 of 2017 and great things did already happen. This is just a little recap.</p>
2197-
2198-
<ul>
2199-
<li>In the <a href="https://ossmetrics.com/leaderboard">OSS Metrics leaderboard</a> we are on place 30. Within three months we moved from our starting place which was 66 in September 2016 up to the current one.</li>
2200-
<li>We were listed on <a href="https://github.com/trending/python">Github Trending</a>. Also, was <a href="https://github.com/balloob">@balloob</a> mentioned as trending developer.</li>
2201-
<li><a href="https://github.com/balloob">@balloob</a>’s talk at the OpenIoT Summit 2016 was rated as one of the <a href="http://technewsdir.com/top-5-videos-from-embedded-linux-conference-and-openiot-summit-2016">Top 5 videos</a> of the conference.</li>
2202-
<li>We now ship over <a href="https://home-assistant.io/components/#all/">500</a> components and platforms.</li>
2203-
<li>We processed over 3500 Pull requests on the <a href="https://github.com/home-assistant/home-assistant">main repository</a> so far.</li>
2204-
</ul>
2205-
2206-
<p>You may ask yourself why this is amazing. It’s amazing because we are a community-only project driven by volunteers there is no financial support, no company in the background, and no paid developers who are working on Home Assistant. Here is another “Thank you” because you are the driving force behind Home Assistant.</p>
2207-
2208-
<p>What more numbers? Checkout the <a href="https://home-assistant.io/help/trivia/#numbers/">Trivia page</a>…</p>
2209-
2210-
<p>– Fabian</p>
22112249
]]></content>
22122250
</entry>
22132251

blog/2014/12/18/website-launched/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ <h1 class="title delta">Share this post</h1>
120120
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
121121
<h1 class="title delta">Recent Posts</h1>
122122
<ul class="divided">
123+
<li class="post">
124+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
125+
</li>
123126
<li class="post">
124127
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
125128
</li>
@@ -132,9 +135,6 @@ <h1 class="title delta">Recent Posts</h1>
132135
<li class="post">
133136
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
134137
</li>
135-
<li class="post">
136-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
137-
</li>
138138
</ul>
139139
</section>
140140
</div>

blog/2014/12/26/home-control-home-automation-and-the-smart-home/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ <h1 class="title delta">Share this post</h1>
154154
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
155155
<h1 class="title delta">Recent Posts</h1>
156156
<ul class="divided">
157+
<li class="post">
158+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
159+
</li>
157160
<li class="post">
158161
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
159162
</li>
@@ -166,9 +169,6 @@ <h1 class="title delta">Recent Posts</h1>
166169
<li class="post">
167170
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
168171
</li>
169-
<li class="post">
170-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
171-
</li>
172172
</ul>
173173
</section>
174174
</div>

blog/2015/01/04/hey-pushbullet-nice-talking-to-you/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ <h1 class="title delta">Share this post</h1>
144144
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
145145
<h1 class="title delta">Recent Posts</h1>
146146
<ul class="divided">
147+
<li class="post">
148+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
149+
</li>
147150
<li class="post">
148151
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
149152
</li>
@@ -156,9 +159,6 @@ <h1 class="title delta">Recent Posts</h1>
156159
<li class="post">
157160
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
158161
</li>
159-
<li class="post">
160-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
161-
</li>
162162
</ul>
163163
</section>
164164
</div>

blog/2015/01/11/bootstrapping-your-setup-with-discovery/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ <h1 class="title delta">Share this post</h1>
127127
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
128128
<h1 class="title delta">Recent Posts</h1>
129129
<ul class="divided">
130+
<li class="post">
131+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
132+
</li>
130133
<li class="post">
131134
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
132135
</li>
@@ -139,9 +142,6 @@ <h1 class="title delta">Recent Posts</h1>
139142
<li class="post">
140143
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
141144
</li>
142-
<li class="post">
143-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
144-
</li>
145145
</ul>
146146
</section>
147147
</div>

blog/2015/01/13/nest-in-da-house/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ <h1 class="title delta">Share this post</h1>
131131
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
132132
<h1 class="title delta">Recent Posts</h1>
133133
<ul class="divided">
134+
<li class="post">
135+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
136+
</li>
134137
<li class="post">
135138
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
136139
</li>
@@ -143,9 +146,6 @@ <h1 class="title delta">Recent Posts</h1>
143146
<li class="post">
144147
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
145148
</li>
146-
<li class="post">
147-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
148-
</li>
149149
</ul>
150150
</section>
151151
</div>

blog/2015/01/24/release-notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ <h1 class="title delta">Share this post</h1>
137137
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
138138
<h1 class="title delta">Recent Posts</h1>
139139
<ul class="divided">
140+
<li class="post">
141+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
142+
</li>
140143
<li class="post">
141144
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
142145
</li>
@@ -149,9 +152,6 @@ <h1 class="title delta">Recent Posts</h1>
149152
<li class="post">
150153
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
151154
</li>
152-
<li class="post">
153-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
154-
</li>
155155
</ul>
156156
</section>
157157
</div>

blog/2015/02/08/looking-at-the-past/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ <h1 class="title delta">Share this post</h1>
142142
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
143143
<h1 class="title delta">Recent Posts</h1>
144144
<ul class="divided">
145+
<li class="post">
146+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
147+
</li>
145148
<li class="post">
146149
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
147150
</li>
@@ -154,9 +157,6 @@ <h1 class="title delta">Recent Posts</h1>
154157
<li class="post">
155158
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
156159
</li>
157-
<li class="post">
158-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
159-
</li>
160160
</ul>
161161
</section>
162162
</div>

blog/2015/02/24/streaming-updates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ <h1 class="title delta">Share this post</h1>
128128
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
129129
<h1 class="title delta">Recent Posts</h1>
130130
<ul class="divided">
131+
<li class="post">
132+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
133+
</li>
131134
<li class="post">
132135
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
133136
</li>
@@ -140,9 +143,6 @@ <h1 class="title delta">Recent Posts</h1>
140143
<li class="post">
141144
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
142145
</li>
143-
<li class="post">
144-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
145-
</li>
146146
</ul>
147147
</section>
148148
</div>

blog/2015/03/01/home-assistant-migrating-to-yaml/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ <h1 class="title delta">Share this post</h1>
122122
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
123123
<h1 class="title delta">Recent Posts</h1>
124124
<ul class="divided">
125+
<li class="post">
126+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
127+
</li>
125128
<li class="post">
126129
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
127130
</li>
@@ -134,9 +137,6 @@ <h1 class="title delta">Recent Posts</h1>
134137
<li class="post">
135138
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
136139
</li>
137-
<li class="post">
138-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
139-
</li>
140140
</ul>
141141
</section>
142142
</div>

blog/2015/03/08/new-logo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ <h1 class="title delta">Share this post</h1>
125125
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
126126
<h1 class="title delta">Recent Posts</h1>
127127
<ul class="divided">
128+
<li class="post">
129+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
130+
</li>
128131
<li class="post">
129132
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
130133
</li>
@@ -137,9 +140,6 @@ <h1 class="title delta">Recent Posts</h1>
137140
<li class="post">
138141
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
139142
</li>
140-
<li class="post">
141-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
142-
</li>
143143
</ul>
144144
</section>
145145
</div>

blog/2015/03/11/release-notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ <h1 class="title delta">Share this post</h1>
150150
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
151151
<h1 class="title delta">Recent Posts</h1>
152152
<ul class="divided">
153+
<li class="post">
154+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
155+
</li>
153156
<li class="post">
154157
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
155158
</li>
@@ -162,9 +165,6 @@ <h1 class="title delta">Recent Posts</h1>
162165
<li class="post">
163166
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
164167
</li>
165-
<li class="post">
166-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
167-
</li>
168168
</ul>
169169
</section>
170170
</div>

blog/2015/03/22/release-notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ <h1 class="title delta">Share this post</h1>
186186
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
187187
<h1 class="title delta">Recent Posts</h1>
188188
<ul class="divided">
189+
<li class="post">
190+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
191+
</li>
189192
<li class="post">
190193
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
191194
</li>
@@ -198,9 +201,6 @@ <h1 class="title delta">Recent Posts</h1>
198201
<li class="post">
199202
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
200203
</li>
201-
<li class="post">
202-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
203-
</li>
204204
</ul>
205205
</section>
206206
</div>

blog/2015/04/25/release-notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ <h1 class="title delta">Share this post</h1>
194194
<section id="recent-posts" class="aside-module grid__item one-whole lap-one-half">
195195
<h1 class="title delta">Recent Posts</h1>
196196
<ul class="divided">
197+
<li class="post">
198+
<a href="/blog/2017/04/25/influxdb-grafana-docker/">Setting up InfluxDB and Grafana using Docker</a>
199+
</li>
197200
<li class="post">
198201
<a href="/blog/2017/04/24/hardware-contest-2017/">Hardware Contest 2017</a>
199202
</li>
@@ -206,9 +209,6 @@ <h1 class="title delta">Recent Posts</h1>
206209
<li class="post">
207210
<a href="/blog/2017/04/15/ios/">1 year and 22 days ago I had an idea...</a>
208211
</li>
209-
<li class="post">
210-
<a href="/blog/2017/04/08/eddystone-beacons-lockitron-locks-total-connect/">Home Assistant 0.42: Eddystone Beacons, Lockitron locks and Total Connect alarm systems</a>
211-
</li>
212212
</ul>
213213
</section>
214214
</div>

0 commit comments

Comments
 (0)