Skip to content

A simple NodeJS application to read Solis PV inverter data using HTTP interface

Notifications You must be signed in to change notification settings

fss/solis-inverter

Repository files navigation

Solis inverter JSON API

A simple NodeJS application to read Solis PV inverter data using HTTP interface, extract and serve data as JSON formatted as follows:

{
  "lastSeen": 1582915468053,
  "inverter": {
    "model": "0123",
    "serial": "1234567890ABCDE",
    "firmwareMain": "0123",
    "firmwareSlave": "0122"
  },
  "logger": {
    "serial": "1234567890",
    "version": "MW_08_0501_1.58",
    "mode": "STA",
    "ap": {
      "ssid": "AP_1213456789",
      "ip": "1.1.1.1'",
      "mac": "ABABABABABAB"
    },
    "sta": {
      "ssid": "NETWORK_NAME",
      "ip": "2.2.2.2",
      "mac": "AABBCCDDEEFF",
      "rssi": "99%"
    }
  },
  "remoteServer": {
    "a": true,
    "b": false
  },
  "power": 9999,
  "energy": {
    "today": 15,
    "total": 600
  }
}

Usage:

SOLIS_ADDRESS=<INVERTER_IP_ADDRESS> SOLIS_USERNAME=<INVERTER_WEB_USERNAME> SOLIS_PASSWORD=<INVERTER_WEB_PASSWORD> INTERVAL=<REFRESH_INTERVAL (milliseconds, optional, default = 30000)> node index.js

About

A simple NodeJS application to read Solis PV inverter data using HTTP interface

Resources

Stars

Watchers

Forks

Packages

No packages published