A bed system comprising: a mattress comprising a first and second air bladder; a first pressure sensor in fluid communication with the first air bladder and a second pressure sensor in fluid communication with the second air bladder, the first and second pressure sensors configured to sense a pressure within the respective air bladders; a support platform supporting the mattress, the support platform comprising a plurality of legs, wherein the plurality of legs comprises a first set of legs along a first side of the platform, wherein the first air bladder is nearer the side with the first set of legs, wherein the plurality of legs comprises a second set of legs along a second side of the platform, wherein the second air bladder is nearer the side with the second set of legs; a plurality of force sensors, each of the plurality of force sensors coupled to one of the plurality of legs, the force sensors configured to sense a force applied to each leg, wherein the plurality of force sensors comprises a first set of force sensors and a second set of force sensors, wherein the first set of force sensors is coupled to the first set of legs and the second set of force sensors is coupled to the second set of legs; and a controller configured to: receive a pressure stream from the pressure sensor, the pressure stream representing the pressure sensed by the pressure sensor, receive at least one force stream from at least one of the plurality of force sensors, the at least one force stream representing a force sensed by the force sensor, generate, from at least the pressure stream and from the at least one force stream, a sleeping parameter of a user, determine that a home automation rule includes a condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, responsive to determining that the home automation rule includes the condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, sending an instruction to drive a controllable device, and determine which side of the bed is being occupied by the user. a mattress comprising a first and second air bladder; a first pressure sensor in fluid communication with the first air bladder and a second pressure sensor in fluid communication with the second air bladder, the first and second pressure sensors configured to sense a pressure within the respective air bladders; a support platform supporting the mattress, the support platform comprising a plurality of legs, wherein the plurality of legs comprises a first set of legs along a first side of the platform, wherein the first air bladder is nearer the side with the first set of legs, wherein the plurality of legs comprises a second set of legs along a second side of the platform, wherein the second air bladder is nearer the side with the second set of legs; a plurality of force sensors, each of the plurality of force sensors coupled to one of the plurality of legs, the force sensors configured to sense a force applied to each leg, wherein the plurality of force sensors comprises a first set of force sensors and a second set of force sensors, wherein the first set of force sensors is coupled to the first set of legs and the second set of force sensors is coupled to the second set of legs; and a controller configured to: receive a pressure stream from the pressure sensor, the pressure stream representing the pressure sensed by the pressure sensor, receive at least one force stream from at least one of the plurality of force sensors, the at least one force stream representing a force sensed by the force sensor, generate, from at least the pressure stream and from the at least one force stream, a sleeping parameter of a user, determine that a home automation rule includes a condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, responsive to determining that the home automation rule includes the condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, sending an instruction to drive a controllable device, and determine which side of the bed is being occupied by the user. receive a pressure stream from the pressure sensor, the pressure stream representing the pressure sensed by the pressure sensor, receive at least one force stream from at least one of the plurality of force sensors, the at least one force stream representing a force sensed by the force sensor, generate, from at least the pressure stream and from the at least one force stream, a sleeping parameter of a user, determine that a home automation rule includes a condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, responsive to determining that the home automation rule includes the condition that includes that at least the pressure stream and the at least one force stream include the sleeping parameter of the user, sending an instruction to drive a controllable device, and determine which side of the bed is being occupied by the user.