External integration: water consumption tracking (SEDIF)

I’m sharing a new integration for Gladys: SEDIF / L’Eau d’Île-de-France water consumption tracking.

The integration allows you to automatically retrieve your meter readings from your customer account on leaudiledefrance.fr and integrate them directly into Gladys.

:bar_chart: What the integration adds

A new device « SEDIF Water Meter » is created in Gladys with two historical measurements:

  • Meter index — in m³

  • Daily consumption — in liters

You can therefore find your consumption in Gladys graphs and use it in your scenes.

:counterclockwise_arrows_button: Two retrieval modes

The integration offers two options:

Automatic — recommended

Gladys connects directly to your customer account and retrieves the new readings. No browser or intermediate service is required. The refresh rate is configurable, with a default value of 6 hours.

CSV Import

If you do not want to provide your credentials to the integration, you can simply download the history from the L’Eau d’Île-de-France website and drop the CSV file into the integration.

Both modes produce exactly the same device and the same data in Gladys.

:one_o_clock: About the data

This is obviously not real-time consumption: the meter is remotely read once a day and the data is usually published with 1 to 2 days delay.

The integration nevertheless keeps the actual reading date, which allows you to obtain correctly dated curves, including when importing the history.

It also distinguishes measured readings from estimated readings. By default, estimates are ignored to avoid generating inconsistent curves or calculations.

:warning: A small technical peculiarity

SEDIF / L’Eau d’Île-de-France currently does not offer a documented public API.

The integration therefore uses the same protocol as the website to retrieve your contract information and history.

This unfortunately means that a modification of the website can break the integration. I have planned a functionality that allows you to quite precisely identify the step that is causing the problem, and above all the CSV mode allows you to continue importing the data even if the automatic mode becomes temporarily incompatible.

:rocket: To get started

You simply need to:

  1. Have an active account on leaudiledefrance.fr

  2. Have a remotely read meter with a daily history available

  3. Install the integration in Gladys

  4. Enter your credentials and test the connection

:backhand_index_pointing_right: Before any installation, I recommend checking on your customer account that the History page actually displays a daily curve. If no daily data is available on the website, Gladys will obviously not be able to retrieve it.


I hope this integration will be useful to SEDIF network users! :droplet:

Feel free to give me your feedback, especially if you encounter a behavior different from the one described or if the customer account evolves.

Thanks!

Can’t wait to install it! (In about 2 weeks)