When I launch a Gladys scene with a button, I find it nice on some of these scenes to have an audio confirmation that the scene has been launched, or that a step has been completed. For example, I launch the scene that circulates hot water so that it rises to the upstairs bathroom, and I have a first confirmation that tells me « Ok, I’m on it », then a second one that tells me « There you go, the shower is ready ».
Except that these phrases are always the same!
I managed with node-red to bring a bit of variation (see this tutorial). But it would be great to have this directly in Gladys.
One way to achieve this would be to have a new action in the scenes, named for example « Random Text », in which we could define several texts (with the possibility of including variables), and the result would be one of these texts chosen randomly and usable as a variable in the following blocks.
For example, I would define the following texts in this action:
- Text 1: « Ok, I’m on it »
- Text 2: « I’m heating the water. And it’s at {{ 1.1 Water Temperature }} degrees »
- Text 3: « Your wish is my command »
- Text 4: « I’ll see what I can do… »
And in the next block, I could use the action « Speak on a speaker » with the text {{ 2.1 Random Text}}
@pierre-gilles With your way of relying on AI to develop, is it still useful to create a mockup or is it not necessary?