node-red-contrib-discovergy-disaggregation
Version:
Node Red Erweiterung zur Nutzung der Discovergy Disaggregation.
44 lines (41 loc) • 1.5 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('disaggregation',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:""},
meterid: {value:""}
},
credentials: {
username: {type:"text"},
password: {type:"password"}
},
inputs:1,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"Disaggregation";
}
});
</script>
<script type="text/html" data-template-name="disaggregation">
<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-meterid"><i class="fa fa-tag"></i> MeterId (API)</label>
<input type="text" id="node-input-meterid" placeholder="API Zählerkennung">
</div>
<div class="form-row">
<label for="node-input-username"><i class="fa fa-tag"></i> Discovergy Username</label>
<input type="text" id="node-input-username">
</div>
<div class="form-row">
<label for="node-input-password"><i class="fa fa-tag"></i> Discovergy Password</label>
<input type="password" id="node-input-password">
</div>
</script>
<script type="text/html" data-help-name="disaggregation">
<p>Eventemitter für die Disggregation (Geräteerkennung) eines Discovergy Zählers</p>
</script>