Skip to content
/ MMM-IPT Public

Magic Mirror Module of Islamic Prayer Times

Notifications You must be signed in to change notification settings

uok825/MMM-IPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

MMM-IPT

Magic Mirror Module of Islamic Prayer Times

#config To add the module do the following which also shows the configurable values:

{
    module: 'MMM-IPT',
    position: 'bottom_right', // This can be any of the regions, best results in center regions
    config: {
        updateInterval: 4 * 60 * 1000, // every 4 mins
		    latitude: 37.861676,  //defaults to Konya / Meram.
		    longitude: 32.4641803,
		    timeZoneString: "Europe/Istanbul", // https://www.php.net/manual/en/timezones.php
		    method: 13, //You can see in below the config.
		    school: 1, //"school" - Optional. 0 for Shafii, 1 for Hanfi. If you leave this empty, it defaults to Shafii.
		    adhanSrc: '', // If you want to play azan add the config to this link 'http://www.islamcan.com/audio/adhan/azan1.mp3'.
		    css_class: 'bright medium',
    }
},
METHODS:

0 - Shia Ithna-Ansari
1 - University of Islamic Sciences, Karachi
2 - Islamic Society of North America
3 - Muslim World League
4 - Umm Al-Qura University, Makkah
5 - Egyptian General Authority of Survey
7 - Institute of Geophysics, University of Tehran
8 - Gulf Region
9 - Kuwait
10 - Qatar
11 - Majlis Ugama Islam Singapura, Singapore
12 - Union Organization islamic de France
13 - Diyanet İşleri Başkanlığı, Turkey
14 - Spiritual Administration of Muslims of Russia
15 - Moonsighting Committee Worldwide (also requires shafaq parameter)
16 - Dubai (unofficial)

Install the module

cd ~/MagicMirror/modules
git clone https://github.com/uok825/MMM-IPT.git
Copy-Paste config texts. Thanks.

Thanks for the eulhaque.

About

Magic Mirror Module of Islamic Prayer Times

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published