# Zone activity and hallway lamp

**URL:** <https://community.homey.app/t/zone-activity-and-hallway-lamp/20148>\
**Category:** Questions & Help\
**Created:** [November 2, 2019, 5:55pm UTC](https://community.homey.app/t/zone-activity-and-hallway-lamp/20148 "2019-11-02T17:55:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaN13k](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pan13k/32/12381_2.png) [@PaN13k](https://community.homey.app/u/PaN13k)\
**Post date:** [November 2, 2019, 5:55pm UTC](https://community.homey.app/t/zone-activity-and-hallway-lamp/20148/1 "2019-11-02T17:55:26Z")

</div>

Hi all.  
I use zone activity in my hallway to switch my hallway lamp on or off. This works great.  
I also want my hallway lamp to switch on when I open the door or when somebody rings my doorbell. This works great.  
However I’m having issues to switch the hallway lamp off when it was triggered by the door opening or the doorbell ringing. When I’m at home the zone activity kicks in. Because I enter the hallway to open the door. But how am I able to switch the lamp off when there is no zone activity triggered. I added a virtual button to start a flow to switch the lamp on. The best solution I can think off is to have a card available that sets zone activity. But I can’t find that option or it’s not available. Thanks inadvance.

---

<div class="post-metadata">

**Author:** ![Alpol](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alpol/32/9485_2.png) [@Alpol](https://community.homey.app/u/Alpol)\
**Post date:** [November 2, 2019, 6:08pm UTC](https://community.homey.app/t/zone-activity-and-hallway-lamp/20148/2 "2019-11-02T18:08:14Z")

</div>

You want to turn off lamp after several seconds when there was opened a door or doorbell ringed?  
If yes, you’ll need a countdown timer app or any timer app.  
Your flow:  
When there is door opening or doorbell  
If NO zone activity  
Then start timer

Flow 2  
When timer reaches 0  
If NO zone activity  
Then turn of light

---

<div class="post-metadata">

**Author:** ![PaN13k](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pan13k/32/12381_2.png) [@PaN13k](https://community.homey.app/u/PaN13k)\
**Post date:** [November 2, 2019, 6:41pm UTC](https://community.homey.app/t/zone-activity-and-hallway-lamp/20148/3 "2019-11-02T18:41:04Z")

</div>

Thank you. Will try this.
