SummaryAs the edge nodes of the Internet of Smart Grids (IoSG), smart sockets enable all kinds of power load data to be analyzed at the edge, which create conditions for edge calculation and real‐time (RT) load forecasting. In this article, an edge‐cloud computing analysis energy system is proposed to collect and analyze power load data, and a combination of graph convolutional network (GCN) with LSTM, called KGLSTM is used to achieve mid‐long term mixed sequential mode RT forecasting. In the proposed edge‐cloud framework, distributed intelligent sockets are regarded as edge nodes to collect, analyze and upload data to cloud services for further processing. The proposed KGLSTM network adopts a double branch structure. One branch extracts the data characteristics of mid‐short term time‐series data through an encoding–decoding LSTM module; the other branch extracts the data features of long term timing data through an adapted GCN. GCN is used to extract spatial correlations between different nodes. In addition, by combining a dynamic weighted loss function, the accuracy of peak forecasting is effectively improved. Finally, through various experimental indicators, this article shows that KGLSTM and weighted KGLSTM have achieved significant performance improvement over recent methods in mid‐long term time‐series forecasting and peak forecasting.