A mattress (1) consists of at least one layer (1a) of foam material and a plurality of capacitive sensors (S) that are distributed across a plane which is substantially parallel to the lying surface of the mattress (1). The sensors (S) consist of an arrangement of two electrically conductive foam layers (3, 4) separated by a dielectric.