# Lights in one room controled by three devices. Kaos? Possible?

**URL:** https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514
**Category:** Flows
**Tags:** flow, advancedflow
**Created:** [September 16, 2023, 12:33am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514 "2023-09-16T00:33:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mrPilloft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrpilloft/32/87781_2.png) [@mrPilloft](https://community.homey.app/u/mrPilloft)
#### Post date: [September 16, 2023, 12:33am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/1 "2023-09-16T00:33:37Z")

</div>

I have a door into my garage. I want to automatically control light on (and off after 3 min) via a motion detection sensor. Every now and then I work in the garage and then I want the light to stay on by using a button. To make things worse, I want the light to go on when the garage doors open (I have Homematic IP garage door controller “HMiP-MOD-TM” - still not supported by the Homematic application, but will be, I hope). I also want it to turn off automaticall after 3 mins. Surely something like this is a common challenge? Anyone know a solution?

---

<div class="post-metadata">

### Author: ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)
#### Post date: [September 16, 2023, 2:54am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/2 "2023-09-16T02:54:28Z")

</div>

Do you have advanced flow on your Homey Pro (or a Homey 2023)?

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [September 16, 2023, 7:04am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/3 "2023-09-16T07:04:51Z")

</div>

Start with one sensor, so you will learn and become an experienced user.

---

<div class="post-metadata">

### Author: ![mrPilloft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrpilloft/32/87781_2.png) [@mrPilloft](https://community.homey.app/u/mrPilloft)
#### Post date: [September 16, 2023, 11:01am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/4 "2023-09-16T11:01:14Z")

</div>

Yes. This scenario is on my Homey Pro 2019. I have an implementation using Advanced flow, but it involves a global variable. I was hoping I could make this work only by checking the state of the other sensors.

Anyone with experience with controlling one device with multiple sensors?

---

<div class="post-metadata">

### Author: ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)
#### Post date: [September 16, 2023, 11:50am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/5 "2023-09-16T11:50:54Z")

</div>

To say it in advance, it is not a problem to create such a flow.  
Before I begin with the flow, I have a few questions and comments.

> [@mrPilloft](#):
>
> by using a button

A physical button (wired or battery powered), or a virtual button in the Homey App?

> [@mrPilloft](#):
>
> but will be, I hope

Nope, sorry. The app has not been updated for about 2 years. The app developer also doesn’t respond to requests, whether in the forum, via PM or on GitHub. So the chance is very low that more devices will be added or bugs will be fixed. It would be ideal if a new developer could be found. However, this developer must completely reprogram the app from a legal point of view.  
To make the flow work when the garage door will be opened, you could install a door/window sensor, for example.

---

<div class="post-metadata">

### Author: ![mrPilloft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrpilloft/32/87781_2.png) [@mrPilloft](https://community.homey.app/u/mrPilloft)
#### Post date: [September 16, 2023, 10:12pm UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/6 "2023-09-16T22:12:55Z")

</div>

Thanx Fontross for replaying. To be specific I’m using the following devices in the setup:  
Button: Aqara Wireless Mini Switch (Zigbee)  
Motion: Aqara Motion Sensor P1 (ZigBee)  
Socket (for light): Telldus On/Off socket slim

Good to get some intel on Homematic although not the info I was hoping for. Will use Aqara door and Window sensor on the garage doors, as you suggest… Double doors, so I will end up with four sensors controlling the socket for the lights.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [September 17, 2023, 12:18am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/7 "2023-09-17T00:18:29Z")

</div>

Something like this should do.

I prefer to use zone activity for the motion sensors and garage door contacts, which reside in the same zone, Garage.  
This way you can replace sensors, or add/remove (all but one) sensors without having to fiddle with your flows).

 ![Screenshot 2023-09-17 at 03-11-50 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc5e2a670aff248e5dc0f34e5574e59fe968955a.png)

---

<div class="post-metadata">

### Author: ![mrPilloft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrpilloft/32/87781_2.png) [@mrPilloft](https://community.homey.app/u/mrPilloft)
#### Post date: [September 18, 2023, 9:38am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/8 "2023-09-18T09:38:10Z")

</div>

On Homematic, I got this feedback in a Messenger conversation with them:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/75ed5084259fb5c44ce4029ec55c748fd33e0095.png)

---

<div class="post-metadata">

### Author: ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)
#### Post date: [September 18, 2023, 9:49am UTC](https://community.homey.app/t/lights-in-one-room-controled-by-three-devices-kaos-possible/89514/9 "2023-09-18T09:49:59Z")

</div>

Too bad. Even if you have to buy the hardware, of course, Homey is a competitor product for them. And for the CCU3 (Homematic) additional software is sold, partly in annual subscription.  
A possible way to integrate your garage door controller is [Home Assistant](https://www.home-assistant.io) and the Homey [Home Assistant Community](https://homey.app/en-us/app/io.home-assistant.community/Home-Assistant-Community/) App from @RonnyW.
