1.2.5 • Published 4 years ago

stecagridscrape v1.2.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Screen scraper for Stecagrid solar inverters with compatible firmwares. Uses the node.js built in http library.

Uses async/await, so requires a newer version of Node.

How to use:

Initialize with the IP address of the inverter:

const steca = require('stecagridscrape');
var mySteca = new steca("192.168.1.146");

Get the current effect (in watts):

mySteca.getEffect()

Get the production today (in watt hours):

mySteca.getProductionToday()

Get the production today by hour (in watt hours):

mySteca.getProductionToday()

Get the production this month (in watt hours):

mySteca.getProductionThisMonth()

Get the production this year (in watt hours):

mySteca.getProductionThisYear()

Get the total production of the inverter (in watt hours):

mySteca.getProductionTotal()

All functions return a promise that will resolve with the value in W or Wh.

mySteca.getProductionTotal().then((data) => {
    console.log("Total Production", data)
});

Tested with the following Steca sw version set:

  • HMI BFAPI 2.5.4
  • HMI FBL 2.2.0
  • HMI APP 2.8.0
  • HMI PAR default 2.0.4
  • HMI OEM SG4200 1.0.4
  • PU BFAPI 2.5.4
  • PU FBL 1.1.1
  • PU APP 5.5.0
  • PU PAR 5.3.1
  • ENS1 BFAPI 2.5.4
  • ENS1 FBL 1.1.1
  • ENS1 APP 3.61.0
  • ENS1 PAR 22.0.0
  • ENS2 BFAPI 2.5.4
  • ENS2 FBL 1.1.1
  • ENS2 APP 3.61.0
  • ENS2 PAR 22.0.0
1.2.5

4 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago