How one mayor made the state's first IoT lab a reality.