Gladys Assistant 4.20 & Redesign of the Gladys Assistant website 💅

https://progresser-en-francais.fr/orthographe-francaise/nhesite-pas-ou-nhesites-pas/

As a reminder, the imperative is used to give an order, advice, or a recommendation. It is therefore addressed to one or more people. Thus, only three pronouns are found in this tense: the second person singular (tu) and plural (vous) and the first person plural (nous). To distinguish it from the present indicative, the pronoun disappears in the sentence.

Examples:

Si tu es fatigué, tu fermes tes yeux. (indicatif)
→ Si tu es fatiguĂ©, ferme tes yeux. (impĂ©ratif)

Tu roules trop vite ! (indicatif)
→ Roule moins vite ! (impĂ©ratif)

Tu parles Ă  ton pĂšre dĂšs que tu seras Ă  la maison. (indicatif)
→ Parle Ă  ton pĂšre dĂšs que tu seras Ă  la maison. (impĂ©ratif)

It’s true that the phrasing of the sentence in this case is confusing:

« Si tu veux contribuer, n’hĂ©site pas Ă  venir sur la communautĂ© pour parler du dĂ©veloppement sur lequel tu veux te lancer. Â»
There is no pronoun « tu Â», so that leads to the imperative and no « s Â»

« Si tu veux contribuer, tu n’hĂ©sites pas Ă  venir sur la communautĂ© pour parler du dĂ©veloppement sur lequel tu veux te lancer. Â»
There is the pronoun « tu Â», so that leads to the indicative and an « s Â»

However, in the first example one can speak of advice or recommendation in both forms which suggests the imperative
 but it’s the pronoun « tu Â» that makes the difference!
So there is indeed no « s Â»â€Š
I’ve got a headache now!! Am I as dumb as a dunce, as a weary dunce, or as a cockroach?:blush:

4 Likes

and when ChatGPT says :crazy_face:

@pierre-gilles, is it planned to enable the feature for Gladys home hosting?

I drove him crazy yesterday ! :face_with_thermometer: :rofl:

4 Likes

That just goes to show, the old man is really out of it


Hello @Fabic! What do you mean by « Gladys self-hosted Â»?

If you mean having the Enedis integration outside of Gladys Plus, that is not possible as things stand with the API currently offered by Enedis.

Enedis does not provide an API for private individuals, only an API intended for companies after signing a contract.

To get access to this API, « Gladys Assistant SAS Â» signed a contract with Enedis, and after development I had to do a presentation to Enedis to validate the integration, a presentation after which I received a « client_id Â» + « client_secret Â» pair that gives access to this API in production.

This key pair gives access to the data of all users who give Enedis consent (not just one user, it’s global), so it cannot be shared; all API querying must be done server-side on Gladys Plus for obvious security/confidentiality reasons :slight_smile:

It’s a bit like the Google Home and Alexa integrations — these are programs only accessible to companies, not to the end customer.

On the Gladys Plus side, hosting this infrastructure has costs (servers, storage & bandwidth), and also quite a bit of human cost for development and maintenance to ensure the service runs smoothly over time (infrastructure maintenance, API evolution, bug fixes, etc.), so it would not be viable to offer it for free.

I hope you understand :slight_smile:

Thanks for the explanation.

Yes, I completely understand, that’s normal and a good reason to switch to Gladys Plus.

But deep down it’s still incredible that a private individual cannot access the Enedis API and has to go through a third-party company to automatically retrieve their own data!

1 Like

Hi everyone :slight_smile:

I worked this morning on the different feedback you gave me about this integration. First: thanks for the feedback!

@mikael I confirm I was wrong, the Enedis integration sends data in « watt-hour Â» and not in « kilowatt-hour Â».

I opened a PR with the change + a DB migration for devices already created.

Once this change is in production, you’ll still need to recreate your « Graphique Â» box because it will still have the old unit value.

@Tlse-vins I fixed the responsive bug you reported, and I took the opportunity to improve the overall responsiveness of the page which indeed wasn’t great :slight_smile:

It’s better now:

@mikael To make it easier for you next time, I put the Gladys Plus URL in the Enedis view so you can access it with one click :slight_smile:

All these improvements are on master, and will be included in the next Gladys release :slight_smile:

If you have any other feedback, don’t hesitate.

3 Likes

Same remark, would I be at 18 MW (18,000 kW) of

Hi @pierre-gilles

I just updated to v4.21 and found a small layout glitch with the chart durations (the arrow is pointing downwards instead of inline):

Other bug:
Also, for me the Gladys Plus version does not allow searching integrations by their name on mobile only. It works fine when accessed from a desktop computer.

Indeed! I can reproduce the search bug on mobile.

I created 2 GitHub issues to keep a record of the bugs:

1 Like

Well, I just noticed that it only works for « mon-compte-particulier.enedis.fr Â»
I tried on a whim to change the link to « mon-compte-professionnel.enedis.fr Â» but that didn’t work.
Back on my personal account, no problem.

Indeed, I believe this API only applies to personal accounts!

Hello @Pierre-Gilles

As far as I’m concerned I still get the 404 error (after dozens of attempts)

Are there any steps to take on the ENEDIS website, permissions for example, to grant access to Gladys Assistant?

Hi @Isage!

Regarding Enedis, is your account new or old? Is the data reporting from your Linky meter already working properly on Enedis’ side, and do you have any history?



I do have the readings from my Linky (see the 3 attached screenshots)

I’m talking about your Enedis account, not Lixee! :slight_smile:

If you log into your Enedis account online, do you see all your data on their website? When did you create your Enedis account?

Hello everyone,
4 small comments about Enedis:

  1. I don’t have values in the 30-day chart for April 10 to 16 even though they appear in the Enedis app.

  2. When our consumption decreases, the change arrow is red, as is usual in charts, but here it would make more sense for it to be green. I don’t know if it’s possible to configure this on a case-by-case basis


  3. The months are written in English

  4. When you hover the mouse over the chart, the tooltip is « Enedis daily consumption Â», in English too :wink:

1 Like

Account created in January 2022
I have the data in days, weeks, months, years, but apparently not in hours !?


Thanks @gaetanb76 for your feedback!

Ok, it must be a local synchronization bug, I checked on Enedis’ side there is indeed data for your account on those dates. I’ll log the bug and get back to you when I’ve found a fix!

GitHub issue created:

Indeed that could be nice! I created a GitHub issue:

I created a GitHub issue:

I also created a GitHub issue :slight_smile:

Ok.. Maybe your Enedis account has an issue :confused: On that I’d invite you to contact Enedis support to see with them why you don’t have hourly data + why you can’t connect third-party applications.

1 Like