Site updated at 2018-02-15 21:55:22 UTC

This commit is contained in:
Travis CI 2018-02-15 21:55:22 +00:00
parent a71dfbbef1
commit 1621dc9ebd
27 changed files with 87 additions and 74 deletions

View file

@ -176,13 +176,13 @@
</dd>
<dt><a class="title-link" name="tls_version" href="#tls_version"></a> tls_version</dt>
<dd>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">TLS/SSL protocol version to use. Available options are: <code class="highlighter-rouge">auto</code>, <code class="highlighter-rouge">1.0</code>, <code class="highlighter-rouge">1.1</code>, <code class="highlighter-rouge">1.2</code>. Defaults to <code class="highlighter-rouge">auto</code>.</span></p>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">TLS/SSL protocol version to use. Available options are: <code class="highlighter-rouge">'auto'</code>, <code class="highlighter-rouge">'1.0'</code>, <code class="highlighter-rouge">'1.1'</code>, <code class="highlighter-rouge">'1.2'</code>. Make sure to put quotes around the value. Defaults to <code class="highlighter-rouge">'auto'</code>.</span></p>
</dd>
</dl>
</div>
<p class="note warning">
There is an issue with the Mosquitto package included in Ubuntu 14.04 LTS. Specify <code class="highlighter-rouge">protocol: 3.1</code> in your MQTT configuration to work around this issue.
If you get this error <code class="highlighter-rouge">AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'</code> then you need to set <code class="highlighter-rouge">tls_version: 1.2</code>.
If you get this error <code class="highlighter-rouge">AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'</code> then you need to set <code class="highlighter-rouge">tls_version: '1.2'</code>.
</p>
<p class="note">
If you are running a Mosquitto instance on a different server with proper SSL encryption using a service like Lets Encrypt you may have to set the certificate to the operating systems own <code class="highlighter-rouge">.crt</code> certificates file. In the instance of Ubuntu this would be <code class="highlighter-rouge">certificate: /etc/ssl/certs/ca-certificates.crt</code>

View file

@ -180,6 +180,19 @@ Battery powered devices need to be awake before you can use the Z-Wave control p
</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>
<p>Here is a small Python program than will take numbers on the command line and print the correct sequence for compliant devices:</p>
<div class="language-python highlighter-rouge"><pre class="highlight"><code><span class="c">#! /usr/bin/python3</span>
<span class="kn">import</span> <span class="nn">sys</span>
<span class="n">translations</span> <span class="o">=</span> <span class="p">{}</span>
<span class="k">for</span> <span class="n">x</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">):</span>
<span class="n">translations</span><span class="p">[</span><span class="s">"</span><span class="si">%</span><span class="s">s"</span> <span class="o">%</span> <span class="n">x</span><span class="p">]</span> <span class="o">=</span> <span class="s">"</span><span class="se">\\</span><span class="s">x3</span><span class="si">%</span><span class="s">s"</span> <span class="o">%</span> <span class="n">x</span>
<span class="k">for</span> <span class="n">c</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">]:</span>
<span class="k">print</span><span class="p">(</span><span class="n">translations</span><span class="p">[</span><span class="n">c</span><span class="p">],</span> <span class="n">end</span><span class="o">=</span><span class="s">''</span><span class="p">)</span>
</code></pre>
</div>
<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>