UNPKG

@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.

72 lines (68 loc) 3.15 kB
<!-- 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('system-management', { category: 'parallax', color: '#C0C0C0', defaults: { name: { value: "" }, makeSelection: { value: "", required: true } }, inputs: 1, outputs: 1, icon: "font-awesome/fa-cog", label: function() { return this.name || "system management"; }, defaults:{ name: { name: "", required: false }, makeSelection: { value: "" } } }); </script> <script type="text/html" data-template-name="system-management"> <!-- 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> <!-- Selection --> <div class="form-row"> <label for="node-input-makeSelection"><i class="icon-tag"></i> Make Selection</label> <select id="node-input-makeSelection"> <option value="Run System Update">Run System Update</option> <option value="Clear All Node-RED Flows">Clear All Node-RED Flows</option> <option value="Restart Processor">Restart Processor</option> <option value="Restart Node-RED Server">Restart Node-RED Server</option> <option value="Show Or Hide SSID">Show Or Hide SSID</option> <option value="Clear Uploads Folder">Clear Uploads Folder</option> <option value="Get System Temp">Get System Temp</option> <option value="Get Board Model">Get Board Model</option> <option value="Get IP State">Get IP State</option> <option value="Get Mac Address">Get Mac Address</option> <option value="Get Hostname">Get Hostname</option> <option value="Get OS Version">Get OS Version</option> <option value="Get Serial Number">Get Serial Number</option> <option value="Get IP Address">Get IP Address</option> <option value="Get System Uptime">Get System Uptime</option> </select> </div> <!-- Node Property Window Notes --> <div> <small> <p>Sends the selected command to the processor. Note: it will not execute on your local machine. </p> <p>Expects: JSON Object, i.e.: {"Value": true} </p> </small> </div> </script> <script type="text/html" data-help-name="system-management"> <p>This node performs system management tasks based on the selected action. Choose an action from the dropdown menu and the node will execute the corresponding command.</p> <p>Expects: JSON Object, i.e.: {"Value": true} </p> </script>