forked from pfiaux/node-red-contrib-neeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneeo-brain.html
39 lines (37 loc) · 1.21 KB
/
neeo-brain.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
34
35
36
37
38
39
<script type="text/javascript">
RED.nodes.registerType('neeo-brain', {
category: 'config',
defaults: {
name: { value: 'NEEO Brain', required: true },
ip: { value: '', required: true },
hostname: { value: '' },
},
label: function() {
return this.name;
}
});
</script>
<script type="text/x-red" data-template-name="neeo-brain">
<div class="form-row">
<label for="node-config-input-name"><i class="icon-bookmark"></i> Name</label>
<input type="text" id="node-config-input-name">
</div>
<div class="form-row">
<label for="node-config-input-ip"><i class="icon-bookmark"></i> IP</label>
<input type="text" id="node-config-input-ip">
</div>
<div class="form-row">
<label for="node-config-input-hostname"><i class="icon-bookmark"></i> Hostname</label>
<input type="text" id="node-config-input-hostname">
</div>
</script>
<script type="text/x-red" data-help-name="neeo-brain">
<p>
Enter the IP of your NEEO Brain for a manually managed Brain.
You can find the IP by going to settings about on the NEEO App or Remote.
</p>
<p>
TODO: Implement automated discovery to add one or all Brains found on
the network.
</p>
</script>