CAPAUT-253 FIrst stable implementation
This commit is contained in:
39
systacomfort2/systacomfort2.html
Normal file
39
systacomfort2/systacomfort2.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('systacomfort2', {
|
||||
category: 'captica',
|
||||
color: '#37BEE4',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
topicPrefix: {value:""},
|
||||
listenPort: {value:""}
|
||||
},
|
||||
inputs: 0,
|
||||
outputs: 1,
|
||||
icon: 'captica.png',
|
||||
label: function () {
|
||||
return this.name || 'SystaComfort2'
|
||||
},
|
||||
outputLabels: 'data'
|
||||
})
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="systacomfort2">
|
||||
<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-topicPrefix"><i class="fa fa-tag"></i> Topic Prefix</label>
|
||||
<input type="text" id="node-input-topicPrefix" placeholder="my/topic/prefix">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-listenPort"><i class="fa fa-tag"></i> Topic Prefix</label>
|
||||
<input type="text" id="node-input-listenPort" placeholder="default: 22460">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="systacomfort2">
|
||||
<p>
|
||||
A capture device to read data from SysteComfort II devices
|
||||
</p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user