How to set the camera light to turn on when motion is detected?

How to set the camera light to turn on when motion is detected?

Please adjust the night vision mode to smart mode. Please refer to the following method:
1, click "Enter Device" on the homepage of the app.
2, click “Function” in the lower right corner;
3, click “night vision mode”;
4, select smart mode.