New version 4.7: Graphical display and major Zigbee2mqtt integration update!

Hello everyone!

After months of work, I am happy to launch today Gladys Assistant v4.7 (technically, Gladys Assistant v4.7.1), a fairly significant update with 2 main new features:

  • The « graph » view on the dashboard
  • A major update of Zigbee2mqtt, thanks to the great work of @AlexTrovato.

To learn more, I have detailed all the new features in an article on the blog:

The documentation has also been updated: Afficher un graphique sur le tableau de bord | Gladys Assistant

Thank you to everyone who contributed to this update :folded_hands:

I am thinking of @AlexTrovato, @VonOx, @bertrandda and @Pti_Nico!

A quick question: why 100 values?
128 seems more appropriate for a computer system, with free optimization.
With the advantage of being able to do 10 values per hour in a day. :wink:

And why not? :slight_smile:

The value was chosen visually (and a bit arbitrarily as well). 100 values on a graph is really the limit beyond which adding more values doesn’t help much.

128 would have been too much in my opinion, and 64 too few ^^ Knowing that using 128 doesn’t provide any optimization, on the contrary, it’s better to use the lowest possible value without degrading the display.

Removing a device in zigbee2mqtt is extremely slow. This puts my Gladys in PLS :frowning: and in the configuration section it says "gladys is not running in docker. It is impossible to activate zigbee2mqtt from gladys. No more access to the dashboard possible.

After 5 minutes… effective deletion …

Which Raspberry model do you have?

a Raspberry Pi 3. I didn’t have this issue before

No issues on RPi 4 anyway. Even if it’s a bit more powerful, I’m surprised that we go from less than a second to a few minutes :confused:

And here’s another problem related to deletion: I have a device that I can no longer recreate in Gladys. I get:
« An error occurred during saving. »

I tried running docker logs -f --since 1m gladys but I don’t see anything.
I think it’s still present in a database table, but I don’t (yet) have the knowledge to access and modify it.

Another issue: the integration of a device has completely disappeared:
(Zigbee2mqttManager.handleMqttMessage) Zigbee2mqtt device 0x5c0272fffe8f7bca not configured in Gladys.
(see the Heiman)

Weird! Are you sure the problem specifically comes from this action, or is it just your instance that is generally slow?

  • Are you running on an SD card? Is your SD card too old?
  • Are you running other software besides Gladys?

@AlexTrovato does this ring a bell?

Petite question:
If I start over with a fresh installation of Gladys from the official image, will I be on Buster or Bullseye?
Belle soirée!

Yes, I am carteSD. I don’t know when it dates from, but it has only been running since June. But well, I plan to switch to SSD as soon as I have 5 minutes.

No, it’s an installation specifically for gladys.

As for the slowness, it’s probably the card showing weaknesses. However, I will open another topic to ask for help modifying my ghost devices.

Nope.

That reminds me of a « system » feature mentioned a few months ago, precisely to have more « brute » control over devices in the database.

Buster

But if you feel like testing, we have made a Bullseye build

Don’t hesitate to give feedback here Gladys SD Image Evolution to Debian 11 "Bullseye" · Issue #5 · GladysAssistant/gladys-pi-gen · GitHub

Hello,

I’m back because I just did a test and an integration of a buggy device.
I can no longer save under gladys « zigbee discovery » the RTCGQ11LM motion detector device. My old device is no longer saved and a new RTCGQ11LM device either.

error: « An error occurred while saving. »

integration ok in gladys8080

Perhaps I’m unlucky and the sector of my SD card is defective where the RTCGQ11LM device recordings are stored.

On the other hand, a WSDCGQ11LM temperature sensor is well saved under Gladys.

Moreover, I also lost the integration of my carbon monoxide detector HS1CA-E

@mikael I really think all this comes from your faulty SD card, none of this is normal ^^

@pierre-gilles: The issue has been identified: Conflict lors de l'ajout d'un device Z2M - #3 par Albenss

It doesn’t change the fact that I will have to switch to SSD for more security.

Great! Back from vacation, I’ll look at all the PRs tomorrow :slight_smile:

I saw that @AlexTrovato made a PR to fix this:

good evening
I found the graphics great and useful both for temperatures, humidity and consumption

on the other hand I have an idea or request, I would like to know the number of times and the duration that my boiler turns on for example, a contact on off on records when it is « on » then when it is « off » and display for example bar graph duration of operation of an appliance we can imagine using the sonof inters for example?

Thanks @pascal_sapin, it’s always nice to get positive feedback :slight_smile:

This is a request that has been made, you can vote here if you want to encourage development:

exactly that, an event view with the choice of devices to follow within a desired time, 24 hours, several days or even months

to follow