Skip to main content

Proactive AI Arrives in Gladys Assistant!

· 3 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hello everyone!

Today, I’m excited to introduce Gladys Assistant 4.48, a version where artificial intelligence is even more deeply integrated into Gladys to make your home smarter and more responsive.

Since January 2023, you could already ask ChatGPT questions through Gladys.

Gladys with ChatGPT

That was a good start, but I want to take it further! What if AI could be proactive and make decisions for you?

Imagine the possibilities

Imagine a car pulls up in front of your house. A dedicated security guard would watch, recognize your car—its shape, color, license plate—and know immediately that it’s you. But hiring a 24/7 guard isn’t within reach for everyone!

What if AI could play that role?

In Gladys, you can now write a simple instruction, for example:

“If a car is in front of the house, and it’s a red Tesla Model 3 with the license plate XXX, turn on the garage; otherwise, alert me that there’s an intruder.”

With Gladys 4.48, this scenario becomes a reality! You have a generalist AI ready to monitor and make decisions, just like a dedicated agent, but without the cost.

A concrete example

This new feature is based on the OpenAI ChatGPT 4o-mini API, with its latest vision feature available to Gladys Plus subscribers.

In a scene, you can create an “Ask AI” action and, if desired, send it an image from a camera.

Take the car example:

Analyzing camera image

If movement is detected outside your house, Gladys will send the garage camera image to analyze the situation. Then, based on detection:

  • If the correct car is recognized, the garage light turns on.
  • If another car is detected, you receive an intruder alert on your phone.

Analyzing sensor values

The camera is just one example! You can also send sensor data to the AI and ask it to act based on the results.

For instance, you could send a CO2 sensor value and request an action if the level is abnormal:

Analyzing Co2 Level Gladys

No need to look up recommended CO2 levels in a room—the AI draws on its extensive knowledge (essentially all of the internet!) to assess the situation and act intelligently.

It’s even possible to inject values retrieved from other APIs to:

  • Get a weather report first thing in the morning
  • Track financial markets with a stock summary
  • Check the news with an RSS feed
  • Verify home security each day during your vacation (normal temperature, etc.)

The possibilities are endless! I can’t wait to see what you’ll create with this update. Share your trials on the forum to inspire others!

Other updates

  • In scenes, filters by tag or title are now saved in the URL, so you can easily return to a filter after navigating.
  • Added support for pilot wire heaters in scenes.
  • Camera images are now retrieved via TCP (instead of UDP), avoiding display errors (like the green band bug).
  • Fixed binary charts: the first value now displays correctly.
  • DuckDB: connections are now properly closed when Gladys shuts down.

Thanks to everyone who contributed to this update! 🙌

How to update?

Make sure to use Watchtower for automatic updates. Check the documentation.

With Watchtower, Gladys will update automatically.

DuckDB: Extreme Performance and a 97% Lighter Database!

· 6 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone,

Today is a big day: I’m releasing a major version of Gladys that will drastically improve the Gladys experience and keep us at the cutting edge of data storage technology.

Imagine...

➡️ Your Gladys database shrinking from 47 GB to 1.5 GB...
➡️ Your charts displaying instantly, even over long periods of data...
➡️ Your Gladys Plus backups becoming lighter and faster...

Well, we did it!

The Technology: DuckDB

DuckDB is an OLAP database system that, like SQLite, stores data in a single file.

Launch of the ULTIMATE guide to getting started in home automation 🚀

· 3 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone!

I've been wanting to tell you about this project for so long, so here it is at last 😁

For those who missed the launch, the replay is available on YouTube (in French):


Order your training now (French only for now): formation.gladysassistant.com

I'm buying an apartment

The first news of this launch is that I'm buying an apartment in the south of France: my first main residence!

Obviously, I'm going to connect this apartment entirely with Gladys and make it a real showcase for what's possible in home automation in 2024 😎

I'm going to push the cursors to the max on all subjects: lighting, presence detection, security, music, etc....

The aim of this apartment is also to turn it into a real laboratory for home automation experiments.

