Smart traffic lights generating data insights