Site updated at 2017-04-08 23:38:08 UTC
This commit is contained in:
parent
0b450989d5
commit
b671c3bdf9
536 changed files with 6498 additions and 1728 deletions
|
@ -147,6 +147,26 @@ When re-flashing the Arduino MEGA, disconnect the ESP8266 to avoid programming d
|
|||
<li>The platform implementions take care of creating new devices (if enabled) for unsees incoming packet id’s.</li>
|
||||
<li>Device entities take care of matching to the packet ID, interpreting and performing actions based on the packet contents. Common entitiy logic is maintained in this main component.</li>
|
||||
</ul>
|
||||
<h3><a class="title-link" name="debug-logging" href="#debug-logging"></a> Debug logging</h3>
|
||||
<p>For debugging purposes or context when investigating issues you can enable debug logging for Rflink with the following config snippet:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">logger</span><span class="pi">:</span>
|
||||
<span class="s">default</span><span class="pi">:</span> <span class="s">error</span>
|
||||
<span class="s">logs</span><span class="pi">:</span>
|
||||
<span class="s">rflink</span><span class="pi">:</span> <span class="s">debug</span>
|
||||
<span class="s">homeassistant.components.rflink</span><span class="pi">:</span> <span class="s">debug</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>This will give you output looking like this:</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] received data: 20;00;Nod
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] received data: o RadioFrequencyLink - R
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] received data: FLink Gateway V1.1 - R45
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] received data: ;
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] got packet: 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R45;
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] decoded packet: {'firmware': 'RFLink Gateway', 'revision': '45', 'node': 'gateway', 'protocol': 'unknown', 'hardware': 'Nodo RadioFrequencyLink', 'version': '1.1'}
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [rflink.protocol] got event: {'version': '1.1', 'firmware': 'RFLink Gateway', 'revision': '45', 'hardware': 'Nodo RadioFrequencyLink', 'id': 'rflink'}
|
||||
17-03-07 20:12:05 DEBUG (MainThread) [homeassistant.components.rflink] event of type unknown: {'version': '1.1', 'firmware': 'RFLink Gateway', 'revision': '45', 'hardware': 'Nodo RadioFrequencyLink', 'id': 'rflink'}
|
||||
</code></pre>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
|
@ -272,6 +292,9 @@ When re-flashing the Arduino MEGA, disconnect the ESP8266 to avoid programming d
|
|||
<li>
|
||||
<a href='/components/rfxtrx/'>RFXtrx</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/ring/'>Ring</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/scsgate/'>SCSGate</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue