node-red-contrib-spruthub
Version:
Sprut.hub connectivity nodes for node-red
25 lines (21 loc) • 1.52 kB
HTML
<script type="text/x-red" data-help-name="spruthub-in">
<p>This node listens to messages sent from your Sprut.hub</p>
<h3>Configuration</h3>
<dl class="message-properties">
<dt class="optional">Name <span class="property-type">string</span></dt><dd>Choose any name to identify your node</dd>
<dt>Sprut.hub <span class="property-type">object</span></dt><dd>Choose instance to use</dd>
<dt>Accessory <span class="property-type">string</span></dt><dd>Select accessories to listen to</dd>
<!-- <dt class="optional">Show hidden accessories <span class="property-type">boolean</span></dt><dd></dd>-->
<dt class="optional">Enable multiple select <span class="property-type">boolean</span></dt><dd></dd>
<dt class="optional">Start output <span class="property-type">boolean</span></dt><dd>Output state on reconnect.<br>
<b><i>notice:</i></b> does not output on "Deploy only modified nodes" while there are no changes in current node</dd>
</dl>
<h3>Outputs</h3>
<h5>Output</h5>
<dl class="message-properties">
<dt>payload <span class="property-type">string|object</span></dt><dd></dd>
<dt>topic<span class="property-type">string</span></dt><dd>mqtt topic</dd>
<dt>meta<span class="property-type">object</span></dt><dd>service and characteristic info</dd>
<dt>math<span class="property-type">object</span></dt><dd>math result for multiple selected accessories</dd>
</dl>
</script>