Never miss Suhoor again - let your iPhone do the math and set the alarm automatically every night
Описание и применение
Автоматическое обновление будильников для Сухура на iPhone с использованием Scriptable и Shortcuts, основанное на живых данных о времени Фаджр.
Задача
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