In order to send security events directly to the motion camera, and to get a picture from it, you'll have to relate the motion camera to itself in the Device_Device_Related table.
Le's say that your MotionCameraID is 77, you'll have to add this as FK_Device and FK_Device_Related in the Device_Device_Related table.
>mysql -u root
>INSERT INTO Device_Device_Related (FK_Device, FK_Device_Related) VALUES ($MotionCameraID, $MotionCameraID);
In your case you'll have to substitute the $MotionCameraID variable with you MotionCameraID = Device ID - from Web Admin