# Alexa Routine Node does not send sound to my mobile device

**URL:** <https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857>\
**Category:** General\
**Created:** [27 April 2022 08:37 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857 "2022-04-27T08:37:41Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 15:35 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/22 "2022-05-04T15:35:12Z")

</div>

Basically yes.

if you check in global context do you now see an item called mytemp ?

As I think the HA node should look like this - **global.mytemp = entity state**

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 15:42 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/23 "2022-05-04T15:42:04Z")

</div>

There in the node, if I see it. Elsewhere, I don't know where he tells me I should see it.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d111f604d9d653e9c0a411fe10e8f1e0d8a91668.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 15:48 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/24 "2022-05-04T15:48:30Z")

</div>

OK edit the HA node to look like this - **global.mytemp = entity state**  
Then delete the other two items msg.payload and msg.data

Trigger the node so it makes the request and "should" store the value in global.mytemp

In the right hand panel of editor click context data icon, then click on the refresh icon next to global

You should see mytemp and the value

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 15:55 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/25 "2022-05-04T15:55:47Z")

</div>

Correct. So I have done it, and so it has been saved.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/7/07920cfa551e18bc99bedcca8f7980d788041b0b.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 15:58 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/26 "2022-05-04T15:58:44Z")

</div>

That is debug output not context, it also has a msg.payload, so you cannot have removed that from the HA node. You need the HA node to just save the value in global.mytemp.

Edit the node as I showed -

> [@Sean-McG](#):
>
> OK edit the HA node to look like this - **global.mytemp = entity state**  
> Then delete the other two items msg.payload and msg.data

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 16:10 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/27 "2022-05-04T16:10:09Z")

</div>

This is the only HA node I have.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a2b440a49f2f9f86be9d94bfb8650b74ede0a5f.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 16:22 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/28 "2022-05-04T16:22:45Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5fb8e3180021beee7205c0f792f4f388236388f4.png)

Delete the payload here, as this will cause problems later on becasue it will overwrite any incoming payload.

then check in context to see if the variable is stored there -

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/79e413c848455358956f91f2b12518d4625e1961.png)

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 16:33 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/29 "2022-05-04T16:33:49Z")

</div>

Ok....Now it seems that it is so. It's OK now?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f8a0f602de92fd43deb992a16f3ec95a7afd359.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 16:36 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/30 "2022-05-04T16:36:46Z")

</div>

OK we are getting there now 😉

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/4/d4a0490e67bf9d47f9dca54db074217b03fc20fd.png)

Put the HA node between the Alexa Home node and the function node, and see if you can ask for the temperature now.

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 16:49 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/31 "2022-05-04T16:49:16Z")

</div>

I was doing several tests, but I have not achieved anything.

Hot Water, it was configured as a Switch, but if I request Hot Water temperature, it does nothing....it just says "OK"

I have to create a Thermostat device in Alexa, would it be more correct?

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

Create something like this? best??

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/9/094d7adebf0e87b89fe293d558662831cf970e4b.png)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 16:54 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/32 "2022-05-04T16:54:01Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/19235257e30d8c3ec828c35e86a557fda96593de.png)

It depends what you need to control but something like this will allow you to ask for temp and turn on and off if you want to

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 17:24 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/33 "2022-05-04T17:24:31Z")

</div>

Any luck with this ?

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 17:26 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/34 "2022-05-04T17:26:51Z")

</div>

Finally!!!!!

You have achieved it, because I have only followed in your footsteps.

It works on every Alexa you ask it and only answers on that one, as we wanted.

A million thanks!!!!!

Now, it will be time to continue doing interesting things, to see if I am not so clumsy.

It took me longer, because I didn't do it very well.

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 17:27 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/35 "2022-05-04T17:27:25Z")

</div>

I don't know how I could thank you for your help.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 17:29 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/36 "2022-05-04T17:29:56Z")

</div>

No problem - I was determined to get this working 😉  
Can you mark the solution please ?

---

<div class="post-metadata">

**Author:** ![Mengi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mengi/32/60708_2.png) [@Mengi](https://discourse.nodered.org/u/Mengi)\
**Post date:** [4 May 2022 18:12 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/37 "2022-05-04T18:12:48Z")

</div>

Although many of the answers have helped me, I have marked the one that has led me to the correct configuration the most.

If anyone has the same problem, I encourage you to follow the full post.

Thank you very much again!!

---

<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:** [18 May 2022 18:13 UTC](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857/38 "2022-05-18T18:13:43Z")

</div>

Closed on 18 May 2022 18:13 UTC

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

[Previous page](https://discourse.nodered.org/t/alexa-routine-node-does-not-send-sound-to-my-mobile-device/61857.md?page=1)
