# Multiple Motion sensors and Nightmode

**URL:** <https://community.homey.app/t/multiple-motion-sensors-and-nightmode/2902>\
**Category:** Questions & Help\
**Created:** [October 16, 2018, 6:54pm UTC](https://community.homey.app/t/multiple-motion-sensors-and-nightmode/2902 "2018-10-16T18:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnizzle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnizzle/32/9485_2.png) [@arnizzle](https://community.homey.app/u/arnizzle)\
**Post date:** [October 16, 2018, 6:54pm UTC](https://community.homey.app/t/multiple-motion-sensors-and-nightmode/2902/1 "2018-10-16T18:54:48Z")

</div>

I’ve been struggling with some limitations regarding multiple motion sensors, and night mode. Thought I would share my flows.

Some rooms in my house have multiple motion sensors. Additionally I want the brightness at night at 20%.

There is 1 app required to make this work: Virtual Devices (and countdown, but this is included right?). The reason I need Virtual Devices is not for the motion sensors, but rather the Lights since the Hue app supplied by Athom doesn’t support brightness. Initially I used this app for the motion sensors as well, but it has a few drawbacks. Mainly it polls the devices which causes a delay up to 3 seconds which is unacceptable for light.

For my Living room I have an additional flow to take care of the luminance in the room, this includes some Homeyscript. If anyone is interested I will share the flow once I’m happy with it.

Cheers!

- Edit: forgot to include the flows, and didn’t mention the other app required: Flow Event Bus ([https://apps.athom.com/app/name.klep.flow-event-bus](https://apps.athom.com/app/name.klep.flow-event-bus))

 ![flow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d0ec1ee24b731fc68bff2b53ad7d64337606e441.png)
