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

Adding 3rd party modules help please

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 7.0k 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.
  • P Offline
    PeppaPigKilla
    last edited by PeppaPigKilla Jan 29, 2017, 1:10 PM Jan 29, 2017, 1:09 PM

    hello

    can you post your code minus any apis passwords etc ?

     {
        module: 'MMM-Globe',
        position: 'bottom_center',
        config: {
            style: 'fullBand',
            imageSize: 600,
            ownImagePath:'',
            updateInterval: 10*60*1000
        }
    },
    
              {
        module: 'MMM-soccer',
        position: 'top_right',
        config: {
            show: 'ENGLAND',
            focus_on: {
                'ENGLAND': 'Manchester City FC'
            },
            max_teams: 10
        }
    },
    

    you can see what i do is I add the extra code after the }, on a new line
    Some modules when they ask you to add to the config file they show

    modules: [
                {
                    module: 'calendar_monthly',
                    position: 'top_left',
                    config: {
                            // The config property is optional
                            // Without a config, a default month view is shown
                            // Please see the 'Configuration Options' section for more information
                    }
                },
    ]
    

    you see the modules:[ and the ] at he end, dont add them bit in your code, so it should be like this

                {
                    module: 'calendar_monthly',
                    position: 'top_left',
                    config: {
                            // The config property is optional
                            // Without a config, a default month view is shown
                            // Please see the 'Configuration Options' section for more information
                    }
                },
    

    So im goign to add the above into my config code now from the top

     {
        module: 'MMM-Globe',
        position: 'bottom_center',
        config: {
            style: 'fullBand',
            imageSize: 600,
            ownImagePath:'',
            updateInterval: 10*60*1000
        }
    },
                {
                    module: 'calendar_monthly',
                    position: 'top_left',
                    config: {
                            // The config property is optional
                            // Without a config, a default month view is shown
                            // Please see the 'Configuration Options' section for more information
                    }
                },
    
              {
        module: 'MMM-soccer',
        position: 'top_right',
        config: {
            show: 'ENGLAND',
            focus_on: {
                'ENGLAND': 'Manchester City FC'
            },
            max_teams: 10
        }
    },
    

    Ive stuck it in the middle. This will work

    I hope that makes sense

    1 Reply Last reply Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Jan 29, 2017, 1:52 PM

      First, let me thank you for assistance. You are most kind. Then, let me apologize that I don’t know how to post the code in that nice frame, as you did. With that, I think I added the code as you advised, yet MagicMirror reported an error in the config, again. I am trying to add the module “planetrise” as shown below. In this case, between “updatenotification” and “clock.”

                  },
                  {
      		module: "updatenotification",
      		position: "bottom_bar"
      	},
      	{
          		module: 'planetrise',
          		position: 'top_right',  // This can be any of the regions.
          		header: 'PLanet Rise',
          		config: {  // Place the latitude and longitude of your mirror
              		latitude: 45.5,
              		longitude: -122.38,
              		// A dictiory of the bodies and unicode character for the symbol
              		// This is the default and does not need to be listed.
              		// A full list of bodies can be seen on line 1359 in astronomy.js
              		// Note: Trying to find the rise time of Earth will crash the Module
              		bodies: {'Sun': '☉',
                      	'Moon': '☽',
                      	'Mercury': '☿',
                      	'Venus': '♀',
                      	'Mars': '♂',
                      	'Jupiter': '♃',
                      	'Saturn': '♄',
      	},
      	{
      		module: 'clock',
      		position: 'top_left'
      	},
                  {
      		module: 'calendar',
      		header: 'US Holidays',
      		position: 'top_left',
      

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • P Offline
        PeppaPigKilla
        last edited by PeppaPigKilla Jan 29, 2017, 2:04 PM Jan 29, 2017, 1:57 PM

        I’m also new liek you to this, i have myself had similar issues.
        Try

           },
                    {
        		module: "updatenotification",
        		position: "bottom_bar"
        	},
                  	{
            		module: 'planetrise',
            		position: 'top_right',  // This can be any of the regions.
            		header: 'PLanet Rise',
            		config: {  // Place the latitude and longitude of your mirror
                		latitude: 45.5,
                		longitude: -122.38,
                		// A dictiory of the bodies and unicode character for the symbol
                		// This is the default and does not need to be listed.
                		// A full list of bodies can be seen on line 1359 in astronomy.js
                		// Note: Trying to find the rise time of Earth will crash the Module
                		bodies: {'Sun': '☉',
                        	'Moon': '☽',
                        	'Mercury': '☿',
                        	'Venus': '♀',
                        	'Mars': '♂',
                        	'Jupiter': '♃',
                        	'Saturn': '♄',
                  }
                  }
        	},
        	{
        		module: 'clock',
        		position: 'top_left'
        	},
                    {
        		module: 'calendar',
        		header: 'US Holidays',
        		position: 'top_left',
        

        I have added

        }
        }
        

        after the

        'Saturn': '♄',
        

        add your config to this page here, it points out errors
        http://jshint.com/

        Updated it, missed out another }

        1 Reply Last reply Reply Quote 3
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Jan 29, 2017, 2:22 PM

          Peppa,
          I don’t know how to thank you. That last edit you made did the trick. I am absolutely thrilled right now. I will take your advice and visit http://jshint.com/. I’m going to add, “Peppa made this happen!” in my compliments module.

          Peace, and best regards,

          Mykle (New York)

          P.S. If there is a rating system here, I will find it and give you highest of praise.

          Create a working config
          How to add modules

          P Y 2 Replies Last reply Jan 29, 2017, 2:26 PM Reply Quote 1
          • P Offline
            PeppaPigKilla @Mykle1
            last edited by Jan 29, 2017, 2:26 PM

            @Mykle1

            You’re welcome buddy

            Wish you the best.

            M 1 Reply Last reply Jan 29, 2017, 9:43 PM Reply Quote 3
            • Y Offline
              yawns Moderator @Mykle1
              last edited by Jan 29, 2017, 9:22 PM

              @Mykle1 said in Adding 3rd party modules help please:

              If there is a rating system here, I will find it and give you highest of praise.

              Bottom right on every post you see :arrow_up_small: and :arrow_down_small: , just without the blue…
              Press/tap the up button and the author of this post gets +1

              M 1 Reply Last reply Jan 29, 2017, 9:39 PM Reply Quote 3
              • M Offline
                Mykle1 Project Sponsor Module Developer @yawns
                last edited by Jan 29, 2017, 9:39 PM

                @yawns

                Thanks for pointing that out for me. I gave you an ^ as well, for taking the time to teach me that…

                @PeppaPigKilla

                I gave you as many ^ as this page would allow. You spent a considerable amount of time and effort in helping me solve my problem and I appreciate that. I kept clicking ^ on your posts but each would only permit +1. Again, many thanks.

                Peace

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @PeppaPigKilla
                  last edited by Jan 29, 2017, 9:43 PM

                  @PeppaPigKilla

                  As promised, I gave you as many ^ as this page would allow. You spent a considerable amount of time and effort in helping me solve my problem and I appreciate that. I kept clicking ^ on your posts but each would only permit +1. Again, many thanks.

                  Peace

                  Create a working config
                  How to add modules

                  C 1 Reply Last reply Jan 30, 2017, 12:46 AM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @Mykle1
                    last edited by Jan 30, 2017, 12:46 AM

                    @Mykle1 That’s what this is all about ;) Welcome. I’m sure someday you’ll be able to help get someone through something too.

                    M 1 Reply Last reply Jan 30, 2017, 1:49 AM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @cowboysdude
                      last edited by Jan 30, 2017, 1:49 AM

                      @cowboysdude

                      And I surely will. I think all of this stuff is amazing and I’m learning as quickly as I can. I’ll be glad to help when I can. I wanna get me some of those ^

                      Peace

                      Create a working config
                      How to add modules

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