Gladys Assistant 5.3.7: enlarge your charts, and scenes that know which device triggered them 📈

Hi everyone! :waving_hand:

Gladys Assistant 5.3.7 is out! :tada:

This release brings two features you’ve been asking for a long time: you can now enlarge a chart on your dashboard to read it closely, and a scene can now tell which device triggered it. You’ll also see when the AI is working in the chat, and it’s time to move away from the deprecated built-in integrations.

:chart_increasing: Dashboard: enlarge a chart

A chart on a dashboard is meant for a quick glance: it’s small, often without axes. Chart widgets now have an Enlarge button that opens the same chart in a large window, to read it closely:

chart-enlarged-desktop

  • The same period as the widget: change it in the large view, and the widget keeps it once you close it.
  • Axes are always shown, and the chart takes all the available height.
  • A table under the chart gives the min, average, max and last value of each series for what’s on screen. Click a row to show or hide that series.
  • Zoom in: drag a selection with the mouse, or pinch with two fingers on a phone. The table follows the zoomed range, and a button resets the zoom.

On a phone, the chart opens in a sheet from the bottom of the screen:

chart-enlarged-phone

:backhand_index_pointing_right: Forum topic: Etre capable de zoomer sur la vue graphique du dashboard pour l'afficher en grand

:door: Scenes: know which device triggered the scene

Until now, if you wanted to know which door had been opened, you needed one scene per door. A scene started by a device state change trigger now passes four variables to its actions:

Variable What it contains
Trigger device name the name of the device that changed
Trigger feature name the name of the feature that changed
Trigger new value the value that triggered the scene
Trigger previous value the value just before

Type {{ in a message, an SMS, an HTTP request, an MQTT message, an “Ask AI” action, a formula
 and pick them from the list. One scene watching all your doors can now send “Garage door was just opened” :bullseye:

scene-trigger-variables

The help texts of the scene editor now also say that variables can come from the trigger, not only from a “Set a variable” or “Get device value” action.

:backhand_index_pointing_right: Forum topic: Avoir la possibilité de récupérer qui a déclenché la scÚne

:robot: AI chat: see that Gladys is thinking

When you asked the AI something, only a small grey “Typing
” line showed that it was working, and it disappeared as soon as the AI used a tool. Now, while Gladys is working:

  • Gladys’ avatar gets a colored aura that moves.
  • A short phrase changes every few seconds (“Thinking
”, “Connecting the dots
”, “Warming up my neurons
”).
  • After 3 seconds, the waiting time is shown, so a long answer (several tools, a scene to create) never looks like a frozen chat.
  • The indicator stays if you leave the chat and come back while Gladys is still working.

chat-ai-thinking

Answers also show up faster: the small random delay that imitated typing is gone.

:warning: Deprecated integrations: time to migrate

19 built-in integrations (Tuya, Philips Hue, TP-Link, eWeLink, Tasmota, Broadlink, Netatmo, Sonos, Z-Wave JS UI, Telegram, OpenWeather
) are now replaced by external integrations maintained by the community. They will be removed from Gladys in early 2027.

  • The banner on these integrations is now red, and has an Install the new integration button and a link to its documentation.
  • You can no longer add new devices to the deprecated device integrations: the discovery tabs now point to the new integration. Your existing devices keep working.
  • Once the new integration is installed and your devices are added to it, click Migrate on each old device and check how its features are paired: a paired feature keeps its history, scenes and dashboards, but a feature left unpaired loses its history and its scenes must be edited. Some features are paired by hand: follow the migration guide in the documentation of the new integration.
  • Xiaomi has no external replacement: its page points to Zigbee2MQTT and Matter.

deprecated-integration

If a device isn’t supported by the new integration, now is the right time to tell its author, while the built-in integration still works :folded_hands:

:hammer_and_wrench: And also

  • Weather widget: the animated weather icons made the browser redraw the page all the time, which could use more than a full CPU core while the dashboard was open. The icons are now static (same drawings, no animation).
  • Scene editor: when an action stopped the scene (for example a formula that fails), its step stayed highlighted in blue. Fixed.
  • Gladys Plus: restoring a backup now rebuilds the history database directly from the data, which is more reliable. Gladys Plus sign-up and recovery pages no longer send you to the support email: everything can be done on your own, and the error messages are clearer.
  • Zigbee2MQTT is updated to 2.14.4 (new supported devices and many fixes). Zigbee2MQTT restarts once after the update, your network and devices are kept.
  • Houses settings: what you typed in the search field could be erased while the list was loading. Fixed.
  • Security: dependencies updated (cross-spawn, ws, dompurify).

:up_arrow: How to update

If you use Watchtower, Gladys updates on its own within 24 hours. Otherwise, update in one click from Settings > System.

:heart: Thanks

Thanks to @pierre-gilles for most of this release, to smuteau on GitHub for the “Announce
” follow-up fixes, to @spenceur for the two feature requests (chart zoom in 2022, scene trigger in 2023 — they’re here! :grinning_face_with_smiling_eyes:), to @prohand for reporting the scene editor bug, to nestor-alonso on GitHub for measuring the weather icons CPU usage, and to everyone who reports problems on the forum!

If you enlarge a chart or build a scene with the trigger variables, tell us how it goes below :backhand_index_pointing_down:

Only two or three more years for my requests this year then :disguised_face::disguised_face::rofl:
Thanks for the work