@parallaxcontrol/node-red-control
Version:
A comprehensive package of Node-RED nodes designed to seamlessly integrate with the Parallax Control Engine, offering enhanced control capabilities for AV Automation.
37 lines (33 loc) • 1.38 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('save-signal-state', {
category: 'parallax',
color: '#C0C0C0',
defaults: {
name: { value: "" }
},
inputs: 1,
outputs: 1,
icon: "switch.svg", // Replace with a relevant icon
label: function() {
return this.name || "save-signal-state";
},
labelStyle: function() {
return this.name ? "node_label_italic" : "";
}
});
</script>
<script type="text/html" data-template-name="save-signal-state">
<!-- Name -->
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<!-- Node Property Window Notes -->
<div>
<small>Saves the input signal to persistent memory.</small>
</div>
</script>
<script type="text/html" data-help-name="save-signal-state">
<p> This node is used to save join states. It will extract the Value for the assocaited JoinID and save it to disk. Put this node prior to setting feedback to the touchpanel. The data will persist through reboot. </p>
<p>[Expected: User configuration of datatype. Expected a standard Digital, Analog, Serial or Digial_Dictionary, Analog_Dictionary, or Serial_Dictionary message. </p>
</script>