# Occupation detection using Fibaro Motion Sensors

**URL:** <https://community.homey.app/t/occupation-detection-using-fibaro-motion-sensors/9173>\
**Category:** Questions & Help\
**Created:** [February 13, 2019, 10:01pm UTC](https://community.homey.app/t/occupation-detection-using-fibaro-motion-sensors/9173 "2019-02-13T22:01:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Peters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_peters/32/1851_2.png) [@Chris\_Peters](https://community.homey.app/u/Chris_Peters)\
**Post date:** [February 13, 2019, 10:01pm UTC](https://community.homey.app/t/occupation-detection-using-fibaro-motion-sensors/9173/1 "2019-02-13T22:01:43Z")

</div>

Hi, I’m trying to detect if a room is occupied using Fibaro Motion Sensors. The problem is that since they are motion sensors, they react to motion and when you sit still (i.e. watching television) the sensor isn’t triggered. I have build HomeyScript that looks at the last 15 minutes of sensor data, but even that fails if you sit still for more than 15 minutes.

Any ideas how to solve this?

Regards,  
Chris Peters

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [February 14, 2019, 1:28am UTC](https://community.homey.app/t/occupation-detection-using-fibaro-motion-sensors/9173/2 "2019-02-14T01:28:07Z")

</div>

Perhaps put a power meter on your tv - `{IF}` No Motion `{AND}` TV is off `{THEN}` Turn off light.

If you don’t like that you could put a pressure sensor on the couch so it knows your sitting.

This is a fairly common problem around here we call it the 'Bathroom Light Challenge"

> **[The Bathroom Light Challenge](https://forum.athom.com/discussion/4509/the-bathroom-light-challenge)**
>
> Some basic things are just difficult to fix...

---

<div class="post-metadata">

**Author:** ![Chris\_Peters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_peters/32/1851_2.png) [@Chris\_Peters](https://community.homey.app/u/Chris_Peters)\
**Post date:** [February 14, 2019, 9:46am UTC](https://community.homey.app/t/occupation-detection-using-fibaro-motion-sensors/9173/3 "2019-02-14T09:46:53Z")

</div>

Hi that is definitely a solution for the living room, but I am also looking for a general solution. It seems to be a difficult problem to solve though. Thanks for the link to the Bathroom Light Challenge that seems to have some interesting ideas
