The present invention is directed to an improved smart green power node using predictive switching, predictive operation at a daily and hourly level, and both grid connected and island operating modes with built-in cybersecurity.