can't for the life of me figure out or find online the pinout for this PIR sensor, pads marked N - A and L, would assume Live and Neutral but N doesn't seem to ever have had a wire. 3 wires red brown blue got ripped from this when yanked so I don't know where they went
also the entire circuit is fed by a 3.7v cell that gets charged by a solar panel, no mains voltage