Next prayer takes prominence in a daily timetable calculated from the supplied location, calculation method, Asr method and high-latitude rule. Primetime adds a restrained entrance, a quiet five-minute reminder and a synchronised cue at prayer boundaries. Existing rules continue to govern location, method, adjustments and polar-day behaviour.
Live card
Category: Time. Tags: Schedules, Clocks and calendars.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
location | object | additionalProperties: false | ||
location.name | string | maxLength: 40; Required | ||
location.latitude | number | minimum: -90; maximum: 90; Required | ||
location.longitude | number | minimum: -180; maximum: 180; Required | ||
method | string | "mwl" | "mwl", "isna", "egypt", "makkah", "karachi", "tehran", "jafari", "dubai", "kuwait", "qatar", "singapore" | The calculation method: mwl Muslim World League (Fajr 18, Isha 17), isna Islamic Society of North America (15, 15), egypt Egyptian General Authority of Survey (19.5, 17.5), makkah Umm al-Qura (18.5, Isha 90 minutes after Maghrib), karachi University of Islamic Sciences (18, 18), tehran Institute of Geophysics, University of Tehran (17.7, Maghrib 4.5, Isha 14), jafari Shia Ithna-Ashari, Leva Institute, Qum (16, Maghrib 4, Isha 14), dubai (18.2, 18.2), kuwait (18, 17.5), qatar (18, Isha 90 minutes after Maghrib), singapore (20, 18). Angles are degrees below the horizon. |
asr | string | "standard" | "standard", "hanafi" | The Asr juristic method: standard (shadow equals the object, Shafi'i, Maliki, Hanbali) or hanafi (twice the object). |
highLatitude | string | "auto" | "auto", "none", "middle-of-night", "one-seventh", "twilight-angle" | Where the sky never gets dark enough, Fajr and Isha are held to a share of the night: auto (one-seventh above 48 degrees, middle of the night below), middle-of-night, one-seventh, or twilight-angle (the method's angle over 60). none leaves the times blank when the sun does not reach the angle. |
adjustments | object | {} | additionalProperties: false | Minutes added to each prayer, for a mosque's own precautions or fixed times. |
adjustments.fajr | integer | 0 | minimum: -60; maximum: 60 | |
adjustments.dhuhr | integer | 0 | minimum: -60; maximum: 60 | |
adjustments.asr | integer | 0 | minimum: -60; maximum: 60 | |
adjustments.maghrib | integer | 0 | minimum: -60; maximum: 60 | |
adjustments.isha | integer | 0 | minimum: -60; maximum: 60 | |
showSunrise | boolean | true | ||
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
note | string | "" | maxLength: 120 | A line for the foot of the board: the Jumu'ah time, a closure or an announcement. It replaces the method line. |
Example params
{
"theme": "neomustard",
"location": {
"name": "Vancouver",
"latitude": 49.25,
"longitude": -123.0
}
}
screenrig card create --type prayer-times --major 1 --file params.json --context-file context.md
Example data
{
"note": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.