# Deterring people with sound

**URL:** <https://community.homey.app/t/deterring-people-with-sound/25521>\
**Category:** Flows\
**Created:** [February 5, 2020, 3:49pm UTC](https://community.homey.app/t/deterring-people-with-sound/25521 "2020-02-05T15:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CyberMew](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cybermew/32/13055_2.png) [@CyberMew](https://community.homey.app/u/CyberMew)\
**Post date:** [February 5, 2020, 3:49pm UTC](https://community.homey.app/t/deterring-people-with-sound/25521/1 "2020-02-05T15:49:13Z")

</div>

Is it possible to say if no motion is detected by a motion sensor for the past hour and the door contact sensor is on, play a pre-saved sound to a specific Google Home Display?

I want to deter people from entering a room and the display (speaker) is outside of the room.

I already have a google nest display and door contact sensor. I am purchasing a motion sensor for the room. Any suggestions? I’m probably going with Aqara for the motion sensor… is the above achievable?

---

<div class="post-metadata">

**Author:** ![PascalB](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@PascalB](https://community.homey.app/u/PascalB)\
**Post date:** [February 5, 2020, 4:17pm UTC](https://community.homey.app/t/deterring-people-with-sound/25521/2 "2020-02-05T16:17:01Z")

</div>

Yes, this should be possible using a timer.

When movement sensor is off \> start timer  
When movement sensor in on \> reset timer  
When timer is done \> cast sound to Google Home
