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

**URL:** <https://discourse.nodered.org/t/getting-alexa-to-send-sounds-using-node-red-contrib-alexa-remote2/92749>\
**Category:** General\
**Tags:** home-assistant, alexa\
**Created:** [28 October 2024 18:07 UTC](https://discourse.nodered.org/t/getting-alexa-to-send-sounds-using-node-red-contrib-alexa-remote2/92749 "2024-10-28T18:07:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaderag](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vaderag/32/95219_2.png) [@vaderag](https://discourse.nodered.org/u/vaderag)\
**Post date:** [28 October 2024 18:07 UTC](https://discourse.nodered.org/t/getting-alexa-to-send-sounds-using-node-red-contrib-alexa-remote2/92749/1 "2024-10-28T18:07:52Z")

</div>

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

```auto
<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?!

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vaderag/32/95219_2.png) [@vaderag](https://discourse.nodered.org/u/vaderag)\
**Post date:** [30 October 2024 08:53 UTC](https://discourse.nodered.org/t/getting-alexa-to-send-sounds-using-node-red-contrib-alexa-remote2/92749/2 "2024-10-30T08:53:57Z")

</div>

I've managed to solve this after digging around from that [github](https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/18#issuecomment-945947648) 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 🙂

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/6604c07815574abac628de1513e29ee9bc0a92ac.png)

```auto
[{"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"}]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 November 2024 08:54 UTC](https://discourse.nodered.org/t/getting-alexa-to-send-sounds-using-node-red-contrib-alexa-remote2/92749/3 "2024-11-13T08:54:15Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
