-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIOT_connectNode.html
32 lines (30 loc) · 1011 Bytes
/
IOT_connectNode.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
<script type="text/javascript">
RED.nodes.registerType('IOT Send',{
category: 'IOT Control_center',
color: '#78A3FF',
defaults: {
name: {value:""},
// ip: {value:"", required:true}
},
inputs:1,
outputs:0,
icon: "bridge.svg",
label: function() {
return this.name||"IOT Send";
}
});
</script>
<script type="text/html" data-template-name="IOT Send">
<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-ip"><i class="fa fa-location-arrow"></i> IP-address</label>
<input type="text" id="node-input-ip" placeholder="127.0.0.1">
</div> -->
</script>
<script type="text/html" data-help-name="IOT Send">
<p>Node to send data to the polygon (before that, use the "Function" node)</p>
</script>