The PlanHOME project proposes an optimization tool to plan the house of the future characterized by smart, green and flexible technologies.