IoT Brings Sustainability to Public Grids