Skip to main content

EnergyID smart home integration, free and open source

EnergyID integration for Gladys Assistant

Send your energy readings to the EnergyID platform

Send your energy readings (power, consumption, solar production...) from Gladys to EnergyID, the Belgian energy monitoring platform. It does what the Home Assistant EnergyID integration does: readings are pushed to the cloud, in batches.

Installation​

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

Configuration​

  1. In your EnergyID portal, create a provisioning key and its secret.
  2. In the Configuration tab, enter both (stored as secrets), then save.
  3. Click Test the connection. The first time, EnergyID asks you to claim the device: open the link shown, enter the code, and attach Gladys to the right record (house). Click the button again: the status turns to Connected.

Optional fields: device identifier and name (changing the identifier means claiming again), and the upload interval (60 s by default; EnergyID can impose its own).

Usage​

The EnergyID device (add it from the Discovery tab) shows whether Gladys is connected, how many readings were sent and how many are waiting.

Gladys integrations can only read their own devices, so you choose what is sent with scenes (below). Readings are kept in memory while EnergyID is unreachable or the device is not claimed (5000 at most), and sent as soon as possible. Data is stored in the cloud: an internet connection is needed. The service is not restricted to a country.

Scenes and dashboards​

  • Trigger "EnergyID device to claim": EnergyID waits for the claim. Variables: claim link and code.
  • Trigger "EnergyID upload failed": credentials refused or network error; filter by cause. Variables: cause and message. Fired once per outage.
  • Action "Send a reading to EnergyID": a metric key (letters, digits, underscores, like total_active_power) and a value (a number or a scene variable). Typical scene: trigger "a power sensor changes", action with the new value. Outputs: key, value and readings waiting. Tick Send immediately to skip the interval.
  • Action "Upload to EnergyID now": outputs whether the upload succeeded and how many readings still wait.
  • Widget "EnergyID status": connection, upload interval, record, claim code when needed, readings sent and waiting, and an Upload now button.

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

SettingTypeRequiredDescription
Getting startedsectionNoIn EnergyID, create a provisioning key and secret, enter them here, then claim the device on EnergyID once. Readings are sent by scenes.
Provisioning keysecretYesCreated in your EnergyID portal.
Provisioning secretsecretYesShown once with the key, in the EnergyID portal.
Device identifierstringNoIdentifies this Gladys on EnergyID. Changing it means claiming the device again.
Device namestringNoName shown in EnergyID.
Upload interval (s)numberNoSeconds between two uploads. EnergyID can impose its own interval.

How to install EnergyID in Gladys​

  1. In Gladys, open Integrations: EnergyID 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-energyid:1.2.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-energyid.

EnergyID requires Gladys >=5.1.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​

EnergyID 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 🙂