After a huge deluge (where deluge = 1) of people asking me how to run Zoneminder and Motion together I have written this guide. It may answers some questions that people have and I would be interested in other peoples experiences. All I can say is that it works for me on my setup and actually doesn't take long to install Motion so its worth a go.
Respects to the authors of Zoneminder and Motion for writing truly excellent software.
Regards
Sledgehammer
Running Zoneminder and Motion together
This document was written as an aide memoir for myself and for others that may find it useful. It summarizes what needs to be done to enable the use of Zoneminder as the overall manager of a CCTV system but using Motion to do the motion detection. The websites for the software in question are at:
http://www.zoneminder.com/
http://www.lavrsen.dk/twiki/bin/view/Motion/
Lets Start
This is the setup I use, others may work.
1)Zoneminder 1.22.3
2)Kernel 2.6.20 no later at the time of writing (V4l2 issues ?)
3)Motion V3.2.10.1
4)Kodicom 4400R/ BT878 setup. Others should work, your mileage may vary!
5)I use Gentoo so the command line specifics and file locations may be different for you
It is assumed that you have Zoneminder up and running to your liking as there are plenty of good installation instructions around. If you are installing from scratch then do follow those instructions but don't get bogged down in the detail of motion detection zones as you won't be using them. I guess thats why you're reading this any way

The modifications you need for Zoneminder are;
1)Check ZM_OPT_TRIGGERS in the system tab of the options page as we will be using the zmtrigger.pl script and this setting needs to be checked.
2)My ZM_OPT_FRAME_SERVER is unchecked (save cpu cycles?)
3)Set your cameras Function to Nodect as we will be using Motion to do the motion detection
4)I found the zmtrigger.pl script crashed when run so I commented out the following lines. You will need the line containing “Chan1â€