A bed system comprising: a remote server; a first bed (112, 302) comprising: a first mattress, wherein the first mattress comprises a first inflatable chamber; a first pressure sensor in fluid communication with the first inflatable chamber to sense pressure applied to the first mattress; and a first controller in data communication with the first pressure sensor, the first controller configured to: receive, from the first pressure sensor, first pressure readings indicative of the sensed pressure applied to the first mattress; and transmit the first pressure readings to the remote server such that, the remote server is able to generate one or more sleep-state classifiers that, when run by a controller on incoming pressure readings, provide a sleep-state vote; a second bed comprising: a second mattress, wherein the second mattress comprises a second inflatable chamber; a second pressure sensor in fluid communication with the second inflatable chamber to sense pressure applied to the second mattress; and a second controller in data communication with the second pressure sensor, the second controller configured to: receive the one or more sleep-state classifiers from the remote server; run the received one or more sleep-state classifiers on second pressure readings in order to collect one or more sleep-state votes from the running one or more sleep-state classifiers; determine, from the one or more sleep-state votes, a sleep-state of a user on the second bed; responsive to the determined sleep-state, operate the bed system according to the determined sleep-state. a remote server; a first bed (112, 302) comprising: a first mattress, wherein the first mattress comprises a first inflatable chamber; a first pressure sensor in fluid communication with the first inflatable chamber to sense pressure applied to the first mattress; and a first controller in data communication with the first pressure sensor, the first controller configured to: receive, from the first pressure sensor, first pressure readings indicative of the sensed pressure applied to the first mattress; and transmit the first pressure readings to the remote server such that, the remote server is able to generate one or more sleep-state classifiers that, when run by a controller on incoming pressure readings, provide a sleep-state vote; a first mattress, wherein the first mattress comprises a first inflatable chamber; a first pressure sensor in fluid communication with the first inflatable chamber to sense pressure applied to the first mattress; and a first controller in data communication with the first pressure sensor, the first controller configured to: receive, from the first pressure sensor, first pressure readings indicative of the sensed pressure applied to the first mattress; and transmit the first pressure readings to the remote server such that, the remote server is able to generate one or more sleep-state classifiers that, when run by a controller on incoming pressure readings, provide a sleep-state vote; receive, from the first pressure sensor, first pressure readings indicative of the sensed pressure applied to the first mattress; and transmit the first pressure readings to the remote server such that, the remote server is able to generate one or more sleep-state classifiers that, when run by a controller on incoming pressure readings, provide a sleep-state vote; a second bed comprising: a second mattress, wherein the second mattress comprises a second inflatable chamber; a second pressure sensor in fluid communication with the second inflatable chamber to sense pressure applied to the second mattress; and a second controller in data communication with the second pressure sensor, the second controller configured to: receive the one or more sleep-state classifiers from the remote server; run the received one or more sleep-state classifiers on second pressure readings in order to collect one or more sleep-state votes from the running one or more sleep-state classifiers; determine, from the one or more sleep-state votes, a sleep-state of a user on the second bed; responsive to the determined sleep-state, operate the bed system according to the determined sleep-state. a second mattress, wherein the second mattress comprises a second inflatable chamber; a second pressure sensor in fluid communication with the second inflatable chamber to sense pressure applied to the second mattress; and a second controller in data communication with the second pressure sensor, the second controller configured to: receive the one or more sleep-state classifiers from the remote server; run the received one or more sleep-state classifiers on second pressure readings in order to collect one or more sleep-state votes from the running one or more sleep-state classifiers; determine, from the one or more sleep-state votes, a sleep-state of a user on the second bed; responsive to the determined sleep-state, operate the bed system according to the determined sleep-state. receive the one or more sleep-state classifiers from the remote server; run the received one or more sleep-state classifiers on second pressure readings in order to collect one or more sleep-state votes from the running one or more sleep-state classifiers; determine, from the one or more sleep-state votes, a sleep-state of a user on the second bed; responsive to the determined sleep-state, operate the bed system according to the determined sleep-state.