Smart flat