I have bought a new ceiling light to replace an old-fashioned one.
I have 3 grey cables hanging from the ceiling: 3 red wires connected together and 3 green wires connected together and 3 black but only 2 are joined together the single black not marked with any insulation.
What I did at first is joined all the black together and connected them to the neutral of the ceiling light and the red to the live and the green to the earth but that caused the breaker to break.
I then rewired it without the single black wire and the light came on but it won't turn off by the light switch. The only way to turn it off is by the main breaker. I have replaced the light switch thinking it might have been faulty but that didn't solve the problem.
How should the light fixture be wired?
The single black wire should be connected with the L on the light fixture, and the 2 black are the neutral. What about the 3 red wires, where should they be connecting?