Motion detection not working

I have set up everything in settings but motion detection is not working at all, Have all the latest firmware and app (ios),

It used to work when I first bought the camera, Doesn’t work anymore. Please help !

Thanks

Unplug the power and plug it back in