Motioneye recording on external PIR\Command

Hello,

i have already found how motioneye can catch external motion detection

http://raspberrypi:7999/1/config/set?emulate_motion=on
http://raspberrypi:7999/1/config/set?emulate_motion=off

It is perfect. The question how can i force recording the video only on external motion signal.
Because if i turn on Movies recording


it will also record images on trigger ofbuilt in motion detection, that i can not deactivateв automatically (from rule of HA) for example when i am at home.
So i would like to keep internal motioneyes motion detection as sensor in HA, but record only on my command.
Is it possible and how?

Did you find a solution?