Text this: Optimizing Renewable Energy Integration Using IoT and Machine Learning Algorithms