Site updated at 2016-06-04 15:40:20 UTC

This commit is contained in:
Travis CI 2016-06-04 15:40:20 +00:00
parent 41be8cb2c7
commit d214dd5fb3
26 changed files with 67 additions and 45 deletions

View file

@ -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>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Community | Home Assistant]]></title> <title><![CDATA[Category: Community | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title> <title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title> <title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: How-To | Home Assistant]]></title> <title><![CDATA[Category: How-To | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: iBeacons | Home Assistant]]></title> <title><![CDATA[Category: iBeacons | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title> <title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: MQTT | Home Assistant]]></title> <title><![CDATA[Category: MQTT | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Organisation | Home Assistant]]></title> <title><![CDATA[Category: Organisation | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title> <title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title> <title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title> <title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -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>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Survey | Home Assistant]]></title> <title><![CDATA[Category: Survey | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Talks | Home Assistant]]></title> <title><![CDATA[Category: Talks | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Technology | Home Assistant]]></title> <title><![CDATA[Category: Technology | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: User-Stories | Home Assistant]]></title> <title><![CDATA[Category: User-Stories | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Video | Home Assistant]]></title> <title><![CDATA[Category: Video | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/> <link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/> <link href="https://home-assistant.io/"/>
<updated>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -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>2016-06-04T12:36:14+00:00</updated> <updated>2016-06-04T15:39:47+00: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>

View file

@ -123,6 +123,7 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/states/binary_sensor.radio http://localhost:8123/api/states/binary_sensor.radio
{ {
&quot;attributes&quot;: { &quot;attributes&quot;: {
@ -161,7 +162,7 @@ print(response.text)
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ http -v POST http://localhost:8123/api/states/binary_sensor.radio \ <div class="code"><pre>$ http -v POST http://localhost:8123/api/states/binary_sensor.radio \
x-ha-access:YOUR_PASSWORD state=off \ x-ha-access:YOUR_PASSWORD content-type:application/json state=off \
attributes:='{&quot;friendly_name&quot;: &quot;Radio&quot;}' attributes:='{&quot;friendly_name&quot;: &quot;Radio&quot;}'
</pre></div> </pre></div>
</div> </div>

View file

@ -107,6 +107,7 @@
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
-d '{&quot;payload&quot;: &quot;Test message from HA&quot;, &quot;topic&quot;: &quot;home/notification&quot;}' \ -d '{&quot;payload&quot;: &quot;Test message from HA&quot;, &quot;topic&quot;: &quot;home/notification&quot;}' \
http://IP_ADDRESS:8123/api/services/mqtt/publish http://IP_ADDRESS:8123/api/services/mqtt/publish
</pre></div> </pre></div>

View file

@ -112,7 +112,8 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
<p>For a quick test <code>curl</code> can be useful to “simulate” a device.</p> <p>For a quick test <code>curl</code> can be useful to “simulate” a device.</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -XPOST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
-d '{&quot;state&quot;: &quot;20&quot;, &quot;attributes&quot;: {&quot;unit_of_measurement&quot;: &quot;°C&quot;, &quot;friendly_name&quot;: &quot;Bathroom Temp&quot;}}' \ -d '{&quot;state&quot;: &quot;20&quot;, &quot;attributes&quot;: {&quot;unit_of_measurement&quot;: &quot;°C&quot;, &quot;friendly_name&quot;: &quot;Bathroom Temp&quot;}}' \
http://localhost:8123/api/states/sensor.bathroom_temperature http://localhost:8123/api/states/sensor.bathroom_temperature
</pre></div> </pre></div>
@ -123,6 +124,7 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/states/sensor.bathroom_temperature http://localhost:8123/api/states/sensor.bathroom_temperature
{ {
&quot;attributes&quot;: { &quot;attributes&quot;: {

View file

@ -113,7 +113,7 @@
<p>Check if you are able to access the device located at <code>http://IP_ADRRESS</code>. The details about your switch is provided as a JSON response.</p> <p>Check if you are able to access the device located at <code>http://IP_ADRRESS</code>. The details about your switch is provided as a JSON response.</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET http://IP_ADDRESS/report <div class="code"><pre>$ curl -X GET -H &quot;Content-Type: application/json&quot; http://IP_ADDRESS/report
{ {
&quot;power&quot;: 0, &quot;power&quot;: 0,
&quot;relay&quot;: false &quot;relay&quot;: false

View file

@ -103,6 +103,7 @@
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>curl -X GET \ <div class="code"><pre>curl -X GET \
-H &quot;x-ha-access: YOUR_PASSWORD&quot; \ -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://IP_ADDRESS:8123/ENDPOINT http://IP_ADDRESS:8123/ENDPOINT
</pre></div> </pre></div>
</div> </div>
@ -154,7 +155,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -190,7 +192,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/config <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/config
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -212,7 +215,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/discovery_info <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/discovery_info
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -234,7 +238,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/bootstrap <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/bootstrap
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -260,7 +265,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/events <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/events
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -291,7 +297,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/services <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/services
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -331,13 +338,17 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> commands:</p> <p>Sample <code>curl</code> commands:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/history/period/2016-02-06 <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/history/period/2016-02-06
</pre></div> </pre></div>
</div> </div>
</div> </div>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/history/period/2016-02-06?filter_entity_id=sensor.temperature <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/history/period/2016-02-06?filter_entity_id=sensor.temperature
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -367,7 +378,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/states <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/states
</pre></div> </pre></div>
</div> </div>
</div> </div>
@ -397,6 +409,7 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/states/sensor.kitchen_temperature http://localhost:8123/api/states/sensor.kitchen_temperature
</pre></div> </pre></div>
</div> </div>
@ -417,6 +430,7 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/error_log http://localhost:8123/api/error_log
</pre></div> </pre></div>
</div> </div>
@ -428,7 +442,8 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<p>Sample <code>curl</code> command:</p> <p>Sample <code>curl</code> command:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot;\ <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/camera_proxy/camera.my_sample_camera?time=1462653861261 -o image.jpg http://localhost:8123/api/camera_proxy/camera.my_sample_camera?time=1462653861261 -o image.jpg
</pre></div> </pre></div>
</div> </div>
@ -472,6 +487,7 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
-d '{&quot;state&quot;: &quot;25&quot;, &quot;attributes&quot;: {&quot;unit_of_measurement&quot;: &quot;°C&quot;}}' \ -d '{&quot;state&quot;: &quot;25&quot;, &quot;attributes&quot;: {&quot;unit_of_measurement&quot;: &quot;°C&quot;}}' \
http://localhost:8123/api/states/sensor.kitchen_temperature http://localhost:8123/api/states/sensor.kitchen_temperature
</pre></div> </pre></div>
@ -539,6 +555,7 @@ You can append <code>?api_password=YOUR_PASSWORD</code> to any url to log in aut
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; \
-d '{&quot;entity_id&quot;: &quot;switch.christmas_lights&quot;, &quot;state&quot;: &quot;on&quot;}' \ -d '{&quot;entity_id&quot;: &quot;switch.christmas_lights&quot;, &quot;state&quot;: &quot;on&quot;}' \
http://localhost:8123/api/services/switch/turn_on http://localhost:8123/api/services/switch/turn_on
</pre></div> </pre></div>
@ -572,8 +589,8 @@ The result will include any changed states that changed while the service was be
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \ <div class="code"><pre>$ curl -X POST -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-d '{&quot;template&quot;: &quot;It is !&quot;}' \ -H &quot;Content-Type: application/json&quot; \
http://localhost:8123/api/template -d '{&quot;template&quot;: &quot;It is !&quot;}' http://localhost:8123/api/template
</pre></div> </pre></div>
</div> </div>
</div> </div>

View file

@ -98,7 +98,8 @@
<p>There are various ways to access the stream. One is <code>curl</code>:</p> <p>There are various ways to access the stream. One is <code>curl</code>:</p>
<div class="highlighter-coderay"><div class="CodeRay"> <div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; http://localhost:8123/api/stream <div class="code"><pre>$ curl -X GET -H &quot;x-ha-access: YOUR_PASSWORD&quot; \
-H &quot;Content-Type: application/json&quot; http://localhost:8123/api/stream
</pre></div> </pre></div>
</div> </div>
</div> </div>

View file

@ -1701,26 +1701,26 @@
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/frontend.html</loc> <loc>https://home-assistant.io/demo/frontend.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:06+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/demo/index.html</loc> <loc>https://home-assistant.io/demo/index.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:06+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc> <loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:06+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc> <loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:07+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc> <loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:07+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://home-assistant.io/static/mdi-demo.html</loc> <loc>https://home-assistant.io/static/mdi-demo.html</loc>
<lastmod>2016-06-04T12:35:26+00:00</lastmod> <lastmod>2016-06-04T15:39:07+00:00</lastmod>
</url> </url>
</urlset> </urlset>