-
Notifications
You must be signed in to change notification settings - Fork 3
/
otgwdec.html
executable file
·29 lines (27 loc) · 1015 Bytes
/
otgwdec.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
<script type="text/javascript">
RED.nodes.registerType('otgwdec',{
category: 'opentherm',
color: '#a6bbcf',
defaults: {
name: {value:""}
},
inputs:1,
outputs:1,
icon: "openth.png",
label: function() {
return this.name||"OtgwDec";
}
});
</script>
<script type="text/x-red" data-template-name="otgwdec">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="otgwdec">
<p>A node that decodes OpenTherm Gateway (OTGW) formatted messages. Refer to <a href="http://otgw.tclcode.com/">http://otgw.tclcode.com</a>
for a description of the message format.
Valid messages will be decoded to <b>msg.msgtype</b>, <b>msg.dataid</b> and <b>msg.datavalue</b>, which can be decoded with e.g. an OpenThermDec node.
</p>
</script>