Like the others, my bed has an adjustable base. However, I am certain that presence is a feature of the mattress and not the base.
If your bed doesn't have an adjustable base, you are better off using the other (older) SleepIQ integration that is also posted in this thread. If you can't find it, let me know, and I will PM the files to you.
Interesting, thanks for sharing @lewis.heidrick. I don't recall seeing massage or side table lights when we bought ours I don't see an option to toggle the foot heaters which is the one thing I'd like to have... if you come across that let us know.
On my bed I have led strip lights wired to the dc outputs and the back/foot massagers are wired in through the thick plug that actuates the bed. I'm guessing those are AC powered. If yours are actual plugs that plug into the outlets on each side of the pump you could probably control those by activating the light throught the api. For my led lights I leave them on on the bed and I added an inline motion sensor under the bed that activates and turns them on when it see's me stumbling in the dark.
Our foundation has nightlights that turn on when we get up (based on the pressure sensors) and they have brightness settings in the app (along w/ just disabling them).
I took a brief glance at the requests the app sends for footwarming and it looks like the API is a PUT at: /rest/bed/<bed id>/foundation/footwarming with the json body being:
{
"footWarmingTempRight": <temp>,
"footWarmingTimerRight": <time in minutes>,
}
where timer is 30m,1h,2h,3h,4h,5h,6h (in minutes)
and temp is
off: 0, low: 31, medium: 57, high: 72
and of course there's Right and Left.
To view the data, you issue a GET to the same endpoint and the response is the JSON you'd PUT.
I might actually be able to use this once it's cold again so one of these days I'll see if I can get some time to add this to the Sleep Number Manager app. If/when I do, I'll repost here.
I think my wife would kill me if I turned on the lights when I got out of bed. I do use the pressure sensors to disable my alarm though when I wake up. I also use them to start my truck in the morning during the winter.
Can I ask what pressure sensor are you talking about? I look at the sleep app and I'm may be missing missing something or the pressure sensor? Maybe my bed doesn't have the pressure sensors? Is there a way to check?
@leeonestop You can check in the mobile app if you see where it monitors your sleep activity. If it can tell when you get out of bed you have the pressure sensor. To utilize the pressure sensor there is another app to install to use it call Sleep Number Manager. Maybe at some point they will integrate the two.
I've created a new combined app/driver for Sleep Number presence and control (and added the ability to enable/disable logging). I created a new post about it to keep this one focused on the original code.