Will smart cities tilt the balance between data capture and personal privacy?

How do we strike a balance between collecting comprehensive data about citizens to maximise the benefits of smart cities, while protecting privacy rights?