- Platform information:
- Hardware: Linux VM / 3GB / 2 vCPU
- OS: Ubuntu 18.06 LTS
- Java Runtime Environment: Zulu, 8.40.0.25
- openHAB version: 2.4.0
I have the Alexa Binding configured and everything seems to work properly. However, I tried to send a TTS with SSML tags and Alexa keep reading them instead of interpret (even the speak tag). I know that the sentences with tags are correct because i used the alexa development console and its working.
I’m using the Portuguese Brazilian language, but the problem persists even when I change to English US. Am I missing something?
Thing definition:
Bridge amazonechocontrol:account:accountUS "Amazon Account - US" @ "Accounts"
{
Thing echo echoMarcelo "Alexa" @ "Bedroom" [serialNumber="xxxxxxxxx"]
}
Item definition:
Group Alexa_Marcelo <player>
String Echo_Marcelo_TTS "Text to Speech" (Alexa_Marcelo) {channel="amazonechocontrol:echo:accountUS:echoMarcelo:textToSpeech"}
Rule:
rule "Alexa Routine"
when
Member of AlexaRoutine received command
then
Echo_Marcelo_TTS.sendCommand("<speak> Teste SSML </speak>")
end
When I can the rule it generates the following log:
2019-10-12 13:29:07.222 [ome.event.ItemCommandEvent] - Item 'Echo_Marcelo_TTS' received command <speak> Teste SSML</speak>
2019-10-12 13:29:07.227 [nt.ItemStatePredictedEvent] - Echo_Marcelo_TTS predicted to become <speak> Teste SSML</speak>
2019-10-12 13:29:07.239 [vent.ItemStateChangedEvent] - Echo_Marcelo_TTS changed from to <speak> Teste SSML</speak>
2019-10-12 13:29:09.900 [vent.ItemStateChangedEvent] - Echo_Marcelo_TTS changed from <speak> Teste SSML</speak> to