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 65.1k 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
      last edited by Jopyth

      Ok i try to the change clock

      /* 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'
      			config: {
      				timezone: 'france/paris'
      			}
      		},
      		{
      			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;}
      

      is it the great form ?

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Fonfon
        last edited by Jopyth

        @Fonfon I think it should be ‘France/Paris’ with capitals, and a comma after ‘top_left’,

        Also, I think that if you leave the default at ‘none’ it will use your system clock

        {
        module : ‘clock’,
        position : 'top_left’,
        config: {
        timezone: ‘France/Paris’
        }
        },
        

        is it the great form ?

        timezone Specific a timezone to show clock.

        Possible examples values: America/New_York, America/Santiago, Etc/GMT+10
        Default value: none

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • F Offline
          Fonfon
          last edited by

          That’s right capitals and comma needed
          you are the boss thanks !!

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Fonfon
            last edited by

            @Fonfon said in Bad question:

            That’s right capitals and comma needed
            you are the boss thanks !!

            Just trying to be helpful. You’re welcome :thumbsup:

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              @Fonfon

              Just a suggestion that I give all new people… before you make changes to a working config.js make a copy of it… that way if you can’t figure out or you need something to compare it to you have your backup :)

              Mykle1M 1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @cowboysdude
                last edited by

                @cowboysdude said in Bad question:

                before you make changes to a working config.js make a copy of it

                Excellent advice, and I agree. We were just trying to get him a working config.js in the first place

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • F Offline
                  Fonfon
                  last edited by

                  Is it necessary to rename the config.js to config.js.sample every time you want to modify it?
                  Or is there a simpler manipulation.

                  yes now i do this !! i have a copy of my config.js ;)

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Fonfon
                    last edited by

                    @Fonfon - No, you don’t have to rename your config.js file to edit it but you might want to back it up BEFORE you edit it. This way, if anything goes wrong you’re safe

                    Create a working config
                    How to add modules

                    F 1 Reply Last reply Reply Quote 1
                    • F Offline
                      Fonfon @Mykle1
                      last edited by

                      @Mykle1 for sure i understand how i can do for editing file without rename it ?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @Fonfon
                        last edited by

                        @Fonfon – Double click your config.js file. It will open. Do your editing, then choose Save from the File menu

                        Create a working config
                        How to add modules

                        F 1 Reply Last reply Reply Quote 1
                        • F Offline
                          Fonfon @Mykle1
                          last edited by

                          @Mykle1 I will end up owing you a bottle of wine ;)

                          Mykle1M 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @Fonfon
                            last edited by

                            @Fonfon - Nah, just trying to help you like people helped me.

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1
                            • F Offline
                              Fonfon
                              last edited by Fonfon

                              ARfff now problem with MMMGlobe
                              i don’t have earth but i have 3 lines…
                              can you help me please…

                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                Fonfon @Fonfon
                                last edited by Fonfon

                                @Fonfon sorry it’s ok
                                module: ‘MMM-Globe’,
                                position: ‘center’,
                                config: {
                                style: ‘geocolor’,
                                imageSize: 600,
                                ownImagePath:‘’,
                                updateInterval: 10601000

                                ‘style geocolor’ does not ok
                                i try another one ans it’s ok !!

                                cowboysdudeC 1 Reply Last reply Reply Quote 0
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @Fonfon
                                  last edited by

                                  @Fonfon said in Bad question:

                                  @Fonfon sorry it’s ok

                                  Try this… :)

                                  
                                  
                                  {
                                   module: 'MMM-Globe',
                                   		position: 'center',
                                   		config: {
                                  			style: 'geocolor',
                                  			imageSize: 600,
                                   			updateInterval: 10*60*1000
                                  }
                                  },
                                  
                                  
                                  1 Reply Last reply Reply Quote 1
                                  • F Offline
                                    Fonfon
                                    last edited by

                                    On github when someone say:

                                    Execute npm install to install the node dependencies.
                                    

                                    I don’t understand that can you explain to me please.

                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @Fonfon
                                      last edited by

                                      @Fonfon open a terminal and change directory cd ~/MagicMirror/modules/MMM-Globe then npm install

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

                                      F 1 Reply Last reply Reply Quote 1
                                      • F Offline
                                        Fonfon @strawberry 3.141
                                        last edited by

                                        @strawberry-3.141 so simply thanks…

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          Fonfon
                                          last edited by

                                          Hi !

                                          i have a 16/9 screen and i’d like to turn it a 90° is it possible to turn the view at 90° ???

                                          thanks.

                                          brobergB 1 Reply Last reply Reply Quote 0
                                          • brobergB Offline
                                            broberg Project Sponsor @Fonfon
                                            last edited by

                                            @Fonfon Yes, how to is described in the MM documentation on how to set up your MagicMirror :

                                            https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 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