I am replacing a ceiling light that operates from two different switches. When I took the old light down it had a blue (neutral) wire and this was connected to two black wires in the ceiling. The light also had a brown (live) wire and this was connected to a yellow wire in the ceiling (Earth?). There was also two red wires in the ceiling that were islolated and not connected to anything. My new light has blue, yellow and brown wiring. I wired the two black wires in the ceiling to the blue wire. I wired the yellow wire in the ceiling to the yellow earth wire. I wired the two red wires to the brown wires. The light works but it will not swtich off at the switch so there is something not right. I cannot identify the live switch cable and don't know if it is one of the black wires or red wires.
Can anyone help me with this problem?