Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
http://wiki.linuxmce.org/index.php/Using_Respond_To_EventsYes you can. Follow the above link for more info. I use an X10 motion to trigger a zwave light at NIGHT.
You can also use an IP Camera with motion enabled as a sensor to trigger this this type of Event too by the way.