• 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 56.8k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @Fonfon
    last edited by Feb 17, 2017, 6:01 PM

    @Fonfon you are in the wrong directory cd ~/MagicMirror

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

    1 Reply Last reply Reply Quote 1
    • F Offline
      Fonfon
      last edited by Feb 17, 2017, 6:04 PM

      for sure i’m so confuse !

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

        Another one !! ;)
        WARNING! Could not find config file. Please create one. Starting with default configuration.

        why he say that ?

        thanks

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

          @Fonfon

          Your config was working and now it’s not? If you just added something to a working config then that’s probably the culprit. Post your config here so we can have a look at it

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fonfon
            last edited by Feb 17, 2017, 9:10 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”, “192.168.1.1/24”],

            language: 'fr',
            timeFormat: 24,
            units: 'metric',
            
            modules: [
            	{
            		module: 'alert',
            	},
            	{
            		module: "updatenotification",
            		position: "top_bar"
            	},
            	{
            {
            		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: 'New York',
            			locationID: '',  //ID from http://www.openweathermap.org
            			appid: 'YOUR_OPENWEATHER_API_KEY'
            		}
            	},
            	{
            		module: 'weatherforecast',
            		position: 'top_right',
            		header: 'Weather Forecast',
            		config: {
            			location: 'New York',
            			locationID: '5128581',  //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;}

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

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @Fonfon
                last edited by Feb 17, 2017, 9:16 PM

                @Fonfon

                the 2nd { in the calendar module should be deleted for starters

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

                  Like this

                  {
                  	module: 'calendar',
                  	header: 'US Holidays',
                  	position: 'top_left',
                  	config: {
                  		calendars: [
                  			{
                  				symbol: 'calendar-check-o ',
                  				url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                  			}
                  		]
                  	}
                  },
                  
                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fonfon
                    last edited by Feb 17, 2017, 9:19 PM

                    Can you give me a correct config file for starting or where i can find it ?

                    F M 2 Replies Last reply Feb 17, 2017, 9:22 PM Reply Quote 0
                    • F Offline
                      Fonfon @Fonfon
                      last edited by Feb 17, 2017, 9:22 PM

                      @Fonfon and when i start npm , my config file name is config.js or config.js.sample ?

                      M 1 Reply Last reply Feb 17, 2017, 9:23 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 2 / 7
                      2 / 7
                      • First post
                        19/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