Skip to content

simonarnell/solis-inverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Languages

  • JavaScript 93.8%
  • Dockerfile 5.0%
  • Shell 1.2%