I recently replaced an exterior light. The cable in the wall was connected to a plastic block with the following four connections
1. two red wires
2. one red and one black wire
3. two black wires
4. three yellow/green wires
My new light had a small block with two white cables; one connected to live and one connected to neutral and one yellow/green connected to earth (the block had been handily marked)
Because I didn't know what to do (or indeed what they are for) with the spare wires (ie. the two red ones) within the electrical cable from the wall I was forced to use the existing block.
I connected one of the (light's) white cables (neutral) to the two black cables in the block. I connected the other white cable (live) to the red and black and obviously the yellow/green to yellow/green.
The light works fine, but the block is so big it doesn't fit snugly behind the cavity between the wall light and the wall. Whilst it won't fall off, it's not as secure as I would wish - and then I suppose there's a chance of water seeping in. Of course I will see if I can get a smaller block with four connections, but wondered why the 'spare' wires and whether there is another alternative.
The light switch is on the internal wall (it is a double-switch that also turns the kitchen lights on/off). The light that I took off had no sensor - nor has the one I put on.
Thank you.
PS. Please do not assume (I'm sure you guessed that from my post) I know anything about electrics in any reply. I don't.