11
Bed Occupancy Sensor?
(lemmy.ml)
Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
Use car occupancy sensors and an esp board. That's what I did. I stuck them to corregated cardboard and put one under each side. Aim for the butt area as that seems to apply the most pressure. I would order 4. 2 for each side because you can put them in parallel to divide the resistance and make them easier to trigger.
Buy them on AliExpress or eBay.