Smart cities excel at exploiting IoT (Internet of Things) to the community's benefit. Specifically, connected devices will gather data through an extensive network of sensors scattered throughout the city: on electrical meters, water distribution networks, traffic lights, vehicles, electronic ticket validators, waste management facilities, etc.