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. Wires on top of connector are from PIR sensor and were already fixed in.