Use pre-calculated key on and key off times