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

can someone help pleas with my config/config.js

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 2.8k Views 3 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.
  • J Offline
    jiyar @strawberry 3.141
    last edited by Mar 17, 2018, 9:43 PM

    @strawberry-3.141 thank u for replaying but I’v got the same problem
    language: “en”,
    timeFormat: 12,
    units: “imperial”,

    modules: [
    	{
    		module: "alert",
    	},
    	{
    		module: "updatenotification",
    		position: "top_bar"
    	},
    	{
    		module: "clock",
    		position: "top_left"
    	},
    	{
    	        module: 'MMM-PrayerTime',
    	        position: 'top_left',	// This can be any of the regions. Best result is in the top_left/top_right.
    	        config: {
    		         apiVersion: '1.0', // please, leave unchanged. reserved for future use.
    		        lat: false, // latitude of your position (city)
    		        lon: false, // longitude of your position (city)
    		        timezone: false, // please refer to http://php.net/manual/en/timezones.php
    		        timeFormat: 12,
    		        method: 5,
    		        playAdzan: ['spede', 'nivro', 'evar', 'maghrib', 'aisha'],
    		        notDisplayed: ['midnight', 'sunset'],
    		        useUpdateInterval: true,
    		        updateInterval: 86400 * 1000, // How often do you want to fetch new praying time? (milliseconds)
    		        animationSpeed: 2.5 * 1000, // Speed of the update animation. (milliseconds)
    		        language: config.language,
    		        showAdzanAlert: true,
    		        alertTimer: 15000
         		}
    	},
    	{
    		module: "compliments",
    		position: "lower_third"
              	},
    	{
    		module: "currentweather",
    		position: "top_right",
    		config: {
    			location: "Duhok",
    			locationID: "95446",  //ID from http://www.openweathermap.org/help/city_list.txt
    			appid: "bd5e378503939ddaee76f12ad7a97608"
    		}
    	},
    	{
    		module: "weatherforecast",
    		position: "top_right",
    		header: "Weather Forecast",
    		config: {
    			location: "Erbil",
    			locationID: "95446",  //ID from http://www.openweathermap.org/help/city_list.txt
    			appid: "bd5e378503939ddaee76f12ad7a97608"
    		}
    	},
    	{
    		module: "newsfeed",
    		position: "bottom_bar",
    		config: {
    			feeds: [
    				{
    					title: "New York Times",
    					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    				}
    			],
    			showSourceTitle: true,
    			showPublishDate: true
    		}
    	},
    ]
    

    };

    S 1 Reply Last reply Mar 17, 2018, 10:53 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @jiyar
      last edited by Mar 17, 2018, 10:53 PM

      @jiyar linting your config on http://jshint.com/ doesn’t give anymore issues, can you specify what the issue is with your config. Can you provide any error logs (pm2, electron, browser, terminal …)?

      Please create a github issue if you need help, so I can keep track

      J 1 Reply Last reply Mar 17, 2018, 11:15 PM Reply Quote 0
      • J Offline
        jiyar @strawberry 3.141
        last edited by Mar 17, 2018, 11:15 PM

        @strawberry-3.141 my problems when I run the magicmirror it says creat config file

        S 1 Reply Last reply Mar 18, 2018, 12:01 AM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @jiyar
          last edited by Mar 18, 2018, 12:01 AM

          @jiyar is your file called config.js? Is it stored in MagicMirror/config/config.js

          Please create a github issue if you need help, so I can keep track

          J 2 Replies Last reply Mar 18, 2018, 12:14 AM Reply Quote 0
          • J Offline
            jiyar @strawberry 3.141
            last edited by jiyar Mar 18, 2018, 12:15 AM Mar 18, 2018, 12:14 AM

            @strawberry-3.141 yes config.js

            1 Reply Last reply Reply Quote 0
            • J Offline
              jiyar @strawberry 3.141
              last edited by Mar 18, 2018, 12:17 AM

              @strawberry-3.141 I add a new module I got this problem but whith defualt config file it works

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Mar 18, 2018, 12:42 AM

                https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                1 / 1
                • First post
                  7/9
                  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