Home Assistant Community

Nokia Sleep senor support

#21

AFAIK there is one big problem with their API… You can get the “health” data, but not the IN / OUT bed trigger… The one that would be most useful for automations…

I’ve already mailed withings (it’s no longer Nokia’s) and does not look like they will be adding that trigger soon (they pointed me to IFTTT again). Maybe it would help if more people mail their support…

“We want the trigger” :slight_smile:

#22

TBH I’ve stopped using my Nokia sleep sensor, readings were so unreliable it disgusted me and I have it in a draw now gathering dust

#23

Weirdness… In my bed it works perfectly… Do you have a waterbed or something? :wink:

#24

Nope, but if I get up in the middle of the night it will often ‘end’ my sleep session there and not recognise that when I get back in bed the session should continue

#25

I’ve been using the mi band 3 for sleep tracking and it’s been working really great. Have to use tasker to get it into HA

#26

I just wanted to provide a quick follow up to how these pads have done for me. I use the IFTTT trigger and it works 100% for me. I really wish there was a local API, but with that said since the IFTTT trigger has worked perfectly, its fine for now. Still hoping they change their stance on the in/out of bed API

I dont actually even look at the sleep tracking, so I cannot comment on how well it does. I use the triggers to turn on a virtual switch for me and for my wife. These pads sometimes come down to as low as $70. It might be a bit just to monitor if you’re in bed or not, and no local API, but… super easy.

I use these now to trigger my goodnight routines and to turn off bedside lamps after we get into bed. I also use them as conditions for other automations, like if one of us is in bed, dont turn on the bedside lamps.

#27

Withings Sleep (formerly Nokia (formerly Withings)) support for home assistant is coming. Here is a link to the pull request.

Documentation on how to use it:

Full disclosure, I wrote it.

2 Likes
#28

Awesome. I have a couple of these. Will this provide in and out of bed info. I seem to remember that a while ago that this was not offered in the api. I’ve been using ifttt for a while to I initiate my good night routines when we go to bed

#29

I discovered something possibly useful today. I’ve been using these for about 6 months with IFTTT to turn on/off an input boolean to know when we get in and out of bed. I also have the asus device tracker, and noticed while doing some cleanup of some of the device tracker names I noticed the trackers were on my list. I gave them friendly names, but when paying closer attention, I noticed that they were “home” every time there was a IFTTT event. So, even if the IFTTT did nothing, I could use the presensce as another way to be more local, and not require internet access. What I still need to test is, does it connect to wifi every time there is an event even if I’m not using IFTTT.

Either way, this is kind of a nice hack to not be dependent on the cloud. Still need to be able to come up with a good way to know the difference between in and out though. The wifi connections are quick.