Log chint power inverter serial output to sql database and generate graphs
- Windows ❌
- Linux ✔️
- Mac ➖
npm install
npm run start
the docs for the packages in /packages: https://neotje.github.io/solar-panel-inverter-logger/
mysql: {
host: "sql server address",
user: "username",
password: "user password",
database: "database name"
}
devices: [
"/dev/ttyUSB0",
"/dev/ttyUSB1"
],
Note: to see available serial ports on linux run: dmesg | grep tty
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: 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
port: 3000 // The port on which the API will listen for requests
Henk vergenot for the script to read out CMS2000 devices PV-LOGGER