A pressure mat can monitor whether a person gets out of bed or leaves the house.