MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. PeppaPigKilla
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Adding 3rd party modules help please

      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 }

      posted in Troubleshooting
      P
      PeppaPigKilla
    • RE: Adding 3rd party modules help please

      @Mykle1

      You’re welcome buddy

      Wish you the best.

      posted in Troubleshooting
      P
      PeppaPigKilla
    • RE: Does anyone know how to make the iFrame module refresh periodically?

      Have a Read here http://stackoverflow.com/questions/5146805/an-iframe-i-need-to-refresh-every-30-seconds-but-not-the-whole-page

      posted in Troubleshooting
      P
      PeppaPigKilla
    • RE: Adding 3rd party modules help please

      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

      posted in Troubleshooting
      P
      PeppaPigKilla
    • 1 / 1