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.

41 lines (36 loc) 1.24 kB
<script type="text/javascript"> RED.nodes.registerType('cm4-pro-digital-input', { category: 'parallax', color: '#C0C0C0', defaults: { name: { value: "" }, //numInputs: { value: 3, required: true } }, inputs: 0, outputs: 2, icon: "font-awesome/fa-arrows-v", label: function() { return this.name || "cm4-pro-digital-input"; }, labelStyle: function() { return this.name ? "node_label_italic" : ""; } }); </script> <script type="text/html" data-template-name="cm4-pro-digital-input"> <!-- 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> <div> <small> <p>This node is triggered on a digital input event.</p> <p>Outputs: JSON Object, i.e.: {"Input": 1, "Value": true}</p> </small> </div> </script> <script type="text/html" data-help-name="cm4-pro-digital-input"> <p>This node is triggered on a digital input event. </p> <p>Outputs: JSON Object, i.e.: {"Input": 1, "Value": true} </p> </script>