Skip to content

rwb196884/Luxopus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Richard Barraclough
Mar 19, 2025
b32dd17 · Mar 19, 2025
Dec 30, 2024
Dec 30, 2024
Dec 30, 2024
Mar 19, 2025
Jul 19, 2024
Mar 29, 2023
Apr 11, 2023
Oct 5, 2023
Apr 23, 2023
Mar 5, 2024
May 4, 2024
Sep 13, 2024
Apr 4, 2023
Mar 30, 2023
May 30, 2024
Apr 6, 2023
Oct 6, 2023

Repository files navigation

Luxopus

https://github.com/rwb196884/Luxopus

A more obvious name might have been Octolux; therefore I didn't choose it.

LUXpower / Octopus control

You require:

  • a LUX Power inverter,
  • an Octopus Energy account (and API key), and
  • an installation of InfluxDB and an API key.

Time is always UTC, but the LUX inverter uses local time; use the setting Lux--TimeZone.

Basic idea:

  • get data,
  • use the data -- and your experience -- to make a plan for what to do in every half hour (or whatever) period,
  • check that the interter's settings implement the plan.

A service is a class that has an associated configuration section, it typically gets data and writes it to InfluxDB; and

A a job is a class with a method called RunAsync that is run on a cron schedule and uses some services.

Installation

InfluxDB and dotnet.

Checkout from git

ssh-keygen -t ed25519 -C "github.email@address"
# save as /home/rwb/.ssh/id_github
# Fuck knows what this bloody shit is
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_github
cat ~/.ssh/id_github.pub
# Paste it at https://github.com/settings/keys
git clone https://github.com/rwb196884/Luxopus.git

Configuration

If /etc/luxopus.config exists then it will be used however appsettings.json is searched for in the working directory, strangely.

To run the command line version in linux:

$ runConsole.sh

About

LUXpower / Octopus control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published