Hi,
I'm using area_detect to have motion events only from predefined areas. Suppose I set area_detect to 123. If a motion is detected in area 4 an event is started. Inside the event something generate motion in area 3 I want to monitor. In this situation on_area_detected command is not triggered, so I set gap to 0. I think if gap is 0 motion generate no events but this settings seems doesn't work so motion is unable to reliably execute command when motion is triggered only in some area of interest. If a motion is detected in an area I don't want to monitor an event is triggered even with gap set to 0 and if inside this event another motion is detected in an area I want to monitor the on_area_detected command is not executed,
regards Nicola