Skip to main content

Rabot Energy smart home integration, free and open source

Rabot Energy integration for Gladys Assistant

Dynamic electricity prices and Rabot Charge from Rabot Energy

Dynamic electricity prices and Rabot Charge from Rabot Energy: the price of your contract, quarter-hour by quarter-hour, in Gladys. The integration uses the Rabot cloud (internet required) and is meant for Rabot Energy customers in Germany.

Installation​

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

Configuration​

Open the Configuration tab and fill in:

  • Contract number and Access token: those of your Rabot Energy account (the token is the one the official Rabot Home Assistant integration uses, see its README). The token is stored as a secret and never logged.
  • Cheap / expensive price threshold (ct/kWh, gross): the levels that fire the scene triggers.
  • Refresh interval: how often Rabot is called (5 minutes minimum, 30 by default). The current price follows the quarter-hours without extra calls.

Use Test the connection to check the token and the contract, then save. Go to the discovery screen and add the Rabot <contract number> device.

Usage​

The device has four read-only sensors, in EUR/kWh (gross): current price, next price, lowest upcoming price and highest upcoming price. The current and next prices keep a history, so you can chart them.

Scenes and dashboards​

Triggers

  • Cheap price started: the price just fell to the cheap threshold or below.
  • Expensive price started: the price just rose to the expensive threshold or above.

They fire once per change of level (not at every poll, and not at startup). Variables: price (ct/kWh) and ends_at (end of the quarter-hour, UTC).

Actions

  • Refresh the prices: fetches the latest preview now. Outputs: current_price, lowest_price, highest_price (ct/kWh).
  • Find the cheapest time window: for a duration in hours (for example to charge a car), finds the cheapest continuous period. Outputs: found, starts_at, ends_at (UTC), starts_in_minutes, average_price (ct/kWh).

Widget: Rabot prices shows the live current price, the next, lowest and highest upcoming prices (times in UTC) and a refresh button.

Limits​

Rabot publishes a preview of the coming prices; how far it reaches is up to Rabot. The integration does not control the Rabot Charge hardware: it reads prices.

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 Rabot Energy asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoEnter your Rabot Energy contract number and the access token of your account. Prices are read from the Rabot cloud.
Contract numberstringYesYour Rabot Energy contract number. It identifies the device and must match the token.
Access tokensecretYesThe API token of your Rabot Energy account.
Cheap price threshold (ct/kWh)numberNoThe “Cheap price started” trigger fires when the price falls to this value or below.
Expensive price threshold (ct/kWh)numberNoThe “Expensive price started” trigger fires when the price rises to this value or above.
Refresh interval (s)numberNoHow often the Rabot service is called, in seconds (5 minutes minimum). The current price follows the quarter-hours without extra calls.

How to install Rabot Energy in Gladys​

  1. In Gladys, open Integrations: Rabot Energy appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/gboulvin/gladys-rabot-energy: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/gboulvin/gladys-rabot-energy.

Rabot Energy 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​

Rabot Energy 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 gboulvin, 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 🙂