ioBroker / ioBroker.iot

Connection for Alexa, IFTTT, Google Home and co
MIT License
71 stars 25 forks source link

Feature request: Add SSML to Custom Skill 2.0 #650

Open Kaldesh84 opened 9 months ago

Kaldesh84 commented 9 months ago

I use SSML for most of my Alexa announcements/speak commands to make it sound a little more natural. I would like to also use SSML functionalities when using the Custom Skill 2.0.

So when I trigger a dialog with Alexa from a script, I'd like to set the textCommand data point to something like this:

"sage i.o. broker starte dialog mit <speak><amazon:auto-breaths>Die Garage ist seit 15 Minuten offen. Soll ich sie schließen?</amazon:auto-breaths></speak>"

and have the SSML tags interpreted for the dialog initiation.

This is not possible right now. Also SSML tags don't work in the responseText field of the JSON that I set to iot.0.smart.lastResponse. Both for the starting sentence and the responseText, nothing will be said by Alexa.

Apollon77 commented 9 months ago

We need to check if and how this is supported for custom skills at all.