• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-PrayerTime

Scheduled Pinned Locked Moved Education
55 Posts 14 Posters 35.2k Views 14 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    zzaidi148
    last edited by Nov 12, 2017, 11:57 PM

    Is it possible to use another api service like islamic finder or salah times api so it would allow for 12-hour format? Thank You

    S 1 Reply Last reply Nov 13, 2017, 12:05 AM Reply Quote 0
    • S Offline
      slametps @zzaidi148
      last edited by Nov 13, 2017, 12:05 AM

      @zzaidi148 said in MMM-PrayerTime:

      Is it possible to use another api service like islamic finder or salah times api so it would allow for 12-hour format? Thank You

      You should modify the module according to each API provider data. Why should be 12-hour format?

      regards,

      Slamet PS

      Z 1 Reply Last reply Nov 13, 2017, 4:01 PM Reply Quote 0
      • Z Offline
        zzaidi148 @slametps
        last edited by Nov 13, 2017, 4:01 PM

        @slametps 12hour format would be easier for people in America to read.

        S 1 Reply Last reply Nov 15, 2017, 8:40 AM Reply Quote 0
        • S Offline
          slametps @zzaidi148
          last edited by Nov 15, 2017, 8:40 AM

          @zzaidi148 said in MMM-PrayerTime:

          @slametps 12hour format would be easier for people in America to read.

          Sorry for late response.
          I’ll see what I can do tonight. I’ll inform you if 12-hour format is supported.

          regards,

          Slamet PS

          S 1 Reply Last reply Nov 15, 2017, 1:51 PM Reply Quote 0
          • S Offline
            slametps @slametps
            last edited by Nov 15, 2017, 1:51 PM

            @slametps said in MMM-PrayerTime:

            @zzaidi148 said in MMM-PrayerTime:

            @slametps 12hour format would be easier for people in America to read.

            Sorry for late response.
            I’ll see what I can do tonight. I’ll inform you if 12-hour format is supported.

            I have added 12-hours time-format support. Please update your clone.

            regards,

            Slamet PS

            Z 1 Reply Last reply Nov 18, 2017, 4:02 PM Reply Quote 1
            • Z Offline
              zzaidi148 @slametps
              last edited by Nov 18, 2017, 4:02 PM

              @slametps Thank you so much! How do I do that?

              D 1 Reply Last reply Apr 8, 2018, 3:46 AM Reply Quote 0
              • D Offline
                danialothman @zzaidi148
                last edited by Apr 8, 2018, 3:46 AM

                @zzaidi148 @slametps

                does the MMM-PrayerTime still work??

                I am trying to set it up but fail to get anything.

                S 1 Reply Last reply Apr 9, 2018, 2:52 AM Reply Quote 0
                • K Offline
                  Krato5
                  last edited by Apr 8, 2018, 9:36 AM

                  what kind of issue that you get ?

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    slametps @danialothman
                    last edited by Apr 9, 2018, 2:52 AM

                    @danialothman said in MMM-PrayerTime:

                    @zzaidi148 @slametps

                    does the MMM-PrayerTime still work??

                    I am trying to set it up but fail to get anything.

                    yeah, of course. mine is running. if you got trouble running this module, try install async module.

                    npm install async
                    

                    regards,

                    Slamet PS

                    D 1 Reply Last reply Apr 9, 2018, 3:26 AM Reply Quote 0
                    • D Offline
                      danialothman @slametps
                      last edited by Apr 9, 2018, 3:26 AM

                      @slametps my apologies,

                      yes it does work. Thank you for building this.

                      there were some missing commas in your module page, which I overlooked.

                      In case anyone from Brunei, you can use the below:

                      {
                      		module: "MMM-PrayerTime",
                      		position: "top_left",
                      		config: {
                      			apiVersion: "1.0",
                      			lat: 4.5353, 
                      			lon: 114.7277,
                      			timezone: "Asia/Brunei", 
                      			timeFormat: 24,
                      			method: 3,
                      			playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'],
                      			notDisplayed: ['midnight', 'sunset'],
                      			useUpdateInterval: true,
                      			updateInterval: 86400 * 1000,
                      			animationSpeed: 2.5 * 1000,
                      			language: "en",
                      			showAdzanAlert: true,
                      			alertTimer: 15000
                      		}
                      	}
                      
                      S 1 Reply Last reply Apr 9, 2018, 3:35 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy