Gladys v4.0.4 is available!

Hello everyone!

This is the start-of-year update, and it includes many developments that were made in December :slight_smile:

What are the changes?

  • There is now a new eWelink integration:

  • As well as a TP-Link integration, developed by @cicoub13:

  • Regarding the MQTT integration, the client ID is now a clear ID suffixed with a randomly generated number, to allow users who want to run multiple Gladys instances at the same time, while having MQTT functional. Thanks @VonOx for the fix!

  • The Tasmota integration now supports distance sensors, thanks to @AlexTrovato

  • The long-awaited color-picker is now here! Well done @AlexTrovato

100214985-cf5ea280-2f10-11eb-93f9-fbb0625f5c43

In addition to all this, there have been many small bug fixes :slight_smile:

The complete changelog is available on GitHub.

How to update?

If you installed Gladys with the official Raspbian image, your instances will update automatically in the coming hours. This can take up to 24 hours, no need to worry.

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

Congratulations to everyone who contributed to this release!

On my side

On my side, the start of the year is busy, I am currently working on an article/feature that will be published in a specialized print magazine. It’s time-consuming but specialized press is really the best for attracting new users :slight_smile:

Once I have finished this feature, I will go back to development where I was before the holidays, I was working on variable injection in scenes: for example, being able to inject variables in the « text Â» field of the « send a message Â» box.

For information for those interested, we will have a developer call Wednesday, January 13th at 9 PM. The goal is to allow developers to ask all their questions and to exchange on the developments in progress. If you are interested, reply to this post and I will add you to the group.

And as a reminder, I published an article 2020 year in review last week :slight_smile:

Happy New Year to everyone! :partying_face:

Thanks @AlexTrovato :grin:

Super version :wink:
I think you forgot to merge this PR about the TP-Link documentation docs(tp-link): Add integration docs and devices by cicoub13 · Pull Request #28 · GladysAssistant/v4-website · GitHub

@cicoub13 Thanks for the reminder :slight_smile: I always do this after the release, it’s weird to promote a feature on the site that isn’t available yet :wink: I’ll merge it soon!

And the long-awaited color picker according to the changelog!! At the top ^^
By the way, do you just need to add the Color feature to the dashboard I suppose?

Yes you just have to edit your boxes

Oops, I was convinced it was in 4.0.3! I added it to the post :slight_smile:

I kept a Sonoff on eWeLink but I feel it will switch to Tasmota, I have a crazy latency (4/5 seconds to turn on a light)

At the same time, isn’t eWelink a cloud integration? Check with the author of the PR eWelink otherwise (Nickdub on GitHub, I don’t remember his username on the forum)

Yeah, it’s cloud computing, their servers are struggling I think

@cicoub13, small update on the PR merge, the site no longer builds with all the images we have, super weird.

I have tons of errors in the site build (on master)

6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.084: gtype.c:4265: type id '0' is invalid
6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.084: can't peek value table for type '<invalid>' which is not currently referenced
6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.084: gvalue.c:188: cannot initialize GValue with type '(null)', this type has no GTypeValueTable implementation
6:19:55 PM: (sharp:1887): GLib-GObject-CRITICAL **: 17:19:55.085: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.085: gtype.c:4265: type id '0' is invalid
6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.085: can't peek value table for type '<invalid>' which is not currently referenced
6:19:55 PM: (sharp:1887): GLib-GObject-WARNING **: 17:19:55.085: gvalue.c:188: cannot initialize GValue with type '(null)', this type has no GTypeValueTable implementation

sharp is struggling to resize so many images. It seems to be a known issue according to my research, other tools users like Gatsby have the same problems on large sites :slight_smile:

It will take longer than expected to put the site online :sweat_smile:

Good evening,
I also have an issue with eWelink. I have 8 Sonoff Basic devices on eWelink, but I can’t see them in the integration. After entering my account details, Gladys confirms that she has connected to the eWelink cloud (Cloud account connection successful to eWeLink!). But when I scan to discover the Sonoff devices, I get this message from Gladys (Gladys failed to connect to the eWeLink cloud, more information on the [eWeLink configuration page.]. But in the logs, I have this message (discover.js:25 (EweLinkHandler.discover) eWeLink: 8 device(s) found while retrieving from the cloud!). Little Nico if you read this message, can I be a tester like for the V3 (which worked very well.) :wink:

Hello,

I would really like to be able to participate in the call on Wednesday if possible.

Hello, I’m not 100% sure I’ll be available, but I’d also like a link for Wednesday’s call! :grinning_face:

@Pti_Nico I’ll let you look at it with @Psoy to see what’s wrong? :slight_smile:

@euguuu and @Albenss and @simon_raynaud I’ll add you to the message!

OK, it works :wink:

good evening,
What information do you need?

In the debug mode logs, you should see other messages like:
eWeLink: Device "<deviceid>" is already in Gladys!
or
eWeLink: Device "<deviceid>" found, uiid: <uiid>, model: "<productModel>", channel: <channel>/<switchesAmount>"

Could you provide them to me?

For the logs, I only know « docker logs gladys Â». Can you tell me how to be in debug mode?

Hey!

@pierre-gilles is it possible to be added tonight (with connection details if possible)
I’m in the process of finalizing the delivery of the gnomes to bed, so « normally Â» I should be available from 9 PM :pray:
Thx @+