Site updated at 2017-10-21 23:33:52 UTC
This commit is contained in:
parent
b95006b9eb
commit
a6fbc15960
1416 changed files with 21669 additions and 4045 deletions
|
@ -23,7 +23,7 @@
|
|||
<meta name="twitter:title" content="MQTT Room Presence">
|
||||
<meta name="twitter:description" content="Instructions on how to track room presence within Home Assistant.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/stylesheets/screen.css" media="screen, projection, print" 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' />
|
||||
|
@ -92,7 +92,7 @@
|
|||
<li><strong>name</strong> (<em>Optional</em>): The name of the sensor.</li>
|
||||
<li><strong>state_topic</strong> (<em>Optional</em>): The topic that contains all subtopics for the rooms.</li>
|
||||
<li><strong>timeout</strong> (<em>Optional</em>): The time in seconds after which a room presence state is considered old. An example: device1 is reported at scanner1 with a distance of 1. No further updates are sent from scanner1. After 5 seconds scanner2 reports device1 with a distance of 2. The old location info is discarded in favor of the new scanner2 information as the timeout has passed.</li>
|
||||
<li><strong>away_timeout</strong> (<em>Optional</em>): The time in seconds after which the state should be set to <code class="highlighter-rouge">away</code> if there were no updates. <code class="highlighter-rouge">0</code> disables the check and is the default.</li>
|
||||
<li><strong>away_timeout</strong> (<em>Optional</em>): The time in seconds after which the state should be set to <code class="highlighter-rouge">not_home</code> if there were no updates. <code class="highlighter-rouge">0</code> disables the check and is the default.</li>
|
||||
</ul>
|
||||
<p>Example JSON that should be published to the room topics:</p>
|
||||
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue