Scene for Capturing images/video when motion detected?

Hi all,

I have a foscam fi8910w camera in my garage, and i have also installed the drop box plugin that takes a snapshot every few mins. But instead of taking snapshots every few mins of the empty garage, i am interested in a scene that starts taking pictures or shoots a video as soon as the camera detects motion and dumps them to the dropbox folder. is it possible and if so how, looking forward to the steps?

Also, i have read on the forum, the camera can detect motion and can turn on the lights of the garage… i havent been able to get this. How can i acheive this.

lul_settings={}
lul_settings[“webcamNumber”]=17
luup.call_action(“urn:milliesoft-com:serviceId:WebcamDropboxUploader1”,“SendSnapshot”, lul_settings,259)

Change the numbers and trigger the scene

Ps you already posted this in the dropbox thread

Thanks for your reply. I posted few questions on the other post.
Also i was able to find an old post from a member that guides on how to turn on the lights at certain time of the day when the motion sensor is tripped.

http://forum.micasaverde.com/index.php/topic,11161.msg79424.html#msg79424