• 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 54.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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Fonfon
    last edited by Feb 17, 2017, 10:39 PM

    @Fonfon I got him going bro. See? I can do things! (Godfather reference)

    Create a working config
    How to add modules

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

      @Fonfon said in Bad question:

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

      You’re welcome :thumbsup:

      Create a working config
      How to add modules

      F 1 Reply Last reply Feb 17, 2017, 10:42 PM Reply Quote 1
      • F Offline
        Fonfon @Mykle1
        last edited by Feb 17, 2017, 10:42 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • F Offline
          Fonfon
          last edited by Jopyth Feb 18, 2017, 1:50 PM Feb 17, 2017, 11:28 PM

          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 ?

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

            @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 Feb 17, 2017, 11:45 PM

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

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

                @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
                • C Offline
                  cowboysdude Module Developer
                  last edited by Feb 18, 2017, 4:43 AM

                  @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 :)

                  M 1 Reply Last reply Feb 18, 2017, 12:21 PM Reply Quote 1
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by Feb 18, 2017, 12:21 PM

                    @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 Feb 18, 2017, 8:33 PM

                      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 ;)

                      M 1 Reply Last reply Feb 18, 2017, 8:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 5 / 7
                      5 / 7
                      • First post
                        43/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