New video: Gladys Assistant at your home #5, Cyril and his coffee ready every morning thanks to Gladys!

It’s true, happy birthday @cicoub13!! :tada::tada:

Happy birthday @cicoub13 :beer_mug:

Fortunately there’s Alex, happy birthday @cicoub13.

Happy birthday @cicoub13 !! :beer: :beer: :confetti_ball:

And congratulations on the video! Very beautiful setup!!

Happy birthday @cicoub13

Happy birthday @cicoub13 :confetti_ball::tada::champagne:

Thanks to both of you for this great, clear, and well-documented video, it opens up new horizons again, well done!

@cicoub13, I tried to reproduce your scene for sending weather data with the HTTP request to the OpenWeather API. It’s cool, I learned that Gladys has the ability to automatically create variables from JSON responses.

But do you have any issues when you try to read the min and max temperature variables?

Because after saving the scene, the _min and _max of each variable are removed

However, these variables do appear in the list

So when I receive the message, I get the data.main.temp variable instead, which does not correspond to the min and max
image

I haven’t seen the video yet
Happy Birthday @cicoub13

Hehe, there is indeed a bug and I had fixed it manually in my instance :face_with_diagonal_mouth: (by the way, the update to the latest version replaced my code and thus reintroduced the bug, as you can see in the video).

I created the issue [Scene] Bad variable management when one variable id contains another id variable · Issue #1503 · GladysAssistant/Gladys · GitHub and made a correction proposal fix: Sort variables to avoid bad replacement in text by cicoub13 · Pull Request #1504 · GladysAssistant/Gladys · GitHub

I need to take a look to improve the tests :eyes:

Thank you all for your birthday messages :tada: :smile:

On Xiaomi devices, this is configurable, but on Sonoff motion sensors SONOFF SNZB-03 control via MQTT | Zigbee2MQTT, this occupancy parameter is not configurable.
How can this be managed?

We can’t, it’s not adjustable.

I have a Sonoff and it must be 2 minutes for the timing.

Edit: it’s 1 minute.

Ah, I had a feeling.

Hello @cicoub13 @pierre-gilles,

Would it be possible to have visibility on the delivery of this fix?

I’ve just submitted a new fix. Awaiting review

Thanks for the info. Do you need any help with testing?

Hi @cicoub13, I just tested your PR and it’s good — it properly fixes the bug on my side :slight_smile: I merged it; it will be included in the next Gladys release!