Skip to main content

Chargemap smart home integration, free and open source

Chargemap integration for Gladys Assistant

Chargemap charging sessions and badge spending: last charge, month and year totals.

Brings your Chargemap charge history into Gladys: the last charging session and the spending of your Chargemap badge over the current month and year.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Chargemap 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 and Password: those of your Chargemap account, the one you use on chargemap.com or in the Chargemap app. The password is stored as a secret in Gladys and only sent to Chargemap's own sign-in page.
  • Refresh interval: how often the charge history is read, in seconds (default one hour, 15 minutes minimum).

Save: the integration signs in and shows its status. The Test the connection and refresh button signs in, reads the history at once and sums up what it found.

If the status says the sign-in was refused, check the e-mail and password, then sign in once on chargemap.com: Chargemap may be waiting for you to accept new terms. The integration stops trying until you change the credentials or press the test button, so a wrong password never locks your account.

Usage​

In Discovery, add the Chargemap badge device. It provides:

FeatureUnit
Last session energykWh
Last session cost€
Last session durationminutes
Last session stationtext
Energy this monthkWh
Spending this month€
Sessions this monthnumber
Energy this yearkWh
Spending this year€
Sessions this yearnumber

A session counts in the month and year it started in. Show the values on a dashboard, or use them in a scene, for instance to send a message when the monthly spending goes over a budget.

Limits​

  • Chargemap offers no public API for drivers: the integration reads the history of your user area like the website does. A change on Chargemap's side may break it until an update.
  • Amounts are shown in euros.

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

SettingTypeRequiredDescription
Your Chargemap accountsectionNoSign in with the e-mail and password of your Chargemap account (the one you use on chargemap.com or in the app). The integration reads your charge history and the spending of your Chargemap badge.
E-mailstringYes
PasswordsecretYes
Refresh interval (s)numberNoHow often the charge history is read, in seconds (15 minutes minimum).

How to install Chargemap in Gladys​

  1. In Gladys, open Integrations: Chargemap 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-chargemap: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/prohand/gladys-chargemap.

Chargemap 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​

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