1.0.1 • Published 2 years ago

node-red-contrib-corrently v1.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
2 years ago

node-red-contrib-corrently

npm Build Status Code Quality

Work with the Corrently Energy (Power) Ecosystem in Germany from:

  • Node RED
  • Command Line
  • Embedded into your Code/System

For detailes information please check offical documentation in german: https://corrently.io/books/grunstromindex

Installation

Node-RED (Node)

cd ~/.node-red/
npm install --save node-red-contrib-corrently

Standalone (Module or Command Line)

npm install -g node-red-contrib-corrently

Node: Strompreis

Use from Commandline (CLI)

corrently.strompreis <Stromkonto>

Use as module

const Corrently = new require("node-red-contrib-corrently")();

const app=async function() {
	console.log(await Corrently.Strompreis('0x7866f187f30cd52Bdbd5c4184fD3ee6168Ae0dB4'));
}

app();

Node: GruenstromIndex

Use from Commandline (CLI)

corrently.gruenstromindex <Postleitzahl>

Use as module

const Corrently = new require("node-red-contrib-corrently")();

const app=async function() {
	console.log(await Corrently.GruenstromIndex('69256'));
}

app();

Funding

This module is part of the Corrently Ecosystem which looks for funding in Germany: https://www.stromdao.de/crowdfunding/info STROMDAO - Corrently Crowdfunding