Skip to main content

Luminus smart home integration, free and open source

Luminus integration for Gladys Assistant

Luminus energy prices in Gladys: hourly dynamic tariff, fixed and variable contracts.

The prices of your Belgian energy supplier Luminus in Gladys: the hour-by-hour price of a dynamic contract, and the rates of fixed and variable contracts (electricity and gas).

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Luminus and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab of the integration:

  • E-mail address and Password: those of your My Luminus customer area. The integration logs in like your browser does; the password stays in Gladys and never appears in the logs.
  • Electricity pricing: Automatic recognizes a dynamic contract from its product name ("Dynamic"). Choose Dynamic or Fixed or variable to force it.
  • Dynamic formula (optional): only if My Luminus gives no formula for your dynamic contract. Copy the one of your price sheet, e.g. 0.00102 x Belpex + 0.0145 (€/kWh excluding VAT, applied to the Belpex price in €/MWh).
  • Contract refresh: how many hours between two reads of the contracts on My Luminus (6 by default).

Save, then click Test the connection: the number of meters found and their products show under the button.

Devices​

Each meter (EAN) of the account becomes a device in the Discovery tab: Luminus electricity 5414… or Luminus gas 5414…. Add it to get:

  • one price per rate of the contract, in €/kWh VAT included: single, day, night, exclusive night, peak / off-peak / super off-peak (SmartFlex), and the injection rates;
  • the annual fixed fee, in €.

On a fixed or variable contract, the prices are those of the current month, as My Luminus shows them. On a dynamic contract, the price changes every hour: the integration applies the formula of your contract to the Belgian day-ahead price (Belpex) of the hour, then adds the 6% VAT. The market prices come from the public Energy-Charts API (Fraunhofer ISE, EPEX SPOT data); the next day's prices are known around 13:00.

The devices keep the price history: show it in a Gladys chart.

Scenes and dashboards​

Triggers​

  • New hourly price (dynamic contract): at the start of every hour. Filter by meter and by price level: negative, low (the cheapest third of the day), normal, high (the dearest third). Variables: price, level, next_price.
  • Tomorrow's prices published (dynamic contract): around 13:00, when the next day's hourly prices are known. Variables: min_price, max_price, average_price, cheapest_hour (HH:MM).
  • Contract prices changed (fixed or variable contract): when a rate changes on My Luminus (new month, new product). Variables: product, price, previous_price.

Example: "when the hourly price is negative or low, turn the water heater on".

Actions​

  • Refresh Luminus prices: reads the contracts and the market again. Outputs: meters, dynamic_meters.
  • Get the current price: the price of a meter right now. Outputs: available, price, level, next_price, dynamic.
  • Find the cheapest hours: the cheapest block of N consecutive hours ahead (dynamic contract). Outputs: found, start_time, end_time, start_date, average_price. Example: schedule the dishwasher at start_time.

"Luminus prices" widget​

Pick a meter in the widget settings (otherwise the first dynamic contract, or the first meter). For a dynamic contract: the live price of the hour, the next hour, today's minimum and maximum, the price chart of today and tomorrow, the level of the hour and the cheapest hour. For a fixed or variable contract: every rate and the fixed fee. The Refresh button reads My Luminus again.

Limits​

  • Luminus publishes no API: the integration reads the My Luminus web customer area. If Luminus changes its site, the read may fail; the connection status says so in the configuration screen.
  • The consumption of the account is not read yet: the customer area documents no endpoint for it.
  • Accounts with several business partners (several addresses) only read the active partner.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings Luminus asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Your My Luminus accountsectionNoEnter the e-mail address and the password you use on the My Luminus customer area. The integration reads the meters (EAN) of the account and the prices of their contracts; a dynamic contract also gets its hourly prices.
E-mail addressstringYes
PasswordsecretYes
Electricity contractsectionNoA dynamic contract follows the hourly Belgian day-ahead price (Belpex). It is detected from the product name; force it here if needed. Fixed and variable contracts keep the rate of the month.
Electricity pricingselectNo
Dynamic formula (optional)stringNoOnly if My Luminus gives no formula: the one of your price sheet, in €/kWh excluding VAT, applied to the hourly Belpex price in €/MWh.
Contract refresh (hours)numberNoHours between two reads of the contracts on My Luminus. Hourly prices follow the market on their own.

How to install Luminus in Gladys​

  1. In Gladys, open Integrations: Luminus appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-luminus:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-luminus.

Luminus requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Luminus is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