-
Notifications
You must be signed in to change notification settings - Fork 7
/
eiscp-in.html
33 lines (29 loc) · 1003 Bytes
/
eiscp-in.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<script type="text/x-red" data-template-name="eiscp-in">
<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 class="form-row">
<label for="node-input-controller"><i class="icon-bookmark"></i> Controller</label>
<input type="text" id="node-input-controller">
</div>
</script>
<script type="text/x-red" data-help-name="eiscp-in">
<p>Use this to <b>inject</b> flows from EISCP device<br/>
</script>
<script type="text/javascript">
RED.nodes.registerType('eiscp-in', {
category: 'input',
color: '#26b050',
defaults: {
name: {value: ""},
controller: {value: "", type: "eiscp-controller"}
},
inputs: 0,
outputs: 1,
icon: "bridge-dash.png",
label: function () {
return (this.groupaddr || this.name || "eiscp");
}
});
</script>