Skip to main content

Scenes in Gladys Assistant

In Gladys Assistant, it is possible to create scenes: a set of actions executed consecutively or in parallel.

The scenes are entirely personalized: it is the user who composes this action suite in the Gladys scene editor.

These scenes can be triggered manually, or automatically via a trigger.

Some examples :

  • A "turn off the whole house" scene, which would turn off all the lights in the house. This scene is useful in manual triggering if you want to be able to cut everything at home remotely.
  • An "Intrusion alert" scene, which sends a Telegram message to the user. This scene would be configured to run after an "If motion is detected" trigger.

Create a scene#

To create a scene, you can go to the "Scenes" tab of your Gladys interface, and click on the "New +" button.

Create a scene

Then you can choose a name for your scene, as well as an icon. This icon is only useful in the Gladys interface.

Create a scene

You are now in the scene editor. Let's analyze each part of the editor together:

Create a scene

  1. Triggers: If you add triggers to your scene (which is optional), they will appear here. The same scene can be triggered by several different triggers. These triggers are all independent. Adding several triggers simply means: "When this event occurs OR When this event occurs OR ..."
  2. An action block: a scene is split into one or more action blocks. When you add actions to this action block, all actions in the block will run in parallel. If you add actions to the next action block (not visible in this screenshot), the scene will wait until action block # 1 is finished before moving on to the next one. So you can parallelize the different actions, and not just do sequential, powerful right?
  3. Execute: This button allows you to test the execution of the scene. This button does not take triggers into account, it only executes action blocks.
  4. Save: This button saves the scene.
  5. Delete: This button deletes the scene.
  6. Add trigger: This button allows you to add a trigger to the scene. You can add as many triggers as you want.
  7. Add action: This button adds an action to the action block.
  8. Click on the scene title to edit it.