Skip to content

How much energy have we exported today?

License

Notifications You must be signed in to change notification settings

issyl0/octopus-export-income

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Octopus Energy iOS/web app graphs don't show how much we get paid for the energy the solar panels generate, so we have to work it out for ourselves.

Install and usage

docker run \
  -e OCTOPUS_EXPORT_MPAN="<export_meter_mpan>" \
  -e OCTOPUS_ELECTRICITY_METER_SN="<serial_number>" \
  -e OCTOPUS_API_KEY="<api_key>" \
  -e POSTCODE="<postcode>" \
  ghcr.io/issyl0/octopus-export-income:latest --from 2022-07-04 --to 2022-07-04

Output:

Total for 2022-07-04: 318.66p, or £3.19.

Pass --verbose to see the individual half-hourly exports and their earnings.

TODO:

  • Installation and usage instructions.
  • Make sure rounding of the displayed numbers is not misleading.
  • Configurable dates.
  • Some kind of web interface?

About

How much energy have we exported today?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages