X10 motion detectors uses motion and still as states.  I’m not sure if that applies here or not; but the concept is not foreign.