# Ask Alexa for the value of a Homey variable?

**URL:** <https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977>\
**Category:** Questions & Help\
**Created:** [June 22, 2022, 6:59am UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977 "2022-06-22T06:59:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat\_M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pat_m/32/56295_2.png) [@Pat\_M](https://community.homey.app/u/Pat_M)\
**Post date:** [June 22, 2022, 6:59am UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/1 "2022-06-22T06:59:46Z")

</div>

Hi,

Is there a way and if so, how can I set it up to ask Alexa for the value of a Homey variable?

Thanks!

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 22, 2022, 9:05am UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/2 "2022-06-22T09:05:11Z")

</div>

Not in one step. But you can do…

- create a flow and mark it as favorite. Then you can use the flow as Alexa szene (Alexa, activate ‘flow name’).
- In the flow, you can use the Alexa app to make a TTS speek output of a text including global tokens/variables. If you have more then one Alexa device, you have to select one for the output. You can’t directly output on the device you used for starting the flow

---

<div class="post-metadata">

**Author:** ![Pat\_M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pat_m/32/56295_2.png) [@Pat\_M](https://community.homey.app/u/Pat_M)\
**Post date:** [June 22, 2022, 1:32pm UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/3 "2022-06-22T13:32:33Z")

</div>

@RonnyW - Many thanks for your detailed reply, I will try this! 🙂

---

<div class="post-metadata">

**Author:** ![John\_Clegg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_clegg/32/79366_2.png) [@John\_Clegg](https://community.homey.app/u/John_Clegg)\
**Post date:** [May 15, 2024, 11:29am UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/4 "2024-05-15T11:29:46Z")

</div>

Is there any way to do this , so that can I ask any Alexa this routine ( connected to the homey flow ) and it will speak back on that Alexa ?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 15, 2024, 5:24pm UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/5 "2024-05-15T17:24:43Z")

</div>

No, you can’t.  
You can start a favorite flow.  
And you can let Alexa speak (on one of your Echos).  
But can’t give a result back from the flow to output (it’s called async).  
And you can’t see from which Echo device the flow was started.

---

<div class="post-metadata">

**Author:** ![John\_Clegg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_clegg/32/79366_2.png) [@John\_Clegg](https://community.homey.app/u/John_Clegg)\
**Post date:** [May 15, 2024, 8:16pm UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/6 "2024-05-15T20:16:11Z")

</div>

Thanks for the confirmation.

That is frustrating.

John

---

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [May 19, 2024, 3:53pm UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/7 "2024-05-19T15:53:21Z")

</div>

Correct, but you can build a more advanced flow, based on your location (room detection), so if you are in the living room when a command is given, you can trigger the flow to output the value on your Alexa in your livingroom. It’s a workaround…but it works

---

<div class="post-metadata">

**Author:** ![John\_Clegg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_clegg/32/79366_2.png) [@John\_Clegg](https://community.homey.app/u/John_Clegg)\
**Post date:** [May 20, 2024, 1:01am UTC](https://community.homey.app/t/ask-alexa-for-the-value-of-a-homey-variable/64977/8 "2024-05-20T01:01:48Z")

</div>

Thanks Chris for the suggestion. That’s a great way to do figure out where the person is.

John
