npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

stromdao-bo-mpo

v0.2.43

Published

Operation of an Energy Meter Point using StromDAO Business Object for Energy Blockchain. Abstraction for storage connection as crossed meter point.

Downloads

115

Readme

StromDAO-BusinessObject - Messstellenbetrieb

bitHound Overall Score bitHound Dependencies bitHound Code

Verwaltung und Schreiben von Daten einer Messstelle (=Stromzähler) in der StromDAO Energy Blockchain.

Installation

npm install -g stromdao-bo-mpo

Raspberry PI Installation

Maybe it is the same for other installations, but the required node-gyp fails to build from npm. Workarround create the folders manually as shown in endless repeating error message.

Verwendung

stromdao-mp store meter_point_id value
 stromdao-mp retrieve meter_point_id

meter_point_id = Zählernummer

Jeder Messtelle wird auf Basis der angegebenen Meter_Point_Id eine eindeutige Adresse in der StromDAO Energy Blockchain zugewiesen. Diese Zuordnung erfoglt durch automatische Generierung eines Schlüsselpaares, welches lokal gespeichert wird.

Beispiele

# Setzen des Zählerstandes 100 für die Zählerkennung 1337
stromdao-mp store 1337 100

# Abruf des Zählerstandes für die Zählerkennung 1337
stromdao-mp retrieve 1337

# Setzen des Zählerstandes 100 für die Zählerkennung 1337 mit Verwendung eines Settlements via IPFS 
stromdao-mp store -a QmRroaKpLVJyLBWAAAjHzBEAEfQthj8ZrcRSpYyQe7uRyM 1337 100

# Setzen des Zählerstandes 100 für die Zählerkennung 1337 mit Verwendung eines Settlements via File basiertem Settlement und Tarifinfo für PLZ 69256
stromdao-mp store -f settlement_sample.js --de 69256 1337 100

# Starten eines einfachen Webservices zur SmartHome Integration (Port 8000)
stromdao-mp httpservice

Webservice

Der Webservice ist für die einfache Integration mit einer Heimautomatisierung oder im Sandbox Betrieb eines Smart-Meter-Gateway gedacht. Der Service ist auf Localhost gebunden und sollte nicht im Netzwerk freigeben werden.

Nutzung:

http://localhost:8000/store/?meter_point_id=1337&reading=1001&auto=69256

Die Request Parameter entsprechen dem Store Befehl.

Anwendungsbeispiele

http://docs.stromdao.de/presentations/20170922/

Nützlich für den Einstieg in das Business Objekt: https://demo.stromdao.de/introspect.html

SmartMeter Gateway Integration

Zur Zeit werden lediglich die Endpunkte von Discovergy unterstützt. Für jeden Zähler (meter_point_id) kann eine API Kennung hinterlegt werden. Sobald diese hinterlegt ist, kann der Konsens in der Blockchain durch den store Befehl geschrieben werden, wobei der Zählerstand nicht mit angegeben werden muss.

Weitere Informationen im Enhancement Request

Feedback/Collaboration

  • https://fury.network/
  • https://stromdao.de/
  • https://gitter.im/stromdao/BusinessObject