Text this: From smart grids to smart cities :