🌙 Never miss Suhoor again - let your iPhone do the math and set the alarm automatically every night
Your iPhone fetches today's Fajr time, calculates your two alarms automatically, and sets them every night, no manual updates needed. During Ramadan, waking up for Suhoor means you need to be up before Fajr, and since prayer times shift by a minute or two every day, manually updating your alarm each night gets old fast. In this guide, I'll show you how to build a fully automated system on your iPhone that: Fetches today's Fajr prayer time from a live API based on your GPS coordinates Calculates your wake-up time (30 minutes before Fajr Adhan) Automatically sets or updates your alarm every night while you sleep. We'll use two free apps ( Scriptable and Apple Shortcuts ) and zero paid services. What You'll Need iPhone running iOS 15 or later Scriptable - free on the App Store Apple Shortcuts - pre-installed on your iPhone An internet connection (to fetch prayer times) How It Works - Big Picture [Shortcuts Automation triggers at 1:00 AM every night] ↓ [Runs your Scriptable script] ↓ [Scri
Continue reading on Dev.to JavaScript
Opens in a new tab

