UNPKG

smart-nodes

Version:

Controls light, shutters and more. Includes common used logic and statistic nodes to control your home.

40 lines 1.83 kB
<script type="text/html" data-help-name="smart_forwarder"> <p>This node forwards a message if it has been enabled or if permanent forwarding is activated for the message.</p> <p> <b>Note:</b> Smart nodes use topics in the format <code>name#number</code>, so that different smart nodes can be controlled with the same topic.<br /> This node only uses the part <code>name</code>. <code>#</code> and <code>number</code> are optional. </p> <p> The following topics are accepted: <table> <thead> <tr> <th>Topic</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>debug</code></td> <td>Outputs current node settings in the debug window.</td> </tr> <tr> <td><code>enable</code></td> <td>Enables forwarding.</td> </tr> <tr> <td><code>disable</code></td> <td>Disables forwarding.</td> </tr> <tr> <td><code>set_forwarder</code> or <code>set_forwarder_state</code></td> <td>Enables forwarding if <code>msg.payload = true</code> or disables forwarding if <code>msg.payload = false</code>.</td> </tr> <tr> <td><code>set_forwarder_inverted</code> or <code>set_forwarder_state_inverted</code></td> <td>Enables forwarding if <code>msg.payload = false</code> or disables forwarding if <code>msg.payload = true</code>.</td> </tr> </tbody> </table> </p> </script>