Skip to content

stuartb55/octopusconsumption

Repository files navigation

Octopus Consumption

Save Octopus Energy electricity and gas consumption data in InfluxDB.

Installation

Create a list of environment variables. The Octopus specific ones can be found in the Octopus Developer Dashboard.

token
bucket_name
org_name
influx_url
api_key
electricity_mpan
electricity_serial_number
gas_mpan
gas_serial_number

Run using Docker:

octopusconsumption:
  container_name: octopus
  image: ghcr.io/stuartb55/octopusconsumption
  restart: unless-stopped
    environment:
    - "token="
    - "bucket_name="
    - "org_name="
    - "influx_url="
    - "api_key="
    - "electricity_mpan="
    - "electricity_serial_number="
    - "gas_mpan="
    - "gas_serial_number="

InfluxDB

A running InfluxDB instance is required

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.