Giter Site home page Giter Site logo

social-impact-network / inverter-bigchaindb-bridge Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 45 KB

Receives impact values of PV systems and stores them in decentralized BigChainDB network

License: MIT License

Shell 3.74% JavaScript 92.91% CSS 0.98% Pug 2.36%
bigchaindb sunnyportal nodejs puppeteer

inverter-bigchaindb-bridge's Introduction

Website License Travis GitHub issues GitHub package version Twitter

Inverter BigchainDB Bridge

This bridge is used to push impact values from solar inverters to Social Impact Networks every 24 hours. It is implemented to enable the Social Impact Network to track impact values. The generated impact values are pushed to the specified SI node.

This repo supports the following inverter types:

Required credentials

Only registered SI Network projects can send impact values to Social Impact Network. To send impact values to SI Network, the following credentials are required:

  • Assigned SI Network Asset ID (Project ID).
  • Social Impact Tracker key pair (authentication of sender).
  • Individual inverter credentials:
    • SMA Inverters: SunnyPortal credentials and Solar Plant ID needed

SI network Asset ID and Tracker key pair are manually provided to SI project owners by the Social Impact team. All credentials must be specified in .env.

Vulnerabilites, Bugs & Feature Request

If you find any vulnerability, bug, or you want a feature added, feel free to submit an issue at Github Issues

Getting started

  1. Rename .sample.env to .env and enter your credentials.
  2. Set apiPath to API URL of an active SI Node (Recommendation: use a node owned by the SI Network).
  3. Make sure you have the latest LTS version of Node.js and NPM version 6 or greater installed.
  4. Open terminal.
  5. Clone the repo: git clone https://github.com/Social-Impact-Network/Inverter-BigchainDB-Bridge.git.
  6. Move to the dictory by running cd Inverter-BigchainDB-Bridge.
  7. Run npm install to install node packages.
  8. Run npm start to start the bridge.

While the script is running, solar panel impact values are transmitted to SI network via the specified SI node every 24 hours at 3:00 am server's timezone (default: UTC) .

inverter-bigchaindb-bridge's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.