# External integration - "Fuel prices"

**URL:** <https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065>\
**Category:** Développement\
**Tags:** integration-externe\
**Created:** [August 30, 2024, 3:29pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065 "2024-08-30T15:29:36Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 4, 2026, 5:32pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/82 "2026-10-04T17:32:19Z")

</div>

Thanks, your answer solves the question!

« Distances mesurées depuis le centre du 76XXX. », without « Aucune maison… » before it, means one thing: in the configuration, « Mesurer les distances depuis » is set to « Le code postal ». The integration therefore doesn’t even ask Gladys for the houses, which is why the logs show nothing.

Can you:

```
Open the integration configuration.
Set « Mesurer les distances depuis » to « Ma maison Gladys ».
Leave the name of your house in « Quelle maison ».
Save, then restart « Prévisualiser les stations proches ».

```

The last line should then display « Distances mesurées depuis la maison « … » », followed by the list of houses known to Gladys.

For the order of the houses: it doesn’t matter as long as the name is filled in « Quelle maison ». The first house only serves if the field is empty or if the name doesn’t match any house. In the latter case, a line No Gladys house named … appears in the logs.

If it still doesn’t work, send me the complete line of the preview.

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [October 4, 2026, 5:34pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/83 "2026-10-04T17:34:10Z")

</div>

Our messages crossed. 🤣

However, the logs still show nothing for house or 403

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 4, 2026, 5:41pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/84 "2026-10-04T17:41:36Z")

</div>

Perfect, that’s the right line: the distances do start from your house « Sxxxx ».

Empty logs are normal. The integration only writes about the house when something goes wrong:

```
a 403 error;
no house with coordinates;
a name that doesn't match any house (line No Gladys house named …).

```

If nothing is displayed, it means everything is fine. Your name is correctly recognized: otherwise, it would have been Cxxxx, the first on the list, that would have been used.

The widgets should now display « around the house » instead of the postal code. If that’s not the case, refresh the dashboard.

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [October 4, 2026, 6:25pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/85 "2026-10-04T18:25:08Z")

</div>

Yes, the title has indeed changed.

However, it seems to me that there are inconsistencies in **The cheapest** and **my stations** :

2 Total stations offer 1.990 € but do not both appear

 ![Screenshot 2026-10-04 at 20-23-04 Gladys Assistant](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/c/9cdd3f8b125a6611ceca9bc7087d1e24b05f33ef.png)

 ![Screenshot 2026-10-04 at 20-23-19 Gladys Assistant](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/7/a/7a888f19b1cf4be8e64e50360fe44b91d2a30ee5.png)

EDIT: Actually, in the logs we have TotalEnergies Access - Dieppe: e10 out of stock, keeping the previous price

A few minutes ago, there was Total Dieppe in **my stations** but not in **around**. I think it was just a matter of updating the data.

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 4, 2026, 6:39pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/86 "2026-10-04T18:39:46Z")

</div>

Thanks for the tests and screenshots!

**Total Dieppe** : This is normal. The log says it, the E10 is **out of stock** at this station. The ranking only shows stations where you can buy fuel today. The device, however, keeps its last price (€1.990) to avoid gaps in the curve. On its page, the text displays « Out of stock since the … ». As soon as the station restocks E10, it reappears in the ranking.

**Total Grandes-Ventes** : « No status in history » simply means the device had just been added. It entered « my stations » at the next update, as you saw.

Be careful though: its €1.990 was recorded on **23/09** (that’s the date to the right of the price). The station hasn’t updated it since, so it should be taken with caution.

**Route on each line** : Good idea, but Gladys doesn’t allow adding a link to a line in this ranking. The only list that accepts links replaces the curve, as a map can only display one main element. I can add a « curve » or « list with route » setting in « The cheapest ». I’ll note it for a future version.

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 7, 2026, 9:07pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/87 "2026-10-07T21:07:23Z")

</div>

In the ‹&nbsp;My Station&nbsp;› widget, I only have one fuel, SP98, even though I also checked SP95-E10

In the ‹&nbsp;classic&nbsp;› table:

| (SP95-E10) (Text) | Out of stock since 05/10/2026 at 10:00 |
| --- | --- |
| | |

whereas

| SP98 (Text) | Out of stock |
| --- | --- |
| Route OK | |

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 7, 2026, 9:11pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/88 "2026-10-07T21:11:48Z")

