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:
- All SMA inverters with activated [Sunny Portal] (https://www.sunnyportal.com/).
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
.
If you find any vulnerability, bug, or you want a feature added, feel free to submit an issue at Github Issues
- Rename
.sample.env
to.env
and enter your credentials. - Set
apiPath
to API URL of an active SI Node (Recommendation: use a node owned by the SI Network). - Make sure you have the latest LTS version of Node.js and NPM version 6 or greater installed.
- Open terminal.
- Clone the repo:
git clone https://github.com/Social-Impact-Network/Inverter-BigchainDB-Bridge.git
. - Move to the dictory by running
cd Inverter-BigchainDB-Bridge
. - Run
npm install
to install node packages. - 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) .