Never miss Suhoor again - let your iPhone do the math and set the alarm automatically every night
说明与用途
使用 Scriptable 和 Shortcuts 在 iPhone 上自动更新苏胡尔闹钟,基于实时 Fajr 时间。
问题
During Ramadan, prayer times shift daily, making manual alarm updates tedious.
结果
Automated nightly alarm updates eliminate manual effort and reduce missed Suhoor.
工作流
- Create Scriptable script to fetch Fajr time from AlAdhan API
- Calculate Suhoor and Fajr‑adhan offsets
- Return timestamps to Shortcuts
- Set alarms via Shortcuts automation at 1:00 AM
证据
Your iPhone fetches today's Fajr time, calculates your two alarms automatically, and sets them every night, no manual updates needed.
Fetches today's Fajr prayer time from a live API based on your GPS coordinates
Scriptable lets you write and run JavaScript on your iPhone - perfect for calling APIs and passing data to Apple Shortcuts.
- 记录日期: 2026-10-05T22:41:23.843Z