An open API service indexing awesome lists of open source software.

https://github.com/energychain/node-red-contrib-discovergy-meter

Allows to work with a Discovergy Smart Meter (Electricity only) within Node RED flows
https://github.com/energychain/node-red-contrib-discovergy-meter

Last synced: 4 months ago
JSON representation

Allows to work with a Discovergy Smart Meter (Electricity only) within Node RED flows

Awesome Lists containing this project

README

        

# casa-corrently
Allows to work with a smartmeters (Electricity only) within Node RED flows. If you do not have a Smart Meter you might get it [here from STROMDAO](https://www.corrently.de/transparenz/bestellung-smartmeter/) (Germany only).

![npm](https://img.shields.io/npm/dw/node-red-contrib-discovergy-meter) [![Build Status](https://travis-ci.com/energychain/node-red-contrib-discovergy-meter.svg?branch=master)](https://travis-ci.com/energychain/node-red-contrib-discovergy-meter) [![Code Quality](https://www.code-inspector.com/project/12360/score/svg)](https://frontend.code-inspector.com/public/project/12360/node-red-contrib-discovergy-meter/dashboard) [![chat](https://img.shields.io/badge/chat-support-brightgreen)](https://tawk.to/chat/5c53189451410568a109843f/default) [![CO2Offset](https://api.corrently.io/v2.0/ghgmanage/statusimg?host=casa.corrently&svg=1)](https://co2offset.io/badge.html?host=casa.corrently)

## NOTE: new name
This package gets renamed into **casa-corrently** - Previous: **node-red-contrib-discovergy-meter**

## Installation

### Node-RED (Node) via Shell
```shell
cd ~/.node-red/
npm install --save node-red-contrib-discovergy-meter
```

### Node-RED (Node) via Editor
Install `node-red-contrib-discovergy-meter` as NODE package.

## QuickStart
This QuickStart allows you to start node-red with one the sample meters to get quickly familiar with this Node (module).

### Prerequisites
- Node-RED installed global (e.q you could start it from command line using `node-red`)
- Cloned version of GIT Repository https://github.com/energychain/node-red-contrib-discovergy-meter.git

### Corrently Demo Meter(s) - Full generation (Messkonzept1 - Volleinspeisung)
Reference: https://casa.corrently.de/books/demo-z%C3%A4hler/page/messkonzept-1-%28volleinspeisung%29

```shell
npm install node-red-dashboard
npm run demo-messkonzept1
```

### Corrently Demo Meter(s) - surplus feed-in (Messkonzept2 - Überschusseinspeisung)
Reference: https://casa.corrently.de/books/demo-z%C3%A4hler/page/messkonzept-2-%28%C3%BCberschusseinspeisung%29

```shell
npm install node-red-dashboard
npm run demo-messkonzept2
```

### Accessing Demo
- Editor: http://localhost:1880/
- Dashboard (UI): http://localhost:1880/ui

###

## Usage
### First time usage
On first time adding a Discovery Meter to a flow the list of available meters will be empty.
- Add Discovergy login information to configuration node
- `Deploy` changes to flow
- Re-Open Configuration of Discovergy Meter

### Modify time and reading of installation (optional)
You might overwrite time and value of first reading from the node configuration.

### Output (standard)
If triggered (maybe periodic via an inject) this node provides a json Object as `msg.payload`.

```javascript
msg.payload = {
time:

### Output with statistics (advanced)
If `msg.topic` is set to `statistics` additional statistic information will be provided. Beside of power,power1,power2,power3 the object gets formated same as in `msg.payload.latest` above.

*NOTE: Retrieving statistics requires a significant higher amount of API calls. Consider to use it less than once per minute. *

```javascript
msg.payload = {
time:

### Output with aggregation (advanced)
You might add multiple Discovergy Meters in sequence. In this case a property `aggregation` will contain aggregated values of all meters.

```javascript
msg.payload = {
time:

### Messkonzept 2 (Überschußeinspeisung) ohne Z2 (Produktionszähler)

[Dashboard](https://flows.nodered.org/flow/6f43f7d48405927ab3231ef1eea38a96)

## Standalone usage
It is possible to run this node without Node-RED. It comes shipped with a express APP.

```shell
git clone https://github.com/energychain/node-red-contrib-discovergy-meter.git
cd node-red-contrib-discovergy-meter.git
npm install
npm start ./sample_config_messkonzept2.json
```

![Prosumer Display](https://squad.stromdao.de/nextcloud/index.php/s/EjaBaya9WPgcRzw/preview)

Online Demo (via Heroku):
https://casa-corrently-demo.herokuapp.com/index.html

By default the Web UI will be visible at http://localhost:3000/index.html

### One Click Deployment
Heroku:
https://heroku.com/deploy?template=https://github.com/energychain/node-red-contrib-discovergy-meter

## Funding
This module is part of the Corrently Ecosystem which looks for funding in Germany: https://www.stromdao.de/crowdfunding/info
![STROMDAO - Corrently Crowdfunding](https://squad.stromdao.de/nextcloud/index.php/s/Do4pzpM7KndZxAx/preview)

## Further reading
Further Documentation is available as Casa Corrently Chapter at: https://casa.corrently.de/books/nutzung-von-node-red/chapter/gr%C3%BCnstromz%C3%A4hler-%28discovergy-meter%29

## Maintainer / Imprint
This module is not an official contribution by Discovergy GmbH.

STROMDAO GmbH

Gerhard Weiser Ring 29

69256 Mauer

Germany



+49 6226 968 009 0



[email protected]



Handelsregister: HRB 728691 (Amtsgericht Mannheim)

## LICENSE
Apache-2.0