Skip to content

Basic Example

Let's start with a simple example that we will gradually build on with more advanced scenarios.


Scenario Objective

Create a scenario that triggers every morning at 8:00 AM with a TTS message that asks you to wake up:

"It's 8 o'clock. Everybody, get up!"

Note:
Try to complete the steps on your own first, then verify your configuration against the provided example.


Steps to Follow

  1. Create the Scenario and Add the Start Node:

    • Create a new scenario.
    • Add a Start node.
  2. Configure the Start Node:

    • Open the configuration of the Start node.
    • Enter the name "Alarm clock".
  3. Configure the Calendar Node:

    • Open the configuration of the Calendar node.
    • Set it to trigger every morning at 8:00 AM (programmed).
    • For now, do not enable it at startup.
    • Expected result in the editor:

    Screenshot

  4. Add the Speak Node:

    • Add a Speak node and connect it to the Calendar node.
  5. Configure the Speak Node:

    • Set up the Speak node with the following parameters:
      • TTS Message: "It's 8 o'clock. Everybody, get up!"
      • Client: For this exercise, choose the current room (for example, "Living Room").
    • Note:
      The TTS should be set in the current language. Here, it is in English for documentation purposes.
    • Expected result in the editor:

    Screenshot

  6. Add the End Node:

    • Add an End node to complete the scenario.

    Screenshot

  7. Save the Scenario:

    • Save the scenario.

    Screenshot

    • Note:
      The scenario will be added to the list of existing scenarios. Clicking on it will open it in the editor.
  8. Activate the Scenario:

  9. Final Save:

    • Don't forget to save your modifications.

    Screenshot

  10. Start the Scenario:

    • If your application is configured to restart automatically at night, the scenario will launch automatically at startup.
    • Otherwise, click on the Job status to start the scenario manually.

    Screenshot

    Screenshot


Congratulations!

You have just created a scenario that will run every morning at 8:00 AM!


Next Step