Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

Prayer Times – Colour-Coded Prayer Countdown

On an AWTRIX display
Prayer Times – Colour-Coded Prayer Countdown shown on an AWTRIX display
Prayer Times – Colour-Coded Prayer Countdown · by jonnydangers

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.

Which AWTRIX do you have? See below where it runs, or choose your device.
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.

Send to AWTRIX

Choose your AWTRIX

Prayer Times – Colour-Coded Prayer CountdownAWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

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! 🤲

More scripts in Miscellaneous

Something wrong with this script? Report it.