AXIS M30 Network Camera SeriesAdditional settingsNoteIf you change the definition of a stream profile that is used in a rule, then you need to restart all the rules that use thatstream profile.Record video when the camera detects motionThis example explains how to set up the camera to start recording to the SD card five seconds before it detects motion and tostop one minute after.Make sure that AXIS Video Motion Detection is running:1. Go to Settings > Apps > AXIS Video Motion Detection.2. Start the application if it is not already running.3. Make sure you have set up the application according to your needs.Create a rule:1. Go to Settings > System > Events and add a rule.2. Type a name for the rule.3. In the list of conditions, under Application, select AXIS Video Motion Detection (VMD).4. In the list of actions, under Recordings, select Record video while the rule is active.5. Select an existing stream profile or create a new one.6. Set the prebuffer time to 5 seconds.7. Set the postbuffer time to 60 seconds.8. In the list of storage options, select SD card.9. Click Save.Send an email automatically if someone spray paints the lens1. Go to Settings > System > Detectors.2. Turn on Trigger on dark images. This will trigger an alarm if the lens is sprayed, covered, or rendered severely out of focus.3. Set a duration for Trigger after. The value indicates the time that must pass before an email is sent.Create a rule:1. Go to Settings > System > Events > Rules and add a rule.2. Type a name for the rule.3. In the list of conditions, select Tampering.4. In the list of actions, select Send notification to email.5. Select a recipient from the list or go to Recipients to create a new recipient.To create a new recipient, click . To copy an existing recipient, click .6. Type a subject and a message for the email.7. Click Save.13