Withings bed sensors HE integration. How are you using it?

I already automated near everything and basically running out of ideas what else to automate.
So, I ordered 2 Withings bed sensors (should be in in a few days).
But I am not sure what I can do with this new toys and HE integration.
Could you please share yours ideas how do you use Withings bed sensors?

I have mine in several routines.

If the sensor detects my wife getting out of bed after my good night/house shut down routine but before sunrise, it turns on some strip lights under the bed as a night light so she dosen't use the light from her phone and wave it all around. The strip lights turn off 30 seconds after she gets back in bed.

I use both my and/or my wife's presence in bed as an indicator of how bright to turn on lights throughout the house in the morning before sunrise. The lights turn on brighter for her (e.g. if I'm still in bed) than they do for me (e.g. she's still in bed) because I really hate brightness early in the morning.

I use our combined presence in bed to keep the cat and/or robot vacuum from triggering any of the motion sensors throughout the house overnight.

I've also got a few morning routines that won't run if either of us are still in bed. Presumably they're still sleeping and would be frustrated by lights and/or sounds that might be close to the bedroom.

2 Likes

Curious if you have a link to where you are getting those?

That is good idea. I will update my morning routines accordingly.
How fast is a response for in/out the bed status?

Just on Amazon:
https://www.amazon.com/gp/product/B078Z1B34S/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
They are not cheap ($130 each) but I like toys.

2 Likes

I think it triggers essentially immediately, but honestly, I've never tried timing it. For most of my routines, it would take at least 10-20 seconds between my getting out of bed and arriving in an area that's impacted so speed was never a big concern. The only routine that I know has a couple second delay is the under-bed lighting, but that's definitely an issue with the lights themselves; they run slow even through the native app.

Thanks! I’ve been kind of looking for something like this for a while now, the options seem to all be in that range, but this one wasn’t available in the Canadian Amazon store when I last checked. If this can be directly integrated to Hubitat, it might be a good option for us… will check it out from the US store!

Set up a 3hump watch, it was $103.99 when I bought from .ca.

Working great.

1 Like

Oh cool! Thanks @Ranchitat! Will check it out.

There is a community-developed integration, works just fine. It was abandoned by the original dev but was picked back up by another so it’s still under active development.

That’s important for a device like this, since it’s reliant on Withings’ API in the cloud, so if something were to change with that in the future, the integration could stop working if not updated accordingly.

Pretty fast in my experience, maybe on the order of 10 or so seconds. That may not be fast enough for triggering lights on, although it sounds like @sean1 has been doing that without negatively affecting WAF.

2 Likes

For the beginning I am planning to control curtains in a bedroom. 10 sec responce sounds very reasonable for this application.

Yup for opening or closing curtains, it should be fine. Assuming it’s as fast for you as it is for me (no guarantees, particularly for a cloud-dependent integration, of course).

Generally I absolutely don't like anything cloud-based and so far all critical controls are 100% local. This specific integration will be just a nice addition to already existing rules. Unfortunately except for the DIY all existing bed sensors are only cloud-based. So, let it be.

1 Like

So, which driver/app is working for the Withings Bed Sensor?
I just got my two pads and registered them by using Withings Android app.
Now trying to use @JustinL app for HE integration but cannot pass through the Info step:

The provided URL:
https://cloud.hubitat.com/oauth/stateredirect
is not accepted by Withings developer web site.
What I am doing wrong?

That’s the URL I entered.

Did it also ask you to enter a ClientID and Secret?

The Justin's app yes, it is asking for the Client ID and Secret.
But how do I get them? Is this my User Name and Password or something else/different?
I assumed once I will register my app on the Withings development page I will get that
Client ID and a Secret. The problem is - I cannot pass Step-2 on the on the development page
because call back URL is not reachable. What is a correct call back URL?

UPDATE
Ok, finally I got this toys working.
The response time for the in/out the bed sensing is about 10-15 sec.
This is somewhat OK for the could-baseed integration and should be good for my
use case.
It looks like this integration "as is" works only as a in-bed presence sensor.
@JustinL
Is it possible (and if yes, any plan?) to get other sleep related parameters?

UPDATE 2
Found another Bed Sensor Device in addition to just presence virtual switch with
gazillions available parameters.
Now I am scratching my head how to use them in automations.

I just set up another account to test and it worked. Ignore the callback URL test and hit done at the bottom.

Then you should be taken to your new Developer Dashboard with the Client ID and Secret you will copy and paste in the Hubitat app.

1 Like

This is what I tried and it was successful. Now my new toys are working.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.