CAPAUT-253 FIrst stable implementation

This commit is contained in:
2022-07-27 17:13:33 +02:00
parent 92d38dded0
commit b9d5773552
8 changed files with 283 additions and 0 deletions

View 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>