-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalexa-bridge.html
31 lines (29 loc) · 1.01 KB
/
alexa-bridge.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
<script type="text/x-red" data-template-name="Alexa-Bridge">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" style="width: 250px;"></input>
</div>
<div class="form-row">
<label for="node-config-input-port"><i class="icon-bookmark"></i> Port Number</label>
<input type="text" id="node-config-input-port"></input>
</div>
</script>
<script type="text/x-red" data-help-name="Alexa-Bridge">
<p>Provide a bridge type connection for Alexa devices</p>
</script>
<script type="text/javascript">
RED.nodes.registerType("Alexa-Bridge",{
category: 'config',
color: '#a6bbcf',
defaults: {
port: {value: "8082", required: true},
name: {value:"alexa bridge", required: false}
},
inputs:0,
outputs:0,
icon: "light.png",
label: function() {
return this.name||"alexa bridge";
}
});
</script>