node-red-contrib-energy-meter
Version:
A Node-RED node to read modbus data from Eastron energy meter and present it into Human readable format
46 lines (36 loc) • 1.39 kB
HTML
<!--
Copyright 2023 Bufferstack.IO Analytics Technology LLP, Pune.
Licensed under the GNU General Public License, Version 3.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.gnu.org/licenses/gpl-3.0.html
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/javascript">
RED.nodes.registerType('energy-meter', {
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value: ""}
},
inputs: 1,
outputs: 1,
icon: "font-awesome/fa-bolt",
label: function() {
return this.name || "energy-meter";
}
});
</script>
<script type="text/html" data-template-name="energy-meter">
<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/html" data-help-name="energy-meter">
<p>A node to interpret and transform data for a SDM series energy meter.</p>
</script>