Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/issyl0/octopus-export-income
How much energy have we exported today?
https://github.com/issyl0/octopus-export-income
Last synced: 25 days ago
JSON representation
How much energy have we exported today?
- Host: GitHub
- URL: https://github.com/issyl0/octopus-export-income
- Owner: issyl0
- License: mit
- Created: 2022-07-05T16:49:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T23:03:15.000Z (over 1 year ago)
- Last Synced: 2024-05-01T21:28:12.669Z (6 months ago)
- Language: Ruby
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```shell
docker run \
-e OCTOPUS_EXPORT_MPAN="" \
-e OCTOPUS_ELECTRICITY_METER_SN="" \
-e OCTOPUS_API_KEY="" \
-e POSTCODE="" \
ghcr.io/issyl0/octopus-export-income:latest --from 2022-07-04 --to 2022-07-04
```Output:
```shell
Total for 2022-07-04: 318.66p, or £3.19.
```Pass `--verbose` to see the individual half-hourly exports and their earnings.
TODO:
- [x] Installation and usage instructions.
- [ ] Make sure rounding of the displayed numbers is not misleading.
- [x] Configurable dates.
- [ ] Some kind of web interface?