Bed Presence for ESPHome by Elevated Sensors

I have such a bed:

Couldn’t the module be fitted with an extension cable? It would be protected behind the mattress. I’m currently doing the same with electric floor mats and an Aqara humidity sensor. :smiley:

You still need to add in the “slat” to attach the sensors to, but that could definitely work. 3ft extensions is about as long as I’ve found readily available.

It might also work to simply use the 8" extensions provided and leave the main module “floating” between the box spring and mattress.

The idea of adding a woorden slat in my box spring bed is not very appealing
Pressure isn’t dependent on there being a slat or not so in theory it might work without
Has someone tried without slat on a box spring bed like the one from purple turtle?

People have tried with the DIY resistance sensor version. It did not work.

Thank you for the information. Do you think that this cable would also work? Also, it looks like you could extend it even further with another cable. I can definitely give it a try.

So, do I need anything else besides your bed sensor and the extension cables?

I don’t disagree. The sensor as designed is definitely for slat beds. You’re welcome to experiment, but box spring beds are not a supported setup, so you’re definitely in DIY/your own risk territory here.

As long as the setup provides a female socket on the board side, and a male pin on the sensor side, it should be fine.That cables looks to do that. As mentioned above, you’re in DIY/experimental territory here, so no guarantees (but I don’t see why that setup wouldn’t work).

Thank you for your helpful answers. I have now ordered everything once and will report whether it works.:+1:

My bed has “satellites” instead of slats. Do you think this will work? They are hard plastic but can bounce up and down individually.

I would not be confident it would work. There are potentially a couple challenges, but the biggest one in my mind is mounting 24 inch wide sensor strips across the satellites without damaging them when the satellites move. There’s also the question of if the satellites would provide enough pressure against the sensor strips.

1 Like

Makes sense. Too bad, thanks anyway!

Single sensors kits are now available for Twin/Full beds! These kits are identical, only ship with one sensor strip instead of two. This gives you the flexibility to plug the single sensor strip into either side of the module, or even upgrade to a dual sensor setup down the road.

4 Likes

8 posts were merged into an existing topic: FSR - the best bed occupancy sensor

I have a completely flat baseboard for my mattress and I’ve just mounted it upside-down and used the extension wires provided (otherwise the FSR would bend a bit).

I’ll report back after some time with how it’s working out, but it seems good so far.

I would like to adopt this device into ESPHome so I can add my encryption key, add a status binary sensor and adjust the device name.

However I never see the adopt option in the ESPHome add-on dashboard. I do see it available to Add in Devices & Services but want to do the adopt and make the changes first.

Do I have to download the yaml file?

Is your HA server and IoT devices (ESPhome devices) on different VLAN’s? That’s my issue and the ESPhome Dashboard never displays newly added devices if they are brought in externally (ie: not created from YAML). I had that issue with a couple of Athom Presence sensors.

Nope. One flat network.

I just turned off “use ping for status” in the ESPHome add-on and it found it.

oh nice. I haven’t tried that before because using ping was the only way for the ESPhome dashboard to see my devices as online given the VLAN setup

Yeah one of my other sensors now fails to show up as online in the esphome dashboard but I can connect to it and view the serial logs. Weird. That’s probably why I turned ping on initially.

All sorted except…

As for adding the status binary sensor, which I prefer to the uptime sensor for monitoring devices on my network, I’m not 100% sure if I can add that. Or if it will interfere with the binary sensor declaration in the package include.

So maybe this would be best asked for as a future request for a future firmware update?

If you do find that it conflicts for some reason, you can always remove the uptime sensor. The underlying package (sensor-configs/bed-presence-mk1/base.yaml at b6af5cad30f6a0196b2c253b769db3aef87f976f · ElevatedSensors/sensor-configs · GitHub) includes an id for each sensor, so you can remove it as documented here (Packages — ESPHome). For the uptime sensor, it would look something like this…

sensor:
  - id: !remove bed_presence_uptime