# Good way to detect if we are sleeping

**URL:** <https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000>\
**Category:** Flows\
**Created:** [June 3, 2019, 2:17pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000 "2019-06-03T14:17:21Z")\
**Posts on this page:** 12\
**Page:** 3

<div class="post-metadata">

**Author:** ![Otter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/otter/32/11467_2.png) [@Otter](https://community.homey.app/u/Otter)\
**Post date:** [October 12, 2021, 4:58am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/46 "2021-10-12T04:58:28Z")

</div>

This is golden 🤣

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 12, 2021, 9:49am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/47 "2021-10-12T09:49:59Z")

</div>

Nice one 🤣 And IP based check you are performing based on Smarter Presence ? I just wonder if there is anything else, as I have Guests, Members etc. based rules…

---

<div class="post-metadata">

**Author:** ![Vandaahl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vandaahl/32/29359_2.png) [@Vandaahl](https://community.homey.app/u/Vandaahl)\
**Post date:** [October 12, 2021, 11:31am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/48 "2021-10-12T11:31:39Z")

</div>

i had used Smarter Presence until yesterday  
till i found out Netscan had been rewritten so i switched those two app out simply because Netscan is newer now…

---

<div class="post-metadata">

**Author:** ![Vandaahl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vandaahl/32/29359_2.png) [@Vandaahl](https://community.homey.app/u/Vandaahl)\
**Post date:** [October 12, 2021, 11:39am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/49 "2021-10-12T11:39:29Z")

</div>

whoops i accidentally deleted previous post…and cant seem to undo that.  
this is what it said;  
i have a simpl way of marking sleepmode  
if my PC is off (IP based),  
my TV is OFF (IP based),  
my stereo Amplifier is off (IP based),  
the livingroom sensor does not detect any movement AND my phone is home  
I must be in bed…  
i have a boring life…

this can also be used to mark yourself awake and away from home since  
if my phone ISN’T home either, i must be Away and therefore also Awake

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [November 28, 2021, 3:56pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/50 "2021-11-28T15:56:02Z")

</div>

I am using a similar apprach.  
I basically set myself sleeping  
IF  
Light in Bedroom is turned off  
AND  
We are in a specific time range of the day like 9PM-5AM  
AND  
LivingRoom main power outlet is turned off

---

<div class="post-metadata">

**Author:** ![KjetilK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjetilk/32/49033_2.png) [@KjetilK](https://community.homey.app/u/KjetilK)\
**Post date:** [June 2, 2022, 10:16pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/51 "2022-06-02T22:16:12Z")

</div>

Would you recommend Net Scan over Smart Presence?

---

<div class="post-metadata">

**Author:** ![Wijsbroek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wijsbroek/32/55410_2.png) [@Wijsbroek](https://community.homey.app/u/Wijsbroek)\
**Post date:** [June 26, 2022, 4:14pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/52 "2022-06-26T16:14:04Z")

</div>

I’m quite new to Homey. Here’s what I do.

When I go to bed, I say ‘Sleep’ to Siri. It puts my phone into DND mode and sets the alarms. It then triggers my Homey slaap flow (put on/off lights, sonos (timer), blinds et cetera) AND marks us as sleeping.

When I snooze my alarm on my iPhone. It triggers a flow ‘wake up’. It turns on the lights slowly, plays nice waking up music. When I get up, me or my wife press the off key on one of the two hue dimmers next to our beds. It triggers another flow that turns off the light, stops the Sonos, unlocks the front door AND marks us both as awake.

I’m quite proud of it 😃

---

<div class="post-metadata">

**Author:** ![KjetilK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjetilk/32/49033_2.png) [@KjetilK](https://community.homey.app/u/KjetilK)\
**Post date:** [July 18, 2022, 6:38am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/53 "2022-07-18T06:38:06Z")

</div>

Any one else been having some issues with the Withings Sleep Analyzer lately? It registers my sleep in the app on the phone, but has suddenly stopped changing my mode to Night mode in Homey. Still investigating …

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 18, 2022, 7:51am UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/54 "2022-07-18T07:51:19Z")

</div>

> [@KjetilK](#):
>
> Any one else been having some issues with the Withings Sleep Analyzer lately?

Yes: [Withings Sleep Issues](https://community.homey.app/t/withings-sleep-issues/66145)

---

<div class="post-metadata">

**Author:** ![MaxLeonhardt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxleonhardt/32/57173_2.png) [@MaxLeonhardt](https://community.homey.app/u/MaxLeonhardt)\
**Post date:** [July 18, 2022, 12:19pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/55 "2022-07-18T12:19:08Z")

</div>

Maybe you can try reading these guides from Homey Cornelisse!  
It’s written in Dutch but perhaps with translate it could help you a bit. 😉  
He offers some nice ways to register if your sleeping.

Android:

> **[Slaap scene starten met Android](https://homeycornelisse.nl/slaap-scene-starten-met-android/)**
>
> Een tijdje geleden heb ik een blog geschreven over hoe je met een iPhone een slaap scene kan starten als je naar bed gaat. Meestal als je gaat slapen maak je nog even een rondje door het huis om al…

IOS:

> **[Slaap scene starten bij opladen IPhone](https://homeycornelisse.nl/slaap-scene-starten-bij-opladen-iphone/)**
>
> Als je naar bed gaat maak je nog even een rondje door het huis om alle apparaten en verlichting uit te zetten voordat je gaat slapen. Dit rondje kan soms wel wat tijd in beslag nemen, om dit makkel…

Hope this helps!

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 21, 2022, 5:11pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/56 "2022-07-21T17:11:30Z")

</div>

Maybe another way to detect when/whom is in bed:

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bf95a8f6f56a4c17f12703e87a4826b79f1fa3e6.jpeg "Building My Perfect Smart Home Presence Detection Sensor!") ](https://www.youtube.com/watch?v=Viqvx7hMMJs)

It is mentioned at: 9:02 / 14:05

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/c/bc477252162c2cf8a6d79f5dbac1804063954678.png)

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [July 31, 2022, 10:36pm UTC](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000/57 "2022-07-31T22:36:14Z")

</div>

Another Person who desperately needs support for the Aqara FP1 🕶

I need it also for the bed but fir my living room couch too. 😉

On both places I’m nearly dead and not moving for longer time.  
Don’t want to be marked as “Not (at) home or “sleeping” when I’m not .

[Previous page](https://community.homey.app/t/good-way-to-detect-if-we-are-sleeping/14000.md?page=2)
