External integration - ista Web'conso (meters and splitters in condominiums)

Hi everyone! :waving_hand:

After OCEA, the other big name in shared property meters: here comes ista Web’conso, your ista readings in Gladys, for properties managed by ista in France (the portal https://www.ista-webconso.fr).

What it does

  • :fire: Your heating cost allocators, one per radiator, with their index, plus the day’s heating units, weighted by the coefficient of each radiator as on your statement. These are not kWh: these units tell you what part of the building’s heating bill you are responsible for, and the integration displays them as such.
  • :droplet: Your cold water and hot water meters, in m³, with a total per fluid when there are multiple meters.
  • :date: Readings on the right date: the portal sometimes publishes with a few days’ delay, and each reading is stored on its actual day in the graphs.
  • :puzzle_piece: A « ista Consumption » widget.
  • In French, English, German, and Spanish :wink:

Installation

:warning: Gladys 5.1 minimum.

:light_bulb: It will be available in the store later today. In a hurry? Integrations → Install from GitHub, with the address GitHub - guim31/gladys-ista: ista France (ista-webconso.fr) water and heating consumption for Gladys Assistant · GitHub

  1. In the configuration, enter the email and password of your ista Web’conso resident space.
  2. Click on Test connection and read now.
  3. Discovery tab: add your property.

If the password connection ever fails, there is a plan B, described step by step in the documentation: paste the session cookie from your browser.

Readings are taken every 12 hours by default, to spare the portal.

Honest small reservations

  • :warning: Beta, developed without an ista account. I checked the connection against the real portal: it goes through ista’s login page, without a captcha, and correctly identifies a wrong password. What remains to be seen on a real account is the reading of the meters, especially for water.
  • It’s the most fragile of my integrations: ista has no public API, and the integration reads the portal like your browser.
  • It’s the French portal. In Germany, ista uses EcoTrend, another service.

If you are with ista in France, your feedback is very welcome :folded_hands: @Jluc, if you also have ista somewhere, don’t hesitate!

It relies on the pyista library by vlebourl, under MIT license: thanks to him!

Like the previous ones, developed with Claude Code :robot:. Independent project, not affiliated with ista.

Repository: GitHub - guim31/gladys-ista: ista France (ista-webconso.fr) water and heating consumption for Gladys Assistant · GitHub

I need to check with the property manager because the passwords I’m trying don’t work :smirking_face:

Hi @guim31,

I first tried to log in with my email and the password I use on the website, but I get an error message with the integration.

To avoid confusion, I uninstalled and then reinstalled the integration for the second method.

The solution with the cookie (JSESSIONID) also doesn’t work, and I get this message:

"[ERROR] [sync] Unexpected answer from the ista portal: no JSON from Accueil (HTTP 200, text/html;charset=UTF-8). Structure (no values): “null”

Thanks @Jluc for the test!

Your message highlights something useful: with the cookie, the portal did recognize you (otherwise it would have redirected you to its homepage), but the page that was supposed to provide the readings responded with a web page instead of the data. ista has probably changed the way its site loads the consumption data, and since I don’t have an ista account, I can’t see it from my side.

To move forward, two things:

  1. With the email and password, what is the exact error message from the integration?
  2. If you agree: on the ista website, open the page of your consumption, press F12, Network tab, filter Fetch/XHR, then reload the page. Just send me the names of the lines that appear (for example ficheLogement.do, consommation…), without the cookies or the rest. A screenshot of this list is enough.

With that, I’ll know where ista now stores the readings.

I don’t exactly find what you describe, but I can keep looking.

And the error message with email and password:

[ERROR] [sync] Unexpected answer from the ista portal: no JSON from Accueil (HTTP 200, text/html;charset=UTF-8). Structure (no values): “null”

[2026-11-06T17:35:31.054Z] [INFO] [ista] Connection test: failed (status_unexpected_answer)

Great, thanks @Jluc, that’s exactly what I needed! :bullseye:

The first screenshot shows the issue: the site now loads your readings via fetch.do?dispatch=fetchByPatrimonies, whereas the integration is still querying the old page ficheLogement.do. Your connection works fine (password as cookie), it’s just the correct address that has changed.

For me to be able to read this new response, I need its format. In the same Network tab, click on the line fetchByPatrimonies, then on the Preview tab, and expand a meter. One screenshot is enough; you can hide the meter numbers and the address, I’m only interested in the field names (index, date, meter type…).

If you can also click on the Water tab of the site and tell me if another line appears, that would be perfect.

Good evening @guim31,

I found a line:

image

but nothing for the preview:

image

There might be an issue because of:

                            It seems that JavaScript is disabled or not supported in your
                    browser. <br/>To use the web portal, enable JavaScript by changing your
                    browser options and try again.

Thanks @Jluc! The message about JavaScript isn’t the issue: it’s a hidden text that all pages display when JavaScript is disabled. However, fetchByPatrimonies returns an empty list ([]), so your readings aren’t coming from there.

A tip to find the right request without digging:

  1. Open the page where you see your consumption (the table or the graph), press F12, go to the Network tab, filter All.
  2. Refresh the page.
  3. Click on the magnifying glass in the Network tab (on the left) and type a number you see on the screen, for example a meter index.
  4. The search shows the request(s) that contain this number: just send me their name (like fetch.do?dispatch=…).

With that, I’ll know exactly where your readings are coming from.

image

Bingo @Jluc, that’s her! :bullseye: Your indexes come from ficheIndexDemande.do, sent in POST, and the site directly returns a piece of page with the values, not JSON data. That’s why the integration found nothing.

For me to reproduce it, I’m missing two things on the same line:

  1. The Payload tab: the list of sent parameters. I only need their names (start date, meter type…); mask the values that look like a housing or meter number.
  2. The Response tab: a capture of the beginning of the table, with the column headings. You can blur the meter numbers.

After that, I should be able to fix the integration.

Hi @guim31,

The reply tab does not include a table, I looked a bit but didn’t find anything that could match

Thanks @Jluc! In your screenshot, you’re on the homepage of your space (tableauBordLogement.do) and the selected line is still fetchByPatrimonies, which is empty. What I need is the line ficheIndexDemande.do that you found yesterday. It appears with the filter All or Document, not Fetch/XHR, once you’re on the page of your indexes.

The easiest way, if you agree:

  1. On the page of your indexes, F12, Network tab, filter All, then refresh the page.
  2. Right-click on the line ficheIndexDemande.do → Copy → Copy Response.
  3. Paste everything into a text file and send it to me in a private message (not here). You can replace your name and address with X’s; the meter numbers and indexes can stay, they’re only used to identify where the values are stored.

I’ll only keep the structure, nothing personal will be published.

Thanks @Jluc, I received your private message, it’s very useful! :+1:

I see how your page works: it’s the on-demand index. You choose a meter reading date and a start date, then the Search Index button returns the index of each meter and the consumption between the two dates. Your copy was taken before the search, so without any meters displayed: I just need the result.

Last step, I promise:

  1. On this page, F12, Network tab, filter All.
  2. Choose a meter reading date and a start date, then click on Search Index: your meters are displayed.
  3. In the list, a new line ficheIndexDemande.do appears (the last one). Right-click → Copy → Copy Response, and send it to me in a private message like the first time.

With that, I can rewrite the meter reading.

Good evening @guim31,

I feel like you’ve made a lot of progress, but it’s not thanks to me :slight_smile:

I sent you the information back and I hope it’s the right one; sorry I don’t know anything about computers and I thank you for your step-by-step guidance :+1:

Yes yes @Jluc, it’s all thanks to you: without your screenshots and copies, it would have been impossible to see what had changed at ista! And you did a great job :+1:

This time I have everything: your two meters, cold water and hot water, with their readings. I’m rewriting the meter reading from this page, and I’ll let you know here as soon as the new version is online, so you can test it.

Impressive, your ant’s work

It’s online @Jluc: the 1.1.0 version of ista Web’conso now reads your statements through the « on-demand index » page, the one you found for me :slightly_smiling_face:

To test it:

  1. Update the integration from Gladys.
  2. In its configuration, click on Test the connection and read now: the message should announce your 2 water meters.
  3. In the Discovery tab, add your accommodation (or click on Update if it’s already there).

The indexes are sorted by the reading date provided by ista, which is often a few days late. I couldn’t run it on a real account, so your feedback is very interesting to me!

I deleted the integration before reconfiguring it to get an error message again