I'm using motion on my PI and am having trouble setting up the mask file to exclude an area from motion detection.

1) is this the correct syntax used in the motion.conf file:

mask_file value /mnt/maskfile/mask_garden_raw.pgm

2)This link says to use binary format for the pmg file, but gimp only has raw and ASCII, which one should i use?

3) how can i test if it is working, because it doesn't appear to make any difference to the number of shots i receive.


1 Answer 1


Iv'e managed to get it working.

1) take out the "value"

2) I used "raw"

3) I made a fully black picture, and it didn't trigger any pictures.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.