First there was no relay chattering, You did not read the story very well. The photoeye was cycling on/off at intervals of about five min. Chattering neams: on/off very fast. The lamps only cycled becouse the load side of the photocell cycled. the power to the photocell is seperate than the power of the lights. The photocell controled the coils only