</div>

Thanks for your feedback  
Could you take some screenshots please to help Claude? Ideally, one screenshot of what you see without the classic view and another of what you see in the widget 🙂  
Please hide any sensitive information 😉

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 7, 2026, 9:24pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/89 "2026-10-07T21:24:16Z")

</div>

I just realized that it is announced that my station is designed for a single fuel…

so for a house, one ‹&nbsp;My Station&nbsp;› per fuel…

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 7, 2026, 9:27pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/90 "2026-10-07T21:27:56Z")

</div>

Yes, because the « My Station » widget is designed for a single station and if it distributes only one type of fuel, that’s normal 🙂

If you have an idea for another widget, I’ll let you describe in detail what you would like 🙂

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 7, 2026, 9:31pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/91 "2026-10-07T21:31:34Z")

</div>

I just came back for another house and with the widget I have both fuels!

They are available…

So back to the original house and rebuilding the widget: only one fuel SP98…out of stock on the old board

So I create another widget SP95-E10 and bingo I have it…Out of stock since 10/05 at 10:30 on the old board..

At this station in Noisy it’s sometimes stocked for one or the other and it doesn’t last long!

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 7, 2026, 9:32pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/92 "2026-10-07T21:32:31Z")

</div>

So I don’t understand if there’s a problem or not 😅

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 7, 2026, 10:25pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/93 "2026-10-07T22:25:33Z")

</div>

On the Brittany station, prices are in black and white

On the Noisy station, they are in orange on both widgets..

Version 2.2.0 has been implemented

Another thing: the route and displayed distance seem to be calculated based on the most recently configured home, not based on the home coordinates.  
If I leave the parameter on Noisy home, everything is calculated from Noisy  
If I change the parameters to Brittany home, the widget distance is correct at 8 km, i.e. correctly from Brittany home, but the route is 512 km

Well, I’ll revise with a clear head  
Not simple…

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 8, 2026, 5:49am UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/94 "2026-10-08T05:49:57Z")

</div>

Could you please do a quick recap of the issues you’re having with screenshots? 😉  
It’s easier for Claude to really target the problems you’re encountering

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 8, 2026, 6:43pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/95 "2026-10-08T18:43:27Z")

</div>

OK first observation.

Parameters: SP98 and SP95-E10 and choice of my fuel configuration.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/d/ed931c9fcbd954b0991e9ab434c5aa9ca2d4a460.jpeg)

**Bretagne House Table**

If I specify SP98

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/2/f2d717e6e91ce3cff9988aec4b2d3309ab92c7a7.png)

If for the same house I specify SP95-E10:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/4/24d1318eca7cbfb4551c5d179a87475e252447b5.png)

**Noisy House Table**

If I specify SP98

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/6/56e92063e75fc714480c15e772b7f8babdcc42cb.png)

If I specify SP95-E10

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/7/1/71867c5500d53eff9852a251e0ca5419c45cf14d.png)

What is curious is that only NOISY includes the device…

Distances are calculated based on the Noisy house displayed in the settings.

That is, for Brittany it is not from the coordinates of this house..

That’s it…

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 8, 2026, 9:40pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/96 "2026-10-08T21:40:46Z")

</div>

Thanks for the screenshots, it’s very clear 👍

- **Distance « 410.6 km from Noisy »** : that was indeed a bug. With multiple homes, the « My Station » map always measured from the home in the settings. As of **2.2.2** , it measures from the home **closest to the station** and displays its name (« 8 km from Brittany »). The « Best Prices » ranking remains centered on the home chosen in the settings.
- **512 km route** : the button opens Google Maps with only the destination, so Google starts from your current location. We do not intentionally transmit your home address to protect your privacy.
- **Orange price** : this is intentional, it signals a **shortage**. The displayed price is the last known one, and the line below indicates since when (the official feed confirms: SP98 out of stock in Pléhédel since 10/08 17:32, E10 and SP98 out of stock in Noisy).
- **1.990 everywhere** : this is TotalEnergies’ capped price, not an error.
- However, I didn’t understand « only NOISY has the device »: could you clarify?

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 8, 2026, 10:11pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/97 "2026-10-08T22:11:03Z")

</div>

My mistake, I was surprised not to have the address with a number for PLEHDEL, but it’s normal, my mistake…

