Hey there,
we have a documented use case description that is quite close to your idea. It might help setting up your version. Just use a timer instead of the button widget to activate/deactivate your alarm and your motion camera instead of the noise sensor: