Gladys Assistant 4.20 & Redesign of the Gladys Assistant website 💅

Hello everyone!

I have lots of news for you today :grinning_face_with_smiling_eyes:

Homepage redesign

I wasn’t satisfied with the current homepage, and I’ve been working for a while on a complete redesign.

It’s done! :partying_face:

  • The page is more comprehensive: I explain Gladys’ key features (with short videos), the project’s philosophy, and compatible integrations.
  • The page is up to date: I updated the screenshots with Gladys’ new features (Charts, time display, Ecowatt integration, air quality sensors, etc…). The media on the page is available in French AND in English. That was a lot of work ^^
  • The page is more spacious, with clearer spacing than before.
  • The community aspect is highlighted with user testimonials at the bottom of the page. If you want to add your testimonial about Gladys, you can post it as a reply to this post and I’ll add it to the site :wink:
  • I added an « FAQ » at the bottom of the page to answer various questions people often ask when arriving on Gladys. If you have ideas for questions/answers to add, feel free to share.

The updated site can be viewed here:

Thanks to @lmilcent @tiboys @guim31 @Tlse-vins and @jparbel for the testimonials :folded_hands:

Gladys Assistant 4.20: Enedis integration in public beta!

After 2 weeks of testing in private alpha, I’m happy to move Enedis to public beta :tada:

If you want to test this Enedis integration, make sure your Gladys installation is on « v4.20.0 »:

This first beta focuses on one thing, and tries to do it well: synchronization with Enedis.

The Enedis API is temperamental and often down.

I designed this integration so that, for the user, this chronic instability is as transparent as possible.

Gladys Plus (server) syncs regularly with the Enedis API, and then locally the instances sync with Gladys Plus.

On Enedis’ side, the previous day’s electricity consumption data is published every day between 8:00 and 10:00.

Gladys Plus will attempt to synchronize this data several times from 8:30 to 11:30. Depending on the state of the Enedis API (heavy load in the morning), the data will be available sooner or later.

For now, this data is displayed via an « Enedis (daily consumption) » feature, available in the « Graph » view:

This alpha does NOT include the advanced display proposals I suggested on the « Enedis Integration » thread:

  • No special electricity consumption box on the homepage
  • No cost management (calculation of consumption in €)

I preferred to split this development into two parts, to start collecting feedback on this first part, and to better understand the demand.

It’s also a question of motivation, because working for several months in the dark without it serving anyone isn’t very motivating :stuck_out_tongue:

Prerequisites

Connecting to Enedis

Go to Gladys Plus, and click this button:

Gladys Plus will sync with Enedis.

The first synchronization can take several hours, don’t panic :slight_smile:

Zigbee2mqtt bug fix

This update fixes the Zigbee2mqtt bug that several of you noticed during the latest Gladys updates.

The bug was very tricky and not easy to reproduce!

If you want to know more:

The bug is now fixed in v4.20.

Dashboard display bug fix

Several of you reported the bug: the dropdown in the « room devices » box was sometimes hidden vertically by the fixed bottom bar of the screen.

This bug is now fixed :slight_smile:

MQTT integration bug fix

In the MQTT integration, a bug could occur in certain cases and display « ******** » instead of the password, even when clicking the « Show password » button.

This bug was fixed by @AlexTrovato, thank you :folded_hands:

Ongoing work

  • I’m still working on displaying live cameras on the dashboard
  • I’ll probably do a bugfix/UX pass once the « live camera » feature is released

Changelog

The full CHANGELOG is available here .

How to update?

If you installed Gladys with the official Raspberry Pi OS image, your instances will update automatically in the coming hours. This can take up to 24 hours, don’t worry.

If you installed Gladys with Docker, make sure you are using Watchtower (See the documentation )

8 Likes

Great job !
I’m testing.

Be careful, to get the agreement validation page you must already be logged in to Enedis before clicking, otherwise you have to click a second time.

Oh yes, I had a bit of trouble finding the gladysplus URL (my phone was upstairs …). A link would be useful either on the gladysplus settings page or in the apps that request it

For my part, it works perfectly with Enedis.

It took some time to see any data (the 1st synchronization is not instantaneous).
But I can see my data for up to a year, that’s great.
I haven’t played with my scenes yet, but I have ideas :smiley:

Well done, great job! :clap:

