Bed sensors: unlocking endless possibilities beyond your wildest dreams.

Bed sensors have more uses than you might think at first. They provide valuable information for home automation purposes, such as turning off lights and other smart devices while occupants are sleeping. The sensors used in this project are inexpensive pressure-sensing mats, which can be connected to other smart devices through a home automation system. One method involves connecting the pressure mat to a Zigbee Aqara Leak Sensor, which is then connected to a Zigbee-compatible home assistant, while another method connects the pressure mat to an ESP32 using a screw terminal dev board. With the sensors in place, the house can be put into night mode once both occupants are in bed, automatically powering down smart devices and activating the alarm system.