IPhone – Make iPhone silent while sleeping


When I go to sleep I tell a smart alarm app (Pillow) that I'm going to sleep. When I wake up I tell that same app that I'm awake. Between these two events, I would like for my iPhone not to vibrate or make any other noise. How can I achieve this?

EDIT: To clarify, I'm looking for a way to do this automatically.

Best Answer

A partial solution is to create an "Automation" with the "Shortcuts" app that enters Do-not-disturb mode whenever the smart-alarm app is opened. Then one has to manually exit Do-not-disturb mode every morning upon waking up. Not a perfect solution by any means, but I think it's probably good enough.