Skip to content
/ MMM-MPT Public
forked from uok825/MMM-IPT

Magic Mirror Module of Islamic Prayer Times -MMM-IPT

Notifications You must be signed in to change notification settings

FaiekA/MMM-MPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-MPT

Magic Mirror Module of Muslim Prayer Times

Screenshot 2024-05-31 175148

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

	{
	    module: 'MMM-MPT',
		animateIn: 'backInRight',
		animateOut: 'backOutRight',			
	    position: 'bottom_right', // This can be any of the regions, best results in center regions
	    config: {
                updateInterval: 1 * 60 * 60 * 1000, // every hours
			    latitude: -26.326160,  //defaults to Konya / Meram.
			    longitude: 26.817346,
			    timeZoneString: "Africa/Johannesburg", // https://www.php.net/manual/en/timezones.php
			    method: 3, //You can see in below the config.
			    school: 0, //"school" - Optional. 0 for Shafii, 1 for Hanfi. If you leave this empty, it defaults to Shafii.
				header: "Salaah Times", // Added header default value
       			adhanEnabled: false	// Initial button state // Add a default value for adhan playback enabled/disabled		    
	    }
	}, 
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/FaiekA/MMM-MPT.git               
Copy-Paste config texts. Thanks.

Thanks for to uok825/MMM-IPT

About

Magic Mirror Module of Islamic Prayer Times -MMM-IPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.3%
  • CSS 15.7%