Stair light controller