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

Bad question

Scheduled Pinned Locked Moved General Discussion
64 Posts 5 Posters 55.2k Views 4 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.
  • F Offline
    Fonfon @Mykle1
    last edited by Feb 17, 2017, 9:28 PM

    @Mykle1 can you give me the original config file please

    M 1 Reply Last reply Feb 17, 2017, 9:29 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Fonfon
      last edited by Feb 17, 2017, 9:29 PM

      @Fonfon ok, one sec

      Create a working config
      How to add modules

      M 1 Reply Last reply Feb 17, 2017, 9:33 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @Mykle1
        last edited by Jopyth Feb 18, 2017, 1:50 PM Feb 17, 2017, 9:33 PM

        /* Magic Mirror Config Sample
         *
         * By Michael Teeuw http://michaelteeuw.nl
         * MIT Licensed.
         */
        
        var config = {
        	port: 8080,
        	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
        
        	language: 'en',
        	timeFormat: 24,
        	units: 'metric',
        
        	modules: [
        		{
        			module: 'alert',
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},
        		{
        			module: 'clock',
        			position: 'top_left'
        		},
        		{
        			module: 'calendar',
        			header: 'US Holidays',
        			position: 'top_left',
        			config: {
        				calendars: [
        					{
        						symbol: 'calendar-check-o ',
        						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
        					}
        				]
        			}
        		},
        		{
        			module: 'compliments',
        			position: 'lower_third'
        		},
        		{
        			module: 'currentweather',
        			position: 'top_right',
        			config: {
        				location: '',
        				locationID: 'GOES HERE',  //ID from http://www.openweathermap.org
        				appid: 'YOUR_OPENWEATHER_API_KEY'
        			}
        		},
        		{
        			module: 'weatherforecast',
        			position: 'top_right',
        			header: 'Weather Forecast',
        			config: {
        				location: '',
        				locationID: 'GOES HERE',  //ID from http://www.openweathermap.org
        				appid: 'YOUR_OPENWEATHER_API_KEY'
        			}
        		},
        		{
        			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
        			}
        		},
        	]
        
        };
        
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== 'undefined') {module.exports = config;}
        

        Create a working config
        How to add modules

        M 1 Reply Last reply Feb 17, 2017, 9:33 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Mykle1
          last edited by Feb 17, 2017, 9:33 PM

          Copy the entire message

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fonfon
            last edited by Fonfon Feb 17, 2017, 9:37 PM Feb 17, 2017, 9:37 PM

            thanks mikle i copied the entire message i paste it
            rename my config file like config.js
            go to command
            npm start
            allways the message in a black screen
            please create a config file
            magic mirror2
            see readme for more information…

            M 1 Reply Last reply Feb 17, 2017, 9:38 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Fonfon
              last edited by Feb 17, 2017, 9:38 PM

              @Fonfon your config.js file that you just pasted the code into is inside your config folder, yes?

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • F Offline
                Fonfon
                last edited by Feb 17, 2017, 9:41 PM

                yes but i think the copie/pasted is not correct i re-try

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fonfon
                  last edited by Feb 17, 2017, 9:50 PM

                  yes he’s inside the folder
                  he don’t work…

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer
                    last edited by Feb 17, 2017, 10:21 PM

                    To save yourself time and double check do this…

                    go to your MagicMirror/config directory

                    type in terminal window:

                    cp config.js.sample config.js

                    Then restart your mirror… lets make sure it’s working first :)

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fonfon
                      last edited by Feb 17, 2017, 10:30 PM

                      it’s ok !! now i have the starting config file
                      thanks !!!

                      M 2 Replies Last reply Feb 17, 2017, 10:39 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 2 / 7
                      2 / 7
                      • First post
                        33/64
                        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