/lektrix

Interface with KAMSTRUP meter, SolarEdge API and ZAPPI API using Raspberry Pi

Primary LanguagePythonMIT LicenseMIT

Static Badge Code style: black pre-commit.ci status

lektrix

Interface with KAMSTRUP smart electricity meter, SolarEdge API and ZAPPI v2 API using Raspberry Pi

What is does

  • Read data from a KAMSTRUP smart meter.
  • Read data from solarpanels via SolarEdge API.
  • Read data from zappi v2 EV charger via ZAPPI API.
  • Store all that data in an SQLite3 database.
  • Regularly create trendgraphs.
  • Show trendgraphs on a local website.

Installing

Clone the repository somewhere handy. Adding the lektrix directory to your $PATH may help. To install run lektrix --install. Use lektrix --uninstall to uninstall.

Usage

lektrix <options>

--hours HOURS, --days DAYS, --months MONTHS, --years YEARS Create a bar graph of the given number of HOURS/DAYS/MONTHS/YEARS

--balance, --balances

See docs/trends.md for more info.