Skip to content

Calculate costs of all Zaptec chargers available to your Zaptec user

License

Notifications You must be signed in to change notification settings

oyvinev/zaptec-costs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculate costs of Zaptec chargers

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

Requirements

  • Zaptec username/password
  • Elvia API key
  • Python 3.10+
  • poetry
  • wkhtmltopdf (to generate PDF files)

Usage

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.

Environment variables

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

About

Calculate costs of all Zaptec chargers available to your Zaptec user

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published