@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.
47 lines (42 loc) • 1.81 kB
HTML
<!--
Copyright (c) 2025 Parallax AV Design Inc.
All rights reserved.
This software is licensed, not sold. You may not copy, modify, merge,
publish, distribute, sublicense, or sell copies of this file or substantial
portions of it except as expressly permitted by the LICENSE file included
with this package. Use is restricted to building manifests for the
Parallax Control Node-RED nodes. See LICENSE for details.
-->
<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>