Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Never miss Suhoor again - let your iPhone do the math and set the alarm automatically every night

Description and use

Automated nightly alarm updates for Suhoor on iPhone using Scriptable and Shortcuts, based on live Fajr times.

Problem

During Ramadan, prayer times shift daily, making manual alarm updates tedious.

Outcome

Automated nightly alarm updates eliminate manual effort and reduce missed Suhoor.

Workflow

  • 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

Evidence

Your iPhone fetches today's Fajr time, calculates your two alarms automatically, and sets them every night, no manual updates needed.

Source

Fetches today's Fajr prayer time from a live API based on your GPS coordinates

Source

Scriptable lets you write and run JavaScript on your iPhone - perfect for calling APIs and passing data to Apple Shortcuts.

Source

  • Record date: 2026-10-05T22:41:23.843Z