Doorbell sensor and camera not reacting

I can’t work out what setting combinations to use.
It was working then it stopped… Switched between Home and Away works 3or4 times then it stops.
What is the correct way of setting it up?