# Trigger zone activity from flow

**URL:** https://community.homey.app/t/trigger-zone-activity-from-flow/92395
**Category:** Flows
**Tags:** advancedflow
**Created:** [October 21, 2023, 7:12am UTC](https://community.homey.app/t/trigger-zone-activity-from-flow/92395 "2023-10-21T07:12:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)
#### Post date: [October 21, 2023, 7:12am UTC](https://community.homey.app/t/trigger-zone-activity-from-flow/92395/1 "2023-10-21T07:12:33Z")

</div>

Hi all,

We have some presence sensors to trigger zone activity but we also have, for example, wall switches that I would like to handle as zone activity (on change). Or television powered on, radio changed channel, etc.

Is there a way to trigger zone activity from an advanced flow block?

Best regards,

---

<div class="post-metadata">

### Author: ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)
#### Post date: [October 22, 2023, 7:25am UTC](https://community.homey.app/t/trigger-zone-activity-from-flow/92395/2 "2023-10-22T07:25:54Z")

</div>

You cannot set a room as active through flow, as far as I know. But you can make all the devices that you want to trigger an active room direct to a flow you want to start when a room is active.

---

<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 22, 2023, 7:49pm UTC](https://community.homey.app/t/trigger-zone-activity-from-flow/92395/3 "2023-10-22T19:49:58Z")

</div>

It is possible using [virtual devices](https://homey.app/en-us/app/com.arjankranenburg.virtual/Virtual-Devices/).  
Create a virual device of a type that triggers the zone activity.  
You can set the virtual devices via a flow, triggering the zone activity

I integrated the door sensors of my alarm system into the zone activity rhis way.  
The sensors itself are not in homey but the alarm does interface to homey.  
When I get a status change from the alarm, I trigger a virtual sensor that triggers the zone activity.  
After 30sec a flow deactivates the virtual sensor again

Hope that works for you too

---

<div class="post-metadata">

### Author: ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)
#### Post date: [October 24, 2023, 5:45pm UTC](https://community.homey.app/t/trigger-zone-activity-from-flow/92395/4 "2023-10-24T17:45:46Z")

</div>

Oh wow,

Thank you so much @FKey, that would indeed do the trick! And by using (conditional) flow blocks!

Best regards,
