Getting Alexa to send sounds using node-red-contrib-alexa-remote2

I am using appelstrudel version on Alexa Remote and it mostly works fine - I've been transitioning over some flows from HomeAssistant and Alexa Media Player and overall I've managed to eliminate that

I have some Halloween routines which use sounds from the Alexa Skills Kit Sound Library
and some of these exist as dropdown options in the palette

e.g. Creepy Door
[{"id":"ce0194ebdc515f9c","type":"alexa-remote-routine","z":"820a07600cb5dbdf","name":"Creepy Door","account":"c494972916da5668","routineNode":{"type":"sound","payload":{"sound":{"type":"str","value":"horror_10"},"devices":["G0922H0730250AMX"]}},"x":990,"y":180,"wires":[[]]},{"id":"c494972916da5668","type":"alexa-remote-account","name":"Alexa Account","authMethod":"proxy","proxyOwnIp":"192.168.1.125","proxyPort":"3456","cookieFile":"/homeassistant/node-red/alexa-auth.txt","refreshInterval":"3","alexaServiceHost":"alexa.amazon.co.uk","pushDispatchHost":"","amazonPage":"amazon.co.uk","acceptLanguage":"en-UK","onKeywordInLanguage":"on","userAgent":"","usePushConnection":"on","autoInit":"on","autoQueryActivityOnTrigger":"on"}]

Some however don't exist.
I've tried every version I can of getting them to work - copying the naming from if i change the field on an existing one, speaking SSML from the Amazon docs

<speak>
  This is Alexa's regular speech, followed by the sound effect named Bear Groan Roar (1).
  <audio src='soundbank://soundlibrary/animals/amzn_sfx_bear_groan_roar_01'/>
</speak>

etc.

The SSML works, EXCEPT the sound effects that I want - only the standard speech comes across

Does anyone know how to make this work?!

1 Like

I've managed to solve this after digging around from that github link I managed to find the solution...

Turns out the SSML dropdown doesn't work, or at least not as expected. Dropping it in Regular works tho :slight_smile:

[{"id":"59ba513a343af47a","type":"inject","z":"820a07600cb5dbdf","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1280,"y":300,"wires":[["eb435b50e218bc14"]]},{"id":"eb435b50e218bc14","type":"alexa-remote-routine","z":"820a07600cb5dbdf","name":"Study Test Thunder","account":"c494972916da5668","routineNode":{"type":"speak","payload":{"type":"regular","text":{"type":"str","value":"<speak>\t<audio src=\"soundbank://soundlibrary/weather/thunder/thunder_10\"/></speak>"},"devices":["G090XG0894221VHG"]}},"x":1470,"y":300,"wires":[[]]},{"id":"c494972916da5668","type":"alexa-remote-account","name":"Alexa Account","authMethod":"proxy","proxyOwnIp":"192.168.1.125","proxyPort":"3456","cookieFile":"/homeassistant/node-red/alexa-auth.txt","refreshInterval":"3","alexaServiceHost":"alexa.amazon.co.uk","pushDispatchHost":"","amazonPage":"amazon.co.uk","acceptLanguage":"en-UK","onKeywordInLanguage":"on","userAgent":"","usePushConnection":"on","autoInit":"on","autoQueryActivityOnTrigger":"on"}]