# Trigger flow by physical switch or via virtual switch

**URL:** <https://community.homey.app/t/trigger-flow-by-physical-switch-or-via-virtual-switch/33462>\
**Category:** Flows\
**Created:** [August 10, 2020, 9:24pm UTC](https://community.homey.app/t/trigger-flow-by-physical-switch-or-via-virtual-switch/33462 "2020-08-10T21:24:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ole82](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ole82/32/17168_2.png) [@Ole82](https://community.homey.app/u/Ole82)\
**Post date:** [August 10, 2020, 9:24pm UTC](https://community.homey.app/t/trigger-flow-by-physical-switch-or-via-virtual-switch/33462/1 "2020-08-10T21:24:58Z")

</div>

Hi,

1. is it possible to trigger a flow by a physical switch? (eg namron z-wave)
2. is it possible to trigger a zigbee or 433mhz device using a z-wave switch? (using flows/virtual device)

I want to use a physical switch to turn off all my devices when i leave the house.  
Challenge is that not all my devices are z-wave. Some are cheap 433mhz devices.

In m flows I can turn off whatever devices I want, hence my question to trigger a flow using a physical switch (eg z wave).

Reg  
Ole

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [August 10, 2020, 9:38pm UTC](https://community.homey.app/t/trigger-flow-by-physical-switch-or-via-virtual-switch/33462/2 "2020-08-10T21:38:04Z")

</div>

If the physical switch can send a signal; yes

---

<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:** [August 11, 2020, 5:18am UTC](https://community.homey.app/t/trigger-flow-by-physical-switch-or-via-virtual-switch/33462/4 "2020-08-11T05:18:34Z")

</div>

That’s easy:  
When: button is pressed  
Then: switch off [list of devices]

Remember that 433 devices don’t check if they did the right thing. If they fail a lot, just send the off command a second time after a few seconds.
