pir sensor wiring

  1. J

    Looking for some help.

    I’m trying to connect a new replacement PIR sensor to outside security light and have got in a muddle with the wiring. Some advice would be welcome. The bottom right wires are coming from light - yellow, (possibly faded green?) red, blue. Bottom left are from wall mains, brown, black, grey...