Notification movement

Why do I get motion detection warnings while I set up a schedule from 11 pm - 6 am?
I would only like to get notifications when I´m away or at sleep.
How do I set this up?
What is the button to put the camera on/off for detection and recording? Do I have to do this on the camera android phone or on the my phone or possible on both?