MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-PrayerTime

    Education
    14
    55
    18259
    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
      zzaidi148 last edited by

      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

      slametps 1 Reply Last reply Reply Quote 0
      • slametps
        slametps @zzaidi148 last edited by

        @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 Reply Quote 0
        • Z
          zzaidi148 @slametps last edited by

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

          slametps 1 Reply Last reply Reply Quote 0
          • slametps
            slametps @zzaidi148 last edited by

            @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

            slametps 1 Reply Last reply Reply Quote 0
            • slametps
              slametps @slametps last edited by

              @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 Reply Quote 1
              • Z
                zzaidi148 @slametps last edited by

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

                D 1 Reply Last reply Reply Quote 0
                • D
                  danialothman @zzaidi148 last edited by

                  @zzaidi148 @slametps

                  does the MMM-PrayerTime still work??

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

                  slametps 1 Reply Last reply Reply Quote 0
                  • Krato5
                    Krato5 last edited by

                    what kind of issue that you get ?

                    1 Reply Last reply Reply Quote 0
                    • slametps
                      slametps @danialothman last edited by

                      @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 Reply Quote 0
                      • D
                        danialothman @slametps last edited by

                        @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
                        		}
                        	}
                        
                        slametps 1 Reply Last reply 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy