# How to get google nest mini to play music by sensor

**URL:** https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770
**Category:** Questions & Help
**Tags:** flow, nest, homey-pro
**Created:** [August 1, 2022, 11:01am UTC](https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770 "2022-08-01T11:01:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nico\_Alhonen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nico_alhonen/32/58370_2.png) [@Nico\_Alhonen](https://community.homey.app/u/Nico_Alhonen)
#### Post date: [August 1, 2022, 11:01am UTC](https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770/1 "2022-08-01T11:01:43Z")

</div>

I have tried to create a flow so that my google nest mini starts playing a playlist from Spotify when the motion sensor is activated.

Can I create a flow that looks similar to this, and how do you do it?

Motion sensor → The time is between 19:00 - 20:00 → playing (album) from spotify on Google nest mini

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [August 1, 2022, 1:20pm UTC](https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770/2 "2022-08-01T13:20:02Z")

</div>

I think you can’t. Only with devices with Spotify integration

---

<div class="post-metadata">

### Author: ![Nico\_Alhonen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nico_alhonen/32/58370_2.png) [@Nico\_Alhonen](https://community.homey.app/u/Nico_Alhonen)
#### Post date: [August 5, 2022, 8:01am UTC](https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770/3 "2022-08-05T08:01:54Z")

</div>

That was a shame, thanks for your reply.

---

<div class="post-metadata">

### Author: ![Ewen\_Le\_guennec](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ewen_le_guennec/32/25503_2.png) [@Ewen\_Le\_guennec](https://community.homey.app/u/Ewen_Le_guennec)
#### Post date: [August 5, 2022, 12:12pm UTC](https://community.homey.app/t/how-to-get-google-nest-mini-to-play-music-by-sensor/66770/4 "2022-08-05T12:12:30Z")

</div>

A solution is to install a 2nd google mini in the same room and when motion is detected,a mini “talk” to another with tts and say"ok google play music"  
That’s what i have done and it’s work very well!
