Site updated at 2017-07-30 07:19:46 UTC

This commit is contained in:
Travis CI 2017-07-30 07:19:46 +00:00
parent 28eedc8a2c
commit 771141b39e
26 changed files with 119 additions and 87 deletions

View file

@ -4,7 +4,7 @@
<title><![CDATA[Home Assistant]]></title>
<link href="https://home-assistant.io/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Media | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<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/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -4,7 +4,7 @@
<title><![CDATA[Category: Website | Home Assistant]]></title>
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
<link href="https://home-assistant.io/"/>
<updated>2017-07-30T06:47:17+00:00</updated>
<updated>2017-07-30T07:10:59+00:00</updated>
<id>https://home-assistant.io/</id>
<author>
<name><![CDATA[Home Assistant]]></name>

View file

@ -76,77 +76,109 @@
</header>
<hr class="divider">
<script src="https://unpkg.com/mqtt@2.9.3/dist/mqtt.min.js"></script>
<form id='connection'>
<table>
<tr>
<td>
MQTT Websocket Server<br>
<small>Default of Home Assistant embedded websocket server is <code>ws://localhost:8080</code>.</small>
</td>
<td><input name='host' value="ws://localhost:8080" size="30" /></td>
</tr>
<tr>
<td></td>
<td><button>Connect</button></td>
</tr>
</table>
<style>
.mqtt-form input {
margin-bottom: 24px;
}
</style>
<form id='connection' class='mqtt-form'>
<div class="grid">
<div class="grid__item one-half lap-one-half palm-one-whole">
<label for="host">MQTT Websocket Server</label>
<small>Default for the Home Assistant embedded websocket server is <code>ws://localhost:8080</code>.</small>
<br><br>
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<input name='host' value="ws://localhost:8080" style='width: 100%' />
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<label for="password">API Password</label>
<small>Enter your Home Assistant password. This is required to connect to the MQTT server. This password will not be stored!</small>
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<input type='password' name='password' value="" style='width: 100%' />
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<button>Connect</button>
</div>
</div>
</form>
<div id='connectionStatus' style='display: none'>
<div id='connectionStatus' class="grid push--bottom" style='display: none'>
<div class="grid__item one-half lap-one-half palm-one-whole">
Host <span id='host'></span>. Status: <span id='status'></span>.
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<button id='disconnectButton'>Disconnect</button>
</div>
</div>
<form id='publisher' style='display: none;'>
<table>
<tr>
<td>Topic</td>
<td>
<form id='publisher' style='display: none;' class='mqtt-form'>
<div class="grid">
<div class="grid__item one-half lap-one-half palm-one-whole">
<label for="topic">Topic</label>
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<input
name='topic'
value="homeassistant/kitchen/temperature"
size="30"
style='width: 100%'
/>
</td>
</tr>
<tr>
<td>Payload</td>
<td>
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
Payload
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
<textarea name='payload'>23</textarea>
</td>
</tr>
<tr>
<td></td>
<td><button>Publish</button></td>
</tr>
</table>
</div>
<div class="grid__item one-half lap-one-half palm-one-whole">
</div>
<div class="grid__item one-half lap-one-half palm-one-whole push--top">
<button>Publish</button>
</div>
</div>
</form>
<script>
function updateStatus(status) {
document.getElementById('status').innerText = status;
}
function show(el) {
document.getElementById(el).style.display = 'block';
}
function hide(el) {
document.getElementById(el).style.display = 'none';
}
document.getElementById('connection').addEventListener('submit', function (ev) {
ev.preventDefault();
if (window.client) {
window.client.end();
}
var host = ev.target.querySelector('input').value;
window.client = mqtt.connect(host);
var host = ev.target.querySelector('input[name=host]').value;
var password = ev.target.querySelector('input[name=password]').value;
var options = {};
if (password) {
options.username = 'homeassistant';
options.password = password;
}
window.client = mqtt.connect(host, options);
console.log('Connecting')
document.getElementById('host').innerText = host;
updateStatus("Connecting");
document.getElementById('connection').style.display = 'none';
document.getElementById('connectionStatus').style.display = 'block';
hide('connection');
show('connectionStatus');
window.client.on("connect", function () {
console.log('Connected')
updateStatus("Connected");
document.getElementById('publisher').style.display = 'block';
hide('connection');
show('connectionStatus');
show('publisher');
})
window.client.on("close", function () {
console.log('Connection closed')
updateStatus("Disconnected");
document.getElementById('connection').style.display = 'block';
document.getElementById('connectionStatus').style.display = 'none';
document.getElementById('publisher').style.display = 'none';
show('connection');
hide('connectionStatus');
hide('publisher');
})
});
document.getElementById('publisher').addEventListener('submit', function (ev) {

View file

@ -3822,62 +3822,62 @@
</url>
<url>
<loc>https://home-assistant.io/demo/frontend.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/index.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:36+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:37+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:37+00:00</lastmod>
</url>
<url>
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
<lastmod>2017-07-30T06:45:42+00:00</lastmod>
<lastmod>2017-07-30T07:09:37+00:00</lastmod>
</url>
</urlset>