Simple program to calculate monthly costs of all Zaptec chargers associated with your Zaptec account
It is based on Elvia tariffs and electricity prices in NO1 using https://www.hvakosterstrommen.no/strompris-api
- Zaptec username/password
- Elvia API key
- Python 3.10+
- poetry
- wkhtmltopdf (to generate PDF files)
Run poetry install; poetry run zaptec-costs
This will write a summary of all charger costs per month to HTML/PDF files, calculated from hourly prices.
The following environment variables will be used if present, instead of requesting for username/passwords/api on stdin:
ZAPTEC_USERNAME
ZAPTEC_PASSWORD
ELVIA_API_KEY