The popular intelligent methods for improving the efficiency of energy consumption in a home automation system have been investigated in this paper. The intelligent method for controlling energy consumption has been developed. It differs from the existing ones in an integrated approach based on predicting electricity generation using a Feedforward neural network, as well as optimizing the schedule for using electrical appliances based on an improved particle swarm optimization algorithm with the proposed system of priorities. The intelligent support subsystem has been created, the integration of which into the home automation system will allow users to control the processes of generation and consumption of electricity, effectively use household appliances and save resources.