This will allow me to be at the forefront in terms of Gladys use, and to be able to test all the new features at home.

I'll show you my personal setup

For the moment, the apartment is empty.

Sonos integration now available!

· 4 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone!

2 weeks ago, I was live on Youtube for a live coding session that lasted over 7 hours!!!

In this live, I developed from start to finish a Sonos integration for Gladys.

The live coding was in French, if you are interested, the live replay is available here on YouTube.

Today, I'm happy to release Gladys Assistant 4.32, which includes this Sonos integration 😁

Sonos integration in Gladys

Now you can connect your Sonos speakers to Gladys.

Sonos integration

Tag filtering & MQTT in scenes in Gladys Assistant 4.31

· 4 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hello everyone,

At the end of October I presented Gladys Assistant 4.30, a version that brought a complete alarm to Gladys!

Today I'm releasing Gladys Assistant 4.31, a version that brings a lot of new features and fixes following your feedback on the alarm mode 🎉🎉

Tag filtering in scenes

Many of you have been asking for a mechanism to filter the increasing number of scenes in your instances, and @Lokkye has done just that!

Gladys gets a full alarm!

· 3 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone!

Gladys Assistant 4.30 has just been released, and it's a hell of a version!!! 🥳

The main feature is the complete management of an Alarm mode that allows you to set up a complete home security system.

Gladys iPad Alarm Mockup

You've got to admit, it does make you want to 😎

An alarm in Gladys

Gladys can now replace a complete alarm system by managing the various states of any good alarm system:

MELCloud integration, full-screen tablet mode, Tuya shutters

· 3 min read
Pierre-Gilles Leymarie
Founder of Gladys Assistant

Hi everyone!

Another Gladys update with lots of new features 🥳

Integrations with Mitsubishi air conditioners

It's now possible to connect your Mitsubishi air conditioners (connected via MELCloud) to Gladys!

Mitsubishi air conditioner

Thanks to @Lokkye for the development 🙌

Full screen mode for Gladys tablets

If you're using Gladys on a touchscreen tablet somewhere in your home, it's likely that you'll want to display the Gladys dashboard full-screen, without the option of navigating away from that screen.

This is now possible, thanks to a parameter to be added to the URL:

?fullscreen=force

To enable better use of "tablet on the wall" type devices, the duration of connection sessions has been increased to 1 year.

(Sessions can still be revoked in Gladys settings at any time).

Set room temperature/humidity widget limits

It's now possible to define at what limit the colors of the "Temperature/Humidity" widgets change.

A bedroom doesn't necessarily have the same limits as a bathroom, or a terrarium!

When editing a dashboard, you can now define customized thresholds:

Humidity widget limits

Temperature widget limits

Thanks @Lokkye for this development 🙌

Camera images expire

From now on, expired camera images will no longer be displayed on the dashboard:

Camera image expiration

Tuya roller shutter management

The Tuya integration was released this summer, and a new type of device has just been added: roller shutters.

Thanks @Lokkye for this development 🙌

Lots of fixes

  • In MQTT, NextCloud Talk and Tasmota integration, password fields will no longer be automatically filled in by browsers (to avoid auto-fill bugs) (#1881)
  • On the dashboard, some devices no longer have value expiration dates (smoke detector, water leak detector, button, and text)
  • Improved translations in OpenWeather integration (#1897)
  • In scenes, in the "Control a device" action, binary devices are initialized to 0 by default instead of "empty value" (#1901)
  • In MQTT integration, an error message is added when a device is created with the same external ID as an existing device (#1902)
  • Better validation of "string" states (#1894)

Full CHANGELOG available here.

How to upgrade?

If you installed Gladys with the official Raspberry Pi OS image, your instance will update automatically in the coming hours. It can take up to 24 hours, don't panic.

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

With Watchtower, Gladys will update automatically.

Support us

If you want to support us, there are many ways:

  • Answer posts on the forum, give your feedback.
  • Help us improve the documentation.
  • Develop new features/integrations on Gladys, we are 100% open-source.
  • Subscribe to Gladys Plus, at -40% right now!!