Objective: This study presents an Internet of Things (IoT)- based system with edge intelligence that predicts power production with over 98% accuracy and monitors substations and smart solar installations, ensuring reliable power distribution in industrial IoT environments. This system enhances sustainability, safety, and energy management in smart buildings by reducing power fluctuations by 30% and improving decision-making, leading to a 95% reduction in energy management costs. Method: An IoT-enabled power monitoring system was implemented for smart solar panels and substations, incorporating edge intelligence for instantaneous prediction and decision-making. An IoT-enabled solar charging station was deployed for smart homes and Industry 4.0 applications. The cloud was used for analyzing sensor data, with a response time of less than 1 second. Findings: The proposed framework increased the efficiency and reliability of power production and distribution by 25% across commercial, residential, and industrial contexts. It significantly mitigated power fluctuations, reducing downtime by 40% and achieving a 95% cost reduction in energy management compared to traditional systems. IoT integration improved safety and sustainability metrics by 20% in smart buildings. Novelty: The framework integrates edge intelligence with IoT in smart solar systems and substations, providing a sophisticated control system that enhances power distribution decision-making. It facilitates real-time monitoring and prediction of power production with over 98% accuracy, emphasizing sustainability, safety, and energy management improvements of up to 30% in smart buildings. Keywords: IoT-based control system, Smart solar systems, Edge intelligence, Power substations, Load management, Energy sustainability