The Internet of Things is helping cities improve everything from traffic data, weather, and parking, to water usage and waste management.