@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.
64 lines (59 loc) • 2.67 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('biamp-tesira-connect', {
category: 'parallax',
color: '#C0C0C0',
defaults: {
name: { value: "" },
ip: { value: "", required: true, validate: RED.validators.regex(/^(\d{1,3}\.){3}\d{1,3}$/) }, // New IP address field with validation
user: { value: "admin"}, // Default username
pass: { value: "" }
},
inputs: 1,
outputs: 1,
icon: "font-awesome/fa-server", // Replace with a relevant icon
label: function() {
return this.name || "biamp-tesira-connect";
},
labelStyle: function() {
return this.name ? "biamp-tesira-connect" : "";
}
});
</script>
<script type="text/html" data-template-name="biamp-tesira-connect">
<!-- 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>
<!-- ip address -->
<div class="form-row">
<label for="node-input-ip"><i class="icon-globe"></i> IP Address</label>
<input type="text" id="node-input-ip" placeholder="Enter the device IP address">
</div>
<!-- username -->
<div class="form-row">
<label for="node-input-user"><i class="icon-globe"></i> Username</label>
<input type="text" id="node-input-user" value="admin" placeholder="Enter the username">
</div>
<!-- password -->
<div class="form-row">
<label for="node-input-pass"><i class="icon-globe"></i> Password</label>
<input type="text" id="node-input-pass" placeholder="Enter the password">
</div>
<!-- info -->
<small id="inputHelpBlock" class="form-text text-muted">
<p>Enter device IP, Username and Password<br>
</small>
</script>
<script type="text/html" data-help-name="biamp-tesira-connect">
<p>Hardware Node: connects to a Biamp Tesira audio system over the network. Provides the transport layer and communication management needed for control and monitoring of the Tesira DSP nodes. Other Tesira command nodes depend on this connection node to be present</p>
</script>