The old PIR sensor had three terminal blocks, from left to right - L (arrow down), N, L (arrow up). I'm assuming L is live and N is neutral. Unfortunately, I didn't take a note of which wires went where - big mistake! From memory I'm pretty sure that brown went into L, blue into N and the two...