Skip to content

Log chint power inverter serial output to sql database and generate graphs

License

Notifications You must be signed in to change notification settings

neotje/solar-panel-inverter-logger

Repository files navigation

solar-panel-inverter-logger

Log chint power inverter serial output to sql database and generate graphs

Compatibility

  • Windows ❌
  • Linux ✔️
  • Mac ➖

install

npm install

run

npm run start

docs

the docs for the packages in /packages: https://neotje.github.io/solar-panel-inverter-logger/

config

MySQL settings

mysql: {
    host: "sql server address",
    user: "username",
    password: "user password",
    database: "database name"
}

Devices

devices: [
    "/dev/ttyUSB0",
    "/dev/ttyUSB1"
],

Note: to see available serial ports on linux run: dmesg | grep tty

Log

interval: 6000, // log to database every x ms.

// location is used to determine when your inverter turns off, because of no sunlight.
latitude: 51.9915,
longitude: 5.9868

Import

import: true // import csv files from ./packages/CSVimporter/import-logs

Note: see inverter_1104DN0518_20190316.example.csv on how to format csv file. Note: filename formate inverter_{serialnumber}_something other stuff.csv

API

port: 3000 // The port on which the API will listen for requests

Thanks

Henk vergenot for the script to read out CMS2000 devices PV-LOGGER

About

Log chint power inverter serial output to sql database and generate graphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published