Anyone try to build a bed occupancy sensor integrated with Home Assistant? I’ve looked into load sensors but all of them seem to have pretty small weight limits (low enough to where I don’t think it would even support the empty bed).
What devices/sensors have you used for this? And what does your setup look like?
Aliexpress has load cells that go up to the hundreds of KGS. One of those, an esp32/pico and some wiring and you should be good to go?
Couldn’t find the exact one I ordered a few months ago, but this type of pressure sensor aliexpress link is apparently a common bed occupancy sensor type used when building medical beds for hospitals and care homes so staff can be alerted when a patient gets out of bed. I’m not sure the specific model I linked is quite right specs-wise, but the idea is that it goes on a slat or other surface between the matress and the frame that doesn’t necessarily get the full weight of the occupant, but still gets enough to measure on the sensor.
I’m a bit late to the conversation here, but I bought four of these car seat occupancy sensors - https://www.ebay.co.uk/itm/316523892197 - and installed them between the mattresses, one at butt level and the other at shoulder level on both sides of the bed - and connected them to an ESP32 on ESPHome. Works a treat. They’re sensitive enough to momentarily disengage if someone rolls over or shuffles about if you need that, otherwise a generous bounce detection allowance smooths it out.
I can’t believe I’m even engaging this post, but… what’s the use-case? Gotta say, this sounds extra creepy.
Turn on the lights in the bedroom based on presence sensor, but only if the bed occupancy sensor detects no one is in bed.
Turn off the lights when 2 people in bed. Turn the lights on really low when only 1 person gets up. Track time you went to bed / time in bed as a low-budget sleep tracker not tied to a big data broker, like a smart watch would be…
Yum yum
-Data_mining_bot
deleted by creator
Self-hosted. The data stays within my home- It is processed locally on my server.