def blinkPeriodEnd(self):
        self.publish('blink_period_end', None)
        if self.num_of_blinks_in_row > 1:
            self.blinksInARowEvent(self.num_of_blinks_in_row)
        self.num_of_blinks_in_row = 0
        self.first_blink = None
        self.blink_timer = None