Smart Grid in IoT-Enabled Spaces (The Road to Intelligence in Power)