Site updated at 2017-12-03 14:35:15 UTC
This commit is contained in:
parent
760ff5832e
commit
ce6c5b8ee1
1629 changed files with 9107 additions and 3280 deletions
|
@ -135,6 +135,7 @@ The frontend has a template editor developer tool to help develop and debug temp
|
|||
<li><code class="highlighter-rouge">relative_time(timestamp)</code> will format the date time as relative time vs now (ie 7 seconds)</li>
|
||||
<li><code class="highlighter-rouge">float</code> will format the output as float.</li>
|
||||
<li><code class="highlighter-rouge">strptime(string, format)</code> will parse a string to a datetime based on a <a href="https://docs.python.org/3.4/library/datetime.html#strftime-and-strptime-behavior">format</a>.</li>
|
||||
<li><code class="highlighter-rouge">log(value, base)</code> will take the logarithm of the input. When the base is omitted, it defaults to <code class="highlighter-rouge">e</code> - the natural logarithm. Can also be used as a filter.</li>
|
||||
<li>Filter <code class="highlighter-rouge">round(x)</code> will convert the input to a number and round it to <code class="highlighter-rouge">x</code> decimals.</li>
|
||||
<li>Filter <code class="highlighter-rouge">timestamp_local</code> will convert an UNIX timestamp to local time/data.</li>
|
||||
<li>Filter <code class="highlighter-rouge">timestamp_utc</code> will convert an UNIX timestamp to UTC time/data.</li>
|
||||
|
@ -286,6 +287,8 @@ Closest to an entity: {{ closest(states.zone.school, 'group.children') }}
|
|||
# Math
|
||||
{{ value_json | float * 1024 }}
|
||||
{{ float(value_json) * (2**10) }}
|
||||
{{ value_json | log }}
|
||||
{{ log(1000, 10) }}
|
||||
|
||||
# Timestamps
|
||||
{{ value_json.tst | timestamp_local }}
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
<b>Condition</b>: <p><a href="/docs/scripts/conditions/">Conditions</a> are an optional part of an automation that will prevent an action from firing if they are not met.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Cookbook</b>: <p>The <a href="/cookbook/">Cookbook</a> contains a set of configuration examples of Home Assistant from the community</p>
|
||||
<b>Cookbook</b>: <p>The <a href="/cookbook/">Cookbook</a> contains a set of configuration examples of Home Assistant from the community.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Customize</b>: <p><a href="/docs/configuration/customizing-devices/">Customization</a> allows you to overwrite the default parameter of your devices in the configuration.</p>
|
||||
|
@ -117,7 +117,7 @@
|
|||
<b>HADashboard</b>: <p><a href="/docs/ecosystem/hadashboard/">HADashboard</a> is a modular, skinnable dashboard for Home Assistant that is intended to be wall mounted, and is optimized for distance viewing.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Hass.io</b>: <p><a href="/hassio/">Hass.io</a> is an operating system that will take care of installing and updating Home Assistant, is managed from the Home Assistant UI, allows creating/restoring snapshots of your configuration, and can easily be extended</p>
|
||||
<b>Hass.io</b>: <p><a href="/hassio/">Hass.io</a> is an operating system that will take care of installing and updating Home Assistant, is managed from the Home Assistant UI, allows creating/restoring snapshots of your configuration, and can easily be extended.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Hassbian</b>: <p><a href="/docs/installation/hassbian/">Hassbian</a> is a customized operating system specifically tailored for Raspberry Pi users. It is one of the easiest way of installing and running Home Assistant on a Raspberry Pi.</p>
|
||||
|
@ -132,7 +132,7 @@
|
|||
<b>Scene</b>: <p><a href="/components/scene/">Scenes</a> capture the states you want certain entities to be. For example a scene can specify that light A should be turned on and light B should be bright red.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Script</b>: <p><a href="/docs/scripts/">Scripts</a> are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on</p>
|
||||
<b>Script</b>: <p><a href="/docs/scripts/">Scripts</a> are components that allow users to specify a sequence of actions to be executed by Home Assistant when turned on.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>Service</b>: <p><a href="/docs/scripts/service-calls/">Services</a> are called to perform actions.</p>
|
||||
|
@ -147,7 +147,7 @@
|
|||
<b>Zone</b>: <p><a href="/components/zone/">Zones</a> are areas that can be used for presence detection.</p>
|
||||
</li>
|
||||
<li>
|
||||
<b>hass</b>: <p>HASS or <a href="/docs/tools/hass/">hass</a> is often used as an abbreviation for Home Assistant. It is aslo the comand line tool for accessing</p>
|
||||
<b>hass</b>: <p>HASS or <a href="/docs/tools/hass/">hass</a> is often used as an abbreviation for Home Assistant. It is also the command line tool.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
|
|
@ -164,6 +164,22 @@ Battery powered devices need to be awake before you can use the Z-Wave control p
|
|||
<h3><a class="title-link" name="node-config-options" href="#node-config-options"></a> Node config options</h3>
|
||||
<p>You can set the <em>wakeup</em> interval (in seconds) of the device, this is shown for all devices that can be battery powered, even if they are currently mains powered. The wakeup interval only applies when those devices are battery powered.</p>
|
||||
<p>Underneath that you can select any supported configuration parameter to see the current setting. You can then change this and select <strong>Set Config Parameter</strong> to updated it. Battery powered devices will be updated the next time they wake.</p>
|
||||
<h2><a class="title-link" name="node-user-codes" href="#node-user-codes"></a> Node user codes</h2>
|
||||
<p>If your node has user codes, you can set and delete them. The format is raw hex Ascii code. Bellow the input you will see your actual code. For normal nodes this is as follows:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">\x30 = 0</span>
|
||||
<span class="s">\x31 = 1</span>
|
||||
<span class="s">\x32 = 2</span>
|
||||
<span class="s">\x33 = 3</span>
|
||||
<span class="s">\x34 = 4</span>
|
||||
<span class="s">\x35 = 5</span>
|
||||
<span class="s">\x36 = 6</span>
|
||||
<span class="s">\x37 = 7</span>
|
||||
<span class="s">\x38 = 8</span>
|
||||
<span class="s">\x39 = 9</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Some non compliant device like tag readers, have implemented to use raw hex code.
|
||||
Please refer to a hex ascii table to set your code. Example: http://www.asciitable.com/</p>
|
||||
<h2><a class="title-link" name="ozw-log" href="#ozw-log"></a> OZW Log</h2>
|
||||
<p>If you want to only retrieve some lines at the end of the log, you can specify that with the selection field. Max is the last 1000 lines and minimum is 0 which equals the whole log. If this is not specified, you will retrieve the whole log.
|
||||
Select <strong>Refresh</strong> to display the log if you need it to check activities.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue