Added sketch, which also supports an additional mini PIR sensor. It's what I needed, you can comment to #define out. Also changed the regulator to a smaller one, which supplies up to 100 milli Amp, which is plenty enough. That way I can keep the circuit smaller on the PCB. Which allows me to create a smaller housing.