An apparatus is provided for detecting the presence of an obstruction with respect to a height-adjustable bed. The apparatus includes sensors coupled to the bed. At least one of the sensors has an output signal which is variable in response to changes in a weight applied to the support surface. The apparatus also includes a controller having inputs configured to receive the output signals from the sensor or sensors. The controller is configured to monitor the output signals, and to provide an indication of the presence of an obstruction with respect to a change in position of the bed.