# Knowing which Google home device is receiving command

**URL:** <https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094>\
**Category:** Questions & Help\
**Created:** [April 29, 2020, 11:01am UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094 "2020-04-29T11:01:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlo\_Hermus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_hermus/32/24557_2.png) [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Post date:** [April 29, 2020, 11:01am UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/1 "2020-04-29T11:01:07Z")

</div>

Hi,

I have received the Homey yesterday and am playing around till I have everything figured out to do some real automation.

I searched the forum, but could not find it, maybe I searched with the wrong phrases but is there a way to detect which Google Home (nest) device is receiving the command and use this variable in a flow?

Thank you,  
Carlo

---

<div class="post-metadata">

**Author:** ![Joost\_van\_Kempen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joost_van_kempen/32/10067_2.png) [@Joost\_van\_Kempen](https://community.homey.app/u/Joost_van_Kempen)\
**Post date:** [April 29, 2020, 8:44pm UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/2 "2020-04-29T20:44:41Z")

</div>

Interesting question, but I don’t think Google is sharing this information ? I think Google just sends a command to Homey to do something, but not whether this is done by voice command, or by pushing on-screen-buttons on your phone (home-app) or nest hub ? Homey just receives a command from a google-api matching to the user, not directly from a specific device.

---

<div class="post-metadata">

**Author:** ![Carlo\_Hermus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_hermus/32/24557_2.png) [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Post date:** [April 29, 2020, 10:45pm UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/3 "2020-04-29T22:45:03Z")

</div>

Joost,

I thought so to, but when you make a flow with a speech command and use the card to say something back, it will reply to the speaker that was spoken to. I have 3 Google Nest Mini’s and 1 Google Home Hub and only the one in my office will speak back. So there has to be a way.

Will try and find my answer at Google, but any help is welcome 😉

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 30, 2020, 5:38am UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/4 "2020-04-30T05:38:11Z")

</div>

Google home is linked to a zone.  
So if you ask google to to turn on the light, it will turn on the light in the zone that the google home is located.

I do not know if/how this information is shared with homey.  
Search the forum on google mini. I remember some forum discussions about using the mini in multiple places in the house related with homey

---

<div class="post-metadata">

**Author:** ![Carlo\_Hermus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_hermus/32/24557_2.png) [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Post date:** [April 30, 2020, 1:30pm UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/5 "2020-04-30T13:30:13Z")

</div>

FKey, I did not look at zone, great idea to investigate… I did search on Google Mini, but could not find the specific topic… Will try again… Thanks…

---

<div class="post-metadata">

**Author:** ![Carlo\_Hermus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_hermus/32/24557_2.png) [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Post date:** [May 2, 2020, 1:51pm UTC](https://community.homey.app/t/knowing-which-google-home-device-is-receiving-command/29094/6 "2020-05-02T13:51:28Z")

</div>

Well got a little further, for me was the most important to return a speech to the same device that received a speech.

I solved it by passing state as opt.

`Homey.ManagerSpeechOutput.say('Hallo wereld!', state)`

But in the state I saw no zone or device, maybe because I did not implement that correctly.
