Prayer Times – Colour-Coded Prayer Countdown
On your display
A simple, colourful prayer-time display for AWTRIX NG. Displays the next upcoming Islamic prayer (Fajr, Dhuhr, Asr, Maghrib or Isha), its scheduled time, and a live countdown showing how long remains until the prayer.
- Topic
- Miscellaneous
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
FEATURES
• Displays the next upcoming daily prayer (Fajr, Dhuhr, Asr, Maghrib or Isha).
• Colour-coded prayer names for easy identification.
• Displays the upcoming prayer time in 12-hour format.
• Live countdown in hours and minutes.
• Automatically advances to the next day's Fajr after Isha.
• Retrieves prayer times from the AlAdhan API.
• Refreshes prayer data every six hours.
• Configurable prayer calculation methods and Asr schools.
• No API key required.
LOCATION SETUP
The script works worldwide using configurable GPS coordinates.
After installing, open the app settings and enter your own:
• Latitude
• Longitude
You can find your coordinates using Google Maps or another GPS coordinate service.
IMPORTANT: Make sure your AWTRIX clock is configured with the correct local timezone for accurate countdowns.
PRAYER CALCULATION
Choose your preferred calculation method directly in the app settings.
Available methods:
• Muslim World League (MWL)
• Islamic Society of North America (ISNA)
• Karachi
• Umm Al-Qura
• Egyptian General Authority
• Tehran
• Jafari
• Gulf Region
• Singapore
• France
• Turkey
• Moonsighting Committee
ASR CALCULATION
• Shafi (Standard)
• Hanafi
Default settings:
• Calculation Method: ISNA
• Asr Calculation: Shafi (Standard)
Prayer times may vary slightly from those published by your local mosque, depending on its calculation method and local adjustments.
REQUIREMENTS
• AWTRIX NG compatible device
• Internet connection
Designed for the Ulanzi TC001, but suitable for other compatible AWTRIX NG displays.
Enjoy and make a dua! 🤲
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More scripts in Miscellaneous
Something wrong with this script? Report it.
Have an idea?
Sign in to ask questions and join the conversation.