if i understand you right, first time motion is detected (that is working), it fires an event (working), than after a predefined time (in the ezmotion), the motion goes back to 0. Then e.g. if i make a motion 10 minutes later (if that is over the predefined motion length) it should fire again and report 1 to lmce, right?
My problem seems to be that the ezmotion is going into a kind of dep stand bye. it won't fire a second time, not after 1 or 10 or 100 minutes. Only pressing the blue button is helping me to get it up again.
That is not a normal behaviour, is it?
I can't say 100% what your actual problem is based on what you write, so I'll describe my setup:
When the EZMotion first detects motion, its led lights up and an event is emitted, the led goes dark again almost immediately after. Now the detector is active, and is not sending any more motion detected events. When no motion is detected for a specified amount of time, the detector send a new motion event, with a value of 0 (iirc). When the motion detector again detects motion at this point, the led blinks again and a new event is emitted.
The motion sensor always detects motion, but it also has a brightness sensor that allows you to set a certain light level where it triggers an event. So if it is very bright, no event is emitted. This is configurable.