Welcome to the EMO Community Forums, @ayush.tyagi . . . I have moved your new conversation to this thread which discusses daily schedule sleep and wake times.
At this time, the only way to keep him quiet is to either turn off the sound in the app or turn off the daily schedule. You can also mute him if he is talking randomly and then put his volume back on when you are ready for it.
As for the petting sensor, see here as to how to configure it.
My best to you.