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
-
Create the Scenario and Add the
Start
Node:- Create a new scenario.
- Add a
Start
node.
-
Configure the
Start
Node:- Open the configuration of the
Start
node. - Enter the name "Alarm clock".
- Open the configuration of the
-
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:
- Open the configuration of the
-
Add the
Speak
Node:- Add a
Speak
node and connect it to theCalendar
node.
- Add a
-
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:
- Set up the
-
Add the
End
Node:- Add an
End
node to complete the scenario.
- Add an
-
Save the Scenario:
- Save the scenario.
- Note:
The scenario will be added to the list of existing scenarios. Clicking on it will open it in the editor.
-
Activate the Scenario:
- Activate the scenario.
- Check the configuration for this step
-
Final Save:
- Don't forget to save your modifications.
-
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.
Congratulations!
You have just created a scenario that will run every morning at 8:00 AM!