You should wire a lead with a plug to the terminal block in the light. And don’t forget that you should ground it. En général, there will be a ground lug on the housing. If there isn’t one, connect the terminal to the ground wire.
Plus de lecture: Réverbère solaire de village: Avantages et guide étape par étape



