Site updated at 2016-09-29 04:44:35 UTC

This commit is contained in:
Travis CI 2016-09-29 04:44:35 +00:00
parent ddacba981c
commit 709c211c8f
482 changed files with 11714 additions and 1562 deletions

View file

@ -100,6 +100,7 @@
<span class="s">name</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Cool</span><span class="nv"> </span><span class="s">device'</span>
<span class="s">state_topic</span><span class="pi">:</span> <span class="s1">'</span><span class="s">room_presence'</span>
<span class="s">timeout</span><span class="pi">:</span> <span class="s">5</span>
<span class="s">away_timeout</span><span class="pi">:</span> <span class="s">60</span>
</code></pre>
</div>
@ -110,6 +111,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 secoonds scanner2 reports device 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>
</ul>
<p>Example JSON that should be published to the room topics:</p>