Abstract: A computer-based method operate to monitor a state of a person in a living space or the state of the living space to optimize the monitored person's well-being. The method includes arranging a plurality of sensors in predetermined positions within the living space for generating sensor data, connecting each of the sensors to a gateway node in the living space, the gateway node configured for routing signals to and from the sensors in the sensor network and operating a server including a processor and a memory that is programmed to communicate with the gateway node to control the sensors, receive data detected by the sensors, to process the sensor data received from the sensor network and to generate communications based on the processing in accordance with a set of rules.