• 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 36.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.
  • S Offline
    slametps @aishaamila
    last edited by Apr 24, 2018, 4:11 AM

    @aishaamila said in MMM-PrayerTime:

    @aishaamila Or anyone who knows it?

    What is your MM hardware and config?

    regards,

    Slamet PS

    S 1 Reply Last reply Apr 24, 2018, 4:15 AM Reply Quote 0
    • S Offline
      slametps @slametps
      last edited by Apr 24, 2018, 4:15 AM

      Adzan is played at server side (rpi) by omxplayer. You have to install omxplayer.

      regards,

      Slamet PS

      A 1 Reply Last reply Apr 24, 2018, 4:32 AM Reply Quote 0
      • A Offline
        aishaamila @slametps
        last edited by Apr 24, 2018, 4:32 AM

        @slametps I try to play the adzan using /usr/bin/omxplayer -o hdmi modules/MMM-PrayerTime/res/adzan.mp3 and it played… Do i still need to install the omxplayer?

        S 1 Reply Last reply Apr 24, 2018, 4:35 AM Reply Quote 0
        • S Offline
          slametps @aishaamila
          last edited by Apr 24, 2018, 4:35 AM

          @aishaamila can you post your config?

          regards,

          Slamet PS

          A 2 Replies Last reply Apr 24, 2018, 4:38 AM Reply Quote 0
          • A Offline
            aishaamila @slametps
            last edited by Apr 24, 2018, 4:38 AM

            @aishaamila But i need to change hdmi to local, i wil send it when i get home… Thank you so much

            S 1 Reply Last reply Apr 27, 2018, 4:39 AM Reply Quote 0
            • A Offline
              aishaamila @slametps
              last edited by yawns Apr 24, 2018, 8:04 AM Apr 24, 2018, 5:59 AM

              @slametps do i need to change something?

               {
              		module: "MMM-PrayerTime",
              		position: "top_left",
              		config: {
              			apiVersion: "1.0",
              			lat: 2.1484105, 
              			lon: 102.7285677,
              			timezone: "Asia/Kuala Lumpur", 
              			timeFormat: 24,
              			method: 4,
              			playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'],
              			notDisplayed: ['midnight', 'sunset'],
              			useUpdateInterval: true,
              			updateInterval: 86400 * 1000,
              			animationSpeed: 2.5 * 1000,
              			showAdzanAlert: true,
              			alertTimer: 15000
              		}
              	}
              
              S 1 Reply Last reply Apr 27, 2018, 4:06 AM Reply Quote 0
              • S Offline
                slametps @aishaamila
                last edited by Apr 27, 2018, 4:06 AM

                @aishaamila

                timezone: "Asia/Kuala_Lumpur", 
                

                regards,

                Slamet PS

                S 1 Reply Last reply Apr 27, 2018, 4:41 AM Reply Quote 0
                • S Offline
                  slametps @aishaamila
                  last edited by Apr 27, 2018, 4:39 AM

                  @aishaamila said in MMM-PrayerTime:

                  @aishaamila But i need to change hdmi to local, i wil send it when i get home… Thank you so much

                  What do you mean by “need to change hdmi to local”? Audio output using “-o hdmi” option by omxplayer is output to monitor/TV via HDMI line.

                  regards,

                  Slamet PS

                  A 1 Reply Last reply Apr 27, 2018, 4:43 AM Reply Quote 0
                  • S Offline
                    slametps @slametps
                    last edited by Apr 27, 2018, 4:41 AM

                    @slametps said in MMM-PrayerTime:

                    @aishaamila

                    timezone: "Asia/Kuala_Lumpur", 
                    

                    As described in http://php.net/manual/en/timezones.asia.php.

                    regards,

                    Slamet PS

                    A 2 Replies Last reply Apr 27, 2018, 4:46 AM Reply Quote 0
                    • A Offline
                      aishaamila @slametps
                      last edited by Apr 27, 2018, 4:43 AM

                      @slametps /usr/bin/omxplayer -o local modules/MMM-PrayerTime/res/adzan.mp3

                      I use this command to play the adzan and it worked, but during the time it didnt played. That’s why I am confused.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 6
                      4 / 6
                      • First post
                        38/55
                        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