I've had another thought, that is the second this week.
With a LDR in the circuit, perhaps the detector is intended to be inhibitied in daylight. The LDR will be low resistance in daylight and it could be tried with the LDR shorted. If this works to stop the alarm on switch on, then Kris's...