# How to use google home with my receiver for spotify playback?

**URL:** <https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974>\
**Category:** Questions & Help\
**Created:** [January 28, 2021, 11:19pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974 "2021-01-28T23:19:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn/32/12430_2.png) [@Martijn](https://community.homey.app/u/Martijn)\
**Post date:** [January 28, 2021, 11:19pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/1 "2021-01-28T23:19:10Z")

</div>

Ok, so I’m experimenting a bit with a google nest mini together with homey.  
What I basicly want to achieve is to play music to my chromecast that sits in the back of my denon receiver. Now this receiver, an AVR 2313 is not equipped with any build in google home support but Homey has an app that operates all of the functions.

The homey app I use does turn the device on and selects the right input for chromecast.  
Now the Denon does appear in google home thru homey but it’s limited to function on and off. There is no selection possible to say this is an audio component, speaker etc.

So I have a flow in homey that powers the Denon, selects input and sets the volume.

The perfect outcome would be if I say ok google play my blues playlist from spotify (which is played to chromecast by default) that it also triggers that flow. But how?

Help is appreciated.

---

<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:** [January 29, 2021, 6:16am UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/2 "2021-01-29T06:16:20Z")

</div>

Did not test it (yet)  
But the google chromecast homey app provides several cards.  
You should be able to detect when your chromecast becomes active  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1b06b4e95902d1d7c8da142776879a795bf5359.png)

---

<div class="post-metadata">

**Author:** ![Martijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn/32/12430_2.png) [@Martijn](https://community.homey.app/u/Martijn)\
**Post date:** [January 29, 2021, 9:03am UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/3 "2021-01-29T09:03:14Z")

</div>

Well that doesn’t do the trick for me (yet). It seems the difference is that the casting needs to be done by homey to detect that state. Iow it’s not detecting the chromecast status but more specific the status of homey.

---

<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:** [January 29, 2021, 5:50pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/4 "2021-01-29T17:50:51Z")

</div>

Strange, just made a flow to test it, works fine.  
I used this card  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a8ed38b9b3697363dbd9513acaf494f8beaccbf6.png)  
When I say “hey google play mas mas mas on spotify”  
Google confirms and starts the song.  
And homey sends me a push message (that was in my Then card)

Coniguration:  
Google nest mini  
Homey on firmware v4.2.0  
Chromecast app on v5.1.0

---

<div class="post-metadata">

**Author:** ![Martijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn/32/12430_2.png) [@Martijn](https://community.homey.app/u/Martijn)\
**Post date:** [January 29, 2021, 7:33pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/5 "2021-01-29T19:33:19Z")

</div>

Hmmm no results…

I have set the following in my then section;

Turn on denon  
Set volume  
Select source  
create a notification

The flow isn’t triggered. When I test the card manually it works though…

Home 4.2.0  
Google nest mini  
Chromecast app 5.1.1.

---

<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:** [January 29, 2021, 8:01pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/6 "2021-01-29T20:01:16Z")

</div>

My app is on v5.1.0  
I have a chromecast audio  
Maybe the behaviour is not working properly on all chromecasts?  
Which one do you have?

---

<div class="post-metadata">

**Author:** ![Martijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn/32/12430_2.png) [@Martijn](https://community.homey.app/u/Martijn)\
**Post date:** [January 29, 2021, 8:40pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/7 "2021-01-29T20:40:19Z")

</div>

Also the chromecast audio…

---

<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:** [February 1, 2021, 11:59am UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/8 "2021-02-01T11:59:23Z")

</div>

Indeed not reliable. Forgot to remove the test flow.  
Suddenly got a notification again. So itt has missed many

---

<div class="post-metadata">

**Author:** ![Martijn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn/32/12430_2.png) [@Martijn](https://community.homey.app/u/Martijn)\
**Post date:** [February 6, 2021, 1:34pm UTC](https://community.homey.app/t/how-to-use-google-home-with-my-receiver-for-spotify-playback/41974/9 "2021-02-06T13:34:49Z")

</div>

Yes indeed not very reliable. I can’t pin down what the exact condition is that homey sees the chromecast alternation.

Either way I found a solid workaround. I made a flow which turns on my Denon and selects the right input. I trigger the flow through a virtual switch, which google home can see. In google home I made a condition that when I say p.e. bluesmusic it flips the virtual switch which triggers the flow and then my nest mini plays a blues playlist on spotify. Works very well.
