@mikw99/nodered-osc-to-emberplus
Version:
a specialzed node to bridge osc-values to a lawo-console
44 lines (39 loc) • 1.48 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('ember-in',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:""},
clientIP: {value:""},
clientPort: {value: 9000},
clientTimeOut: {value: 5000}
},
inputs: 1,
outputs: 2,
icon: "file.svg",
label: function() {
return this.name||"ember-in";
}
});
</script>
<script type="text/html" data-template-name="ember-in">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-clientIP"><i class="fa fa-tag"></i> IP </label>
<input type="text" id="node-input-clientIP" placeholder="Client IP">
</div>
<div class="form-row">
<label for="node-input-clientPort"><i class="fa fa-tag"></i> Name</label>
<input type="number" id="node-input-clientPort" placeholder="Client Port">
</div>
<div class="form-row">
<label for="node-input-clientTimeOut"><i class="fa fa-tag"></i> Timeout</label>
<input type="number" id="node-input-clientTimeOut" placeholder="TimeOut in ms">
</div>
</script>
<script type="text/html" data-help-name="ember-in">
<p>A specialized node that converts ember+ values of a Lawo console to osc messages.</p>
</script>