Fajr

Set up a barcode or NFC alarm for Fajr with Fajrlock

Choose a barcode or NFC tag, set Fajrlock and test the alarm before bed. Learn supported barcodes, NFC setup and what happens if you cannot scan.

Updated 30 November 20262 min readBy Webaimarket

Fajrlock stops its alarm when you scan the barcode or NFC tag you registered. Choose something you can reach safely after getting out of bed, register it in the app and run a test alarm before relying on it for Fajr.

Choose a barcode or an NFC tag

A barcode printed on a bottle, book or card can work without buying a separate tag. Fajrlock supports EAN, UPC, Code 39, Code 93, Code 128 and ITF barcodes. QR codes are not supported. Choose a clear, undamaged barcode you expect to keep.

If you prefer tapping instead of using the camera, you can register an NFC tag, card or sticker. Your phone needs NFC support for that option. Use the registration and test flow to check the particular tag and phone together before relying on them.

A barcode uses the camera, and Fajrlock has a flashlight option for a dark room. An NFC tag uses the phone's NFC reader. Choose the method that is easiest for you to use while sleepy.

Register it and put it away from your bed

Scan the barcode or tag in Fajrlock, then leave it in a fixed place such as the bathroom. Put it far enough away that dismissing the alarm requires getting up. Keep the route clear and choose a spot you can reach safely in low light.

Use an object that will still be there tomorrow. A bottle someone might throw away or a book you take out of the house is less reliable than something kept in the same place. Registering a new barcode or tag replaces the previous one.

Set a fixed time or choose automatic Fajr times

You can set a fixed alarm time or let Fajrlock calculate Fajr times on the phone for your chosen place. Select the calculation method used by your mosque and compare the time with your local timetable. On iPhone, open the app now and then so automatic alarms stay scheduled.

Keep alarm volume audible and check that your Do Not Disturb settings allow alarms. On Android, review the requested alarm and battery permissions. If an alarm fails to ring, use the Android alarm troubleshooting guide.

Run a test before your first morning

Fajrlock can run a test alarm after ten seconds. Test it with the phone locked, then walk to the registered object and scan it. This checks both the alarm and the dismissal method while you are awake enough to fix a problem.

There is no snooze button. If you cannot scan, the alarm stops after your chosen ring limit, between 5 and 60 minutes, with 30 minutes as the default. That morning counts as missed. Choose the limit deliberately and keep a dependable way to wake up while testing a new setup.

Make the evening routine repeatable

Before sleeping, check the alarm time, charge the phone and confirm that the registered barcode or tag is in its usual place. Waking up still depends on allowing enough time to sleep and preparing for the morning; an alarm does not replace rest.

For the broader routine, read how to prepare for waking up for Fajr. The Fajrlock app page lists its features, permissions, questions and downloads for iPhone and Android.

More guides

  1. 01 Fajr · 4 min read How to wake up for Fajr: an evening and morning routine Prepare for Fajr with your local prayer time, a realistic bedtime, a tested alarm and a plan for getting up. Includes barcode and NFC alarm setup. Fajr · 4 min read
  2. 02 Sleep · 3 min read Why you sleep through your alarm, and what actually helps Sleeping through alarms or turning them off without remembering? Here is what causes it, from sleep inertia to snoozing, and the changes that make waking up reliable. Sleep · 3 min read
  3. 03 Android · 5 min read Android alarm not ringing? Check these settings Alarm not ringing on Android? Check alarm volume, sound, Do Not Disturb, exact-alarm permission and battery settings, then run a lock-screen test. Android · 5 min read