Marcvolta / node-red-energymeter

A Node-Red node to calculate energy based on power input
MIT License
0 stars 1 forks source link


NPM version NPM downloads per month NPM downloads total MIT License JavaScript Style Guide

Energymeter

This node calculates energy based on power inputs. No need to measure time seperately.

As you may use one or more appliance in your home automation which are able to output power measurement you may want to know the energy consumption/production over a specific period of time. This node takes power values as input parameter and calculates the energy amount. As energy can be discribed as the product of power and a time period, the time period this node uses is the intervall between two inputs.

Installation

In Node-RED (preferred)

In a shell

Basic installation:

Usage

Simply wire it with an power input device and make use of the output:

energymeter-basic-usage

Fig. 1: Basic usage node energymeter

Properties

energymeter-properties

Fig. 1: Properties node energymeter