If i start the "motions detection" script, my camera keeps on shooting photos - also if no motion occures!
Framebuffer related functions are not yet implemented (on DIGIC 6 ports in general). That includes motion detection. This is part of the reason why the port is still called 'prealpha'.
This is actually mentioned in the thread's first post, but that part of the post is a mess. I'll try to emphasize the missing features a bit more.
I got Motion to work fine. (v1.5 port.) It takes a little tweaking. See bottom.
I've been obsessed with capturing images of lightning. Up until now, I've been doing it the old fashioned way - taking random exposures of 15 seconds (then waiting another 15 for the noise cancellation), hoping that I caught a strike in the process. Then I tripped across a guy on youtube using the Motion script in CHDK.
So I came here for the port of CHDK for my SX280. (Thanks to the developer for the port!)
Even tho framebuffer stuff isn't working, I can report that Motion (and the latest Lightning script) both work fine. I don't get the nice green grid like I do with the same script on my SX160. (Unless I'm in test mode on the Lightning Script.) But the motion detect part works.
At first, running the script with its default settings caused the SX280 to keep taking photos even without motion. But that was due to a few reasons.
One, I had to turn off AutoFocus and go to Manual. That stopped the image from "moving."
Two, I had better success with Manual exposure, so that the image also doesn't "move" as the camera figures out the exposure.
Last, and most critical, I had to increase the threshold for Motion. I find that 12 to 15 keeps it from constantly snapping photos. (Although I haven't had a chance yet to try it at night for lightning to see if that's too high. Update: Works well! It caught a bunch of strikes!)
Having said all that for the stock Motion LUA script, I didn't have to make any changes to the settings in the latest Lightning script for it to work. (Just Manual Focus.) I had to increase the threshold on the latest Lightning script for it to work too.
Also, it helps to turn off the "Review" feature on the camera.