Small bug: it shows 18893 kWh for the variation and the same for the y-axis, while I’m only at 18

1 Like

Hello !
I wanted to try Enedis but it seems they have an issue when adding a meter ^^

Can’t wait to test when that will be possible :slight_smile:

Some very nice things to test.
Thanks @pierre-gilles and @AlexTrovato for your work.
With Enedis, a small issue giving access to my data:
after arriving on the Enedis site, I got this page


I opened it in the browser, then went back three or four times to reach the page where there’s a message saying you accept data sharing for a period of 2 years. I confirmed the acceptance and it brought me back to the Gladys Assistant page.

Hello
As for me, I get this message from Enedis « ERROR 404 The page you are looking for does not exist »,


after clicking on « I access my Enedis customer area »

Thanks for the feedback! Do you think the issue is on Enedis’ side or Gladys’ side? From what you describe, it would be Enedis not redirecting back to the previous page after a login — I don’t know if I can do much about it (I can report the bug to Enedis, but don’t expect much :stuck_out_tongue: )

Okay, indeed

Otherwise, on the Gladys site, this link redirects to Gladys Plus:

Cool :smiling_face_with_sunglasses: Thanks @AlexTrovato :folded_hands:

The first sync can take a while, because there is a rate limit on Enedis that is global to Gladys Plus, so if you connect several accounts at the same time, it will divide the request frequency by the number of users currently syncing. But well, it’s only the first sync that’s long — after that, each daily sync is relatively quick

Thanks for the feedback, noted!

The Enedis integration doesn’t return any live data; it’s historical data only. The best you’ll get is yesterday’s data. Also, given the outages I see in the messages below, it’s possible there was no data refresh this weekend (I wonder how automatic their system is, and since it was Easter Monday, they might not have been working). I’ll look into it

Edit: I confirm that there was no update on Easter Monday!

Hello @spenceur @gaetanb76 @Isage :slight_smile:

As mentioned in my initial message, the Enedis API is quite unstable. It happens that the API is down for several consecutive days.

I invite you to retest later, and if it persists, tell me!

For my part, immediate connection with no issues. Quick sync.
All that’s left is to display the chart once the data have arrived.


:+1:

1 Like

Syncro this morning that’s been stuck at 50% for a while ^^’

The Enedis API was down at

1 Like

Some small typos slipped in… :wink:

How to contribute to the project ?

Gladys Assistant is fully open-source and available on GitHub.
Any PR is welcome :slightly_smiling_face:

If you want to contribute, feel free to join the community to talk about the development you want to take on. This will allow you to check with the other developers whether someone else isn’t already working on it, and, above all, to discuss « specifications » before jumping into development !

How to contribute to the project ?

Gladys Assistant is fully open-source and available on GitHub.
Any PR is welcome :slightly_smiling_face:

If you want to contribute, don’t hesitate to join the community to talk about the development you want to take on. This will allow you to check with other developers if someone else isn’t working on it already, and above all to discuss « specifications » before starting development !

What hardware is required to install Gladys Assistant ?

Gladys can be installed on any Linux machine (a Raspberry Pi, a NAS, a server, an old Linux PC, whatever!), as long as Docker runs on the machine, Gladys can run on it.

What hardware is required to install Gladys Assistant ?

Gladys can be installed on any Linux machine (a Raspberry Pi, a NAS, a server, an old Linux PC, whatever!), as long as Docker runs on the machine, Gladys can run on it.

1 Like

I

3 Likes

Idem. Wait and see … :sleeping:

yes but here it’s the present indicative, so with an s

Ah the countless pitfalls of the French language !!! :face_with_thermometer: :stuck_out_tongue_winking_eye: :crazy_face: :exploding_head:
Order lies in nuance and nuance lies in order !

Are you sure?
Because for me it’s the imperative, like the example:

Don’t hesitate to contact me if needed

2 Likes

[quote="cce66, post:13, topic:

Alright, don’t hesitate, without ‹ S ›, without hesitation.
That’s indeed the imperative then, so don’t hesitate to omit the ‹ S ›! :cowboy_hat_face:

2 Likes

If we are dealing with a conjugation in the indicative mood, one should be able to add the subject without it sounding odd :

If you want to contribute, you don’t hesitate to come.

Not convinced in this case!

1 Like