How to Enable Motion Detection Event
Enabling motion detector event using Python sample
Download the corresponding python sample
From the directory containing the python sample, call cameras_enable_motion_detector.py to enable motion detection events.
python3 ./cameras_enable_motion_detector.py -access_token dfasdfasdfasrwecsdcsdf= -enabled true
Where enabled is either true or false depending on if you would like to enable or disable motion detection.