DOMUS SAPIENS project involves the construction of an advanced home automation system, based on innovative technologies, which allows monitoring of health status and habits of users in domestic environments. The system collects and processes data through a network of sensors placed inside the building and worn by people. Such sensors allow the monitoring of anomalous behaviour and patterns of behaviour to change for the well-being of the users. HT Apps deals with the management and collection of data from the sensors, the semantic analysis of statistics and the implementation of the ontology. The latter is elaborated thanks to a profiling algorithm in order to allow a quick and intuitive initial configuration and the creation of server and web interface.