# Start music playing when somebody arrive home

**URL:** <https://community.homey.app/t/start-music-playing-when-somebody-arrive-home/35627>\
**Category:** Questions & Help\
**Created:** [October 8, 2020, 6:15am UTC](https://community.homey.app/t/start-music-playing-when-somebody-arrive-home/35627 "2020-10-08T06:15:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 9, 2020, 10:37am UTC](https://community.homey.app/t/start-music-playing-when-somebody-arrive-home/35627/2 "2020-10-09T10:37:58Z")

</div>

I will share my flows later (do not have much time now)  
What I did:  
Create 2 virtual devices: “Radio ON” & “Radio playing“  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/2/a27b95148ec32ddb97963679e3966c5a2e80e2e7.png)  
“Radio ON” controls if the radio should start playing automatically (i do not always want to autoplay)  
“Radio playing” controls the playing of the radio

I have a motion sensor that determines presence. It starts the “radio playing” only when “Radio ON” is true.

A timer switches off the radio when no motion is detected

A hue remote control is used to control “Radio On”. The dimmer buttons on this remote are used to [control the volume](https://community.homey.app/t/a-volume-button-for-my-chromecast/9476)

---

_[View the full topic](https://community.homey.app/t/start-music-playing-when-somebody-arrive-home/35627)._
