• 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-RandomQuranAyah

Scheduled Pinned Locked Moved Education
34 Posts 7 Posters 18.0k Views 7 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 @zam
    last edited by Mar 12, 2017, 2:38 PM

    @zam you’re welcome.

    regards,

    Slamet PS

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

      @slametps I tried setting up this module put it doesnt allow my magic mirror to work. I downloaded the module, put the config in my config.js and got a failed config. I put it in jshint and found nothing. Below is my config. Please help. Thank You.

      modules: [
      		{
      		module: 'MMM-RandomQuranAyah',
      		position: 'top_bar',	
      		config: {
      			apiVersion: '1.0' /
      			showArabic: true,
      			showTranslation: true,
      			surahArabicName:false,
      			translationLang:'id.indonesian',
      			updateInterval: 3600 * 1000, 
      		}
      		},
      		{
      			module: "alert",
      		},
      
      		{
      			module: "updatenotification",
      			position: "top_bar",
      		},
      
      		{
      			module: "clock",
      			position: "top_left",
      		},
      
      
      S 1 Reply Last reply Nov 1, 2017, 9:47 PM Reply Quote 0
      • S Offline
        slametps @zzaidi148
        last edited by Nov 1, 2017, 9:47 PM

        @zzaidi148 said in MMM-RandomQuranAyah:

        @slametps I tried setting up this module put it doesnt allow my magic mirror to work. I downloaded the module, put the config in my config.js and got a failed config. I put it in jshint and found nothing. Below is my config. Please help. Thank You.

        modules: [
        		{
        		module: 'MMM-RandomQuranAyah',
        		position: 'top_bar',	
        		config: {
        			apiVersion: '1.0' /
        			showArabic: true,
        			showTranslation: true,
        			surahArabicName:false,
        			translationLang:'id.indonesian',
        			updateInterval: 3600 * 1000, 
        		}
        		},
        		{
        			module: "alert",
        		},
        
        		{
        			module: "updatenotification",
        			position: "top_bar",
        		},
        
        		{
        			module: "clock",
        			position: "top_left",
        		},
        
        

        You should remove update_notification module (or change the location) because it override the same location.

        regards,

        Slamet PS

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

          @slametps Tried that but still didn’t load up magic mirror

          S 1 Reply Last reply Nov 1, 2017, 9:57 PM Reply Quote 0
          • S Offline
            slametps @zzaidi148
            last edited by Nov 1, 2017, 9:57 PM

            @zzaidi148 said in MMM-RandomQuranAyah:

            @slametps Tried that but still didn’t load up magic mirror

            Can you post the pm2 or MM log?

            regards,

            Slamet PS

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

              @slametps I’m a noob at this but this is the log on my terminal:

              > magicmirror@2.1.3 start /home/pi/MagicMirror
              > sh run-start.sh
              
              Starting MagicMirror: v2.1.3
              Loading config ...
              WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
              Loading module helpers ...
              Initializing new module helper ...
              Module helper loaded: updatenotification
              No helper found for module: helloworld.
              All module helpers loaded.
              Starting server on port 8080 ... 
              Server started ...
              Connecting socket for: updatenotification
              Sockets connected & modules started ...
              Launching application.
              
              
              S 1 Reply Last reply Nov 1, 2017, 10:03 PM Reply Quote 0
              • S Offline
                slametps @zzaidi148
                last edited by Nov 1, 2017, 10:03 PM

                @zzaidi148 said in MMM-RandomQuranAyah:

                @slametps I’m a noob at this but this is the log on my terminal:

                > magicmirror@2.1.3 start /home/pi/MagicMirror
                > sh run-start.sh
                
                Starting MagicMirror: v2.1.3
                Loading config ...
                WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                Loading module helpers ...
                Initializing new module helper ...
                Module helper loaded: updatenotification
                No helper found for module: helloworld.
                All module helpers loaded.
                Starting server on port 8080 ... 
                Server started ...
                Connecting socket for: updatenotification
                Sockets connected & modules started ...
                Launching application.
                
                

                What you got on the screen? Pls post the screen capture here.

                regards,

                Slamet PS

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

                  @slametps it just said to recheck your config

                  S 1 Reply Last reply Nov 1, 2017, 10:09 PM Reply Quote 0
                  • S Offline
                    slametps @zzaidi148
                    last edited by Nov 1, 2017, 10:09 PM

                    @zzaidi148 said in MMM-RandomQuranAyah:

                    @slametps it just said to recheck your config

                    Can you post your whole config? It seems your config is the problem.

                    regards,

                    Slamet PS

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

                      @slametps said in MMM-RandomQuranAyah:

                      @zzaidi148 said in MMM-RandomQuranAyah:

                      @slametps it just said to recheck your config

                      Can you post your whole config? It seems your config is the problem.

                      There is character / after config ApiVersion. Pls remove it.

                      regards,

                      Slamet PS

                      Z 1 Reply Last reply Nov 1, 2017, 10:12 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      • 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