FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
🌙 Never miss Suhoor again - let your iPhone do the math and set the alarm automatically every night
How-ToWeb Development

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

via Dev.to JavaScriptmuhamm-ad1mo ago

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

Read Full Article
49 views

Related Articles

Week 6 — No New Problems. Just Me and Everything I Already Learned.
How-To

Week 6 — No New Problems. Just Me and Everything I Already Learned.

Medium Programming • 2d ago

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)
How-To

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)

Medium Programming • 2d ago

Android Remote Compose:讓 Android UI 不用發版也能更新
How-To

Android Remote Compose:讓 Android UI 不用發版也能更新

Medium Programming • 2d ago

How-To

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

Lobsters • 2d ago

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 3d ago

Discover More Articles