#influx-db #energy #octopus #smart-meter

app octo-influx

A tool to import smart metering data from the Octopus Energy API into InfluxDB

2 releases

0.1.1 Jul 19, 2022
0.1.0 Jan 13, 2022

#4 in #octopus

MIT/Apache

280KB
9K SLoC

GraphQL 8K SLoC Rust 410 SLoC // 0.0% comments

octo-influx

crates.io page

octo-influx is a tool to fetch smart meter reading data from the Octopus Energy API and import it into an InfluxDB database. It also works for Octopus resellers such as London Power.

This is not an officially supported Google product.

Installation

If you want to run octo-influx every night as a system service, you can install the latest release from our Debian repository:

$ curl -L https://homiers.jfrog.io/artifactory/api/security/keypair/public/repositories/homie-rs | sudo apt-key add -
$ echo "deb https://homiers.jfrog.io/artifactory/homie-rs stable main" | sudo tee /etc/apt/sources.list.d/homie-rs.list
$ sudo apt update && sudo apt install octo-influx

Alternatively, you may install with cargo install:

$ cargo install octo-influx

Usage

  1. Create an InfluxDB database and grant some user write access to it.
  2. Edit /etc/octo-influx.toml to add your account details and InfluxDB connection details.

License

Licensed under either of

at your option.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

If you want to contribute to the project, see details of how we accept contributions.

Dependencies

~11–24MB
~382K SLoC