Site updated at 2018-01-17 12:29:18 UTC

This commit is contained in:
Travis CI 2018-01-17 12:29:18 +00:00
parent 6ee5a9a7e6
commit 0588f1a95f
37 changed files with 260 additions and 90 deletions

View file

@ -132,7 +132,6 @@ The frontend has a template editor developer tool to help develop and debug temp
<li><code class="highlighter-rouge">as_timestamp()</code> will convert datetime object or string to UNIX timestamp</li>
<li><code class="highlighter-rouge">distance()</code> will measure the distance in meters between home, entity, coordinates.</li>
<li><code class="highlighter-rouge">closest()</code> will find the closest entity.</li>
<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>

View file

@ -93,7 +93,7 @@ Dont use the OpenZWave control panel (OZWCP), <strong>or the physical button
<p>A valid network key will be a 16 byte value, defined in the zwave section of your configuration, such as the following example:</p>
<div class="highlighter-rouge"><pre class="highlight"><code>zwave:
usb_path: /dev/ttyACM0
network_key: "0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F 0x10"
network_key: "0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10"
</code></pre>
</div>
<p>Each individual value in the defined key can be anywhere from 0x00 to 0xFF. Define your own key by making changes to the above example key or for additional security try one of the two scripts mentioned below.</p>