There is a command called waitMotion which will wait for a bit of time and then if motion is detected, will return that motion info. To support motion via MQTT another daemon could be created which listens for motion and sets the motion on / off