Role of IoT in Energy Efficiency in a Smart City Connected Community