The best solution for home energy management systems in practice combines both approaches