# Xiaomi human body or occupancy sensor

**URL:** <https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435>\
**Category:** Devices\
**Created:** [January 7, 2019, 12:35pm UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435 "2019-01-07T12:35:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KiJo-DuKa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kijo-duka/32/12913_2.png) [@KiJo-DuKa](https://community.homey.app/u/KiJo-DuKa)\
**Post date:** [January 7, 2019, 12:35pm UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435/1 "2019-01-07T12:35:23Z")

</div>

Hi,

Who knows the difference between the human body sensor and the occupancy sensor listed in the xiaomi/aqara app supported devices?  
What are the related variables which you can use in a flow?

Tnk.

---

<div class="post-metadata">

**Author:** ![johan\_bendz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_bendz/32/10344_2.png) [@johan\_bendz](https://community.homey.app/u/johan_bendz)\
**Post date:** [January 8, 2019, 2:48pm UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435/2 "2019-01-08T14:48:06Z")

</div>

The Human Body Sensor also measure luminance.

---

<div class="post-metadata">

**Author:** ![KiJo-DuKa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kijo-duka/32/12913_2.png) [@KiJo-DuKa](https://community.homey.app/u/KiJo-DuKa)\
**Post date:** [January 9, 2019, 4:55am UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435/3 "2019-01-09T04:55:21Z")

</div>

Aha, thanks.

you can not use this as an input to a flow, correct? Only the motion & battery input.

Rgrds

---

<div class="post-metadata">

**Author:** ![johan\_bendz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_bendz/32/10344_2.png) [@johan\_bendz](https://community.homey.app/u/johan_bendz)\
**Post date:** [January 9, 2019, 8:44pm UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435/4 "2019-01-09T20:44:20Z")

</div>

You can also trigger on change in lumiance.

Usable as a day/night sensor… or lights on/off sensor… or open/closed closet sensor…

---

<div class="post-metadata">

**Author:** ![wesley\_w](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wesley_w/32/10127_2.png) [@wesley\_w](https://community.homey.app/u/wesley_w)\
**Post date:** [January 21, 2019, 4:02pm UTC](https://community.homey.app/t/xiaomi-human-body-or-occupancy-sensor/6435/5 "2019-01-21T16:02:41Z")

</div>

The Lumince is updated when motion is detected. so not very suited as a day and night sensor.