However, why do I have two fuels on first view for PLEHEDEL but not for Noisy?

Version 2.2.2 distances OK.

---

<div class="post-metadata">

**Author:** ![NineStars](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/ninestars/32/22836_2.png) [@NineStars](https://community.gladysassistant.com/u/NineStars)\
**Post date:** [October 8, 2026, 11:14pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/98 "2026-10-08T23:14:03Z")

</div>

Hi, great integration, it’s well done and it works first time for me.

Regarding the presentation, I find there’s too much info, would it be possible to simplify a bit?

Brand: already covered by the station name (as far as I’m concerned, that’s the case)

Address / route / distance: I know how to get to the stations near me, I’ve lived here for years. I don’t see the point.

In my case I monitor 3 fuels, and as a result the presentation gives me 2 half-width boxes and one full-width box below. In this case I would have found 3 full-width boxes clearer. After all, I haven’t tested other configurations.

And I’d like to see the standardized fuel color code, it would make reading more immediate I think 🙂

It’s all minor stuff, it’s already super great! I added a graph to track the evolution over time

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [October 9, 2026, 7:25am UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/99 "2026-10-09T07:25:27Z")

</div>

> [@JPPUYB](#):
>
> I was as surprised as anyone not to have the address with a number for PLEHDEL, but it’s normal, my bad..
> 
> But why do I have two fuels on first view PLEHEDEL but not on Noisy…
> 
> Version 2.2.2 distances OK.

Well spotted, it was a display bug. The “My Station” map only displayed other fuels if they had a price that day. In Noisy, both the SP98 and the E10 were out of stock, so only the one from the device remained.

Fixed in **2.3.0** : a fuel from your configuration that is out of stock keeps its tile (in orange, with the last known price if you have added its device), and a line indicates how long. Only a fuel that the station does not sell at all does not appear.

* * *

> [@NineStars](#):
>
> Hi, great integration, it’s well designed and it works first time for me.
> 
> Regarding the presentation, I find there’s too much info, could it be simplified a bit?
> 
> Brand: already included in the station name (as far as I’m concerned, that’s the case)
> 
> Address / route / distance: I know how to get to the stations near me, I’ve lived here for years. I don’t see the point.
> 
> In my case I’m monitoring 3 fuels, and as a result the presentation gives me 2 half-width boxes and a full-width box below. In this case I would have found it clearer to have 3 full-width boxes. I haven’t tested other configurations.
> 
> And I’d like to see the standard fuel color coding again, it would make reading more immediate I think 🙂
> 
> It’s all minor, it’s already super great! I’ve added a graph to track the evolution over time

Thanks for the feedback!

What’s done in **2.3.0** , on the “My Station” map:

- **Brand** : the line disappears when the station name already contains it.
- **New “Details” → Compact setting** : only the prices and the date of the last reading. No address, distance, or Route button.

What doesn’t depend on the integration:

- **3 full-width boxes** : it’s Gladys that places the boxes (2 per line on a narrow map, the last one takes up all the space). The integration just sends a list of boxes.
- **Fuel colors** : Gladys only allows 6 “meaningful” colors (green, orange, red…), and orange is already used to indicate an outage.

I’ve proposed these two evolutions in Gladys: [https://community.gladysassistant.com/t/widgets-d-integration-externe-choisir-la-disposition-des-cases-et-leur-donner-une-couleur-d-accent](https://community.gladysassistant.com/t/widgets-d-integration-externe-choisir-la-disposition-des-cases-et-leur-donner-une-couleur-d-accent)

---

<div class="post-metadata">

**Author:** ![JPPUYB](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@JPPUYB](https://community.gladysassistant.com/u/JPPUYB)\
**Post date:** [October 9, 2026, 11:08am UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/100 "2026-10-09T11:08:51Z")

</div>

For my part, 2.3.0 is OK!

I’m dropping the old formula…

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [October 9, 2026, 3:29pm UTC](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065/101 "2026-10-09T15:29:23Z")

</div>

Hi,

The utility is described in one of my previous messages:

You’re on vacation, you create a «&nbsp;home&nbsp;» at the location where you are.

You have the route calculated from this home, the local weather…

[Previous page](https://community.gladysassistant.com/t/integration-externe-prix-carburants/9065.md?page=4)
