• 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 Modules... Please Please advise

Scheduled Pinned Locked Moved General Discussion
25 Posts 6 Posters 13.9k 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.
  • ? Offline
    A Former User
    last edited by Oct 24, 2016, 6:45 AM

    Ok, cant find anything in the Readme, all git repos just state add to the modules…

    Can someone please share their config file with multiple mods past the default, so i can see where i am going wrong…

    Thanks

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Oct 24, 2016, 9:09 AM

      Just post your config.js file content and let others see what might be missing.
      Please tab indent your file content before posting or use proper markup so the code is readable

      1 Reply Last reply Reply Quote 2
      • ? Offline
        A Former User
        last edited by A Former User Oct 24, 2016, 11:50 AM Oct 24, 2016, 11:50 AM

        var config = {
        port: 8080,

        language: 'en',
        timeFormat: 12,
        units: 'metric',
        
        modules: [
        	{
        		module: 'alert',
        	},
        	{
        		module: 'clock',
        		position: 'top_left'
        	},
        	{
        		module: 'calendar',
        		header: 'British Holidays',
        		position: 'top_left',
        		config: {
        			calendars: [
        				{
        					symbol: 'calendar-check-o ',
        					url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics'
        				}
        			]
        		}
        	},
        	{
        		module: 'compliments',
        		position: 'lower_third'
        	},
        	{
        		module: 'currentweather',
        		position: 'top_right',
        		config: {
        			location: 'Phuket',
        			locationID: '1151254',  //ID from http://www.openweathermap.org
        			appid: '297ccc98662ac6f508ac9e47c549a716'
        		}
        	},
        	{
        		module: 'weatherforecast',
        		position: 'top_right',
        		header: 'Weather huh!',
        		config: {
                    location: 'Phuket',
        			locationID: '1151254',  //ID from http://www.openweathermap.org
                    appid: '297ccc98662ac6f508ac9e47c549a716'
        		}
        	},
        	{
        		module: 'newsfeed',
        		position: 'bottom_bar',
        		config: {
        			feeds: [
        				{
        					title: "Bloomberg!",
        					url: "https://www.bloomberg.com/feeds/podcasts/etf_report.xml"
        				}
        			],
        			showSourceTitle: true,
        			showPublishDate: true
        		}
        	},
        	{
        		module: 'MMM-WorldTides',
        		position: 'top-right',
        		config: {
        		longitude: '7.880', //longitude and latitude need to be written with . instead of ,
        		latitude: '98.392',
        		appid: '5d3d65d6-f4a6-45d4-ab44-13e4eab4b421' //appid needs to be requested from worldtides.info
        		}
        	},	
        ]
        

        };

        Just getting a black screen…

        Y 1 Reply Last reply Oct 24, 2016, 12:12 PM Reply Quote 0
        • Y Offline
          yawns Moderator @Guest
          last edited by Oct 24, 2016, 12:12 PM

          Not sure if this is the problem but the position for module WorldTides should be top_right and not top-right

          That btw is my fault, a stupid typo in the readme :(

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by Oct 24, 2016, 12:22 PM

            ah, cool thanks, hopefully that’s all the problem is, :)

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Oct 24, 2016, 12:25 PM

              :( nope, i updated yet still have a blank screen :(

              var config = {
              port: 8080,

              language: 'en',
              timeFormat: 12,
              units: 'metric',
              
              modules: [
              	{
              		module: 'alert',
              	},
              	{
              		module: 'clock',
              		position: 'top_left'
              	},
              	{
              		module: 'calendar',
              		header: 'British Holidays Bitch',
              		position: 'top_left',
              		config: {
              			calendars: [
              				{
              					symbol: 'calendar-check-o ',
              					url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics'
              				}
              			]
              		}
              	},
              	{
              		module: 'compliments',
              		position: 'lower_third'
              	},
              	{
              		module: 'currentweather',
              		position: 'top_right',
              		config: {
              			location: 'Phuket',
              			locationID: '1151254',  //ID from http://www.openweathermap.org
              			appid: '297ccc98662ac6f508ac9e47c549a716'
              		}
              	},
              	{
              		module: 'weatherforecast',
              		position: 'top_right',
              		header: 'Weather huh!',
              		config: {
                          location: 'Phuket',
              			locationID: '1151254',  //ID from http://www.openweathermap.org
                          appid: '297ccc98662ac6f508ac9e47c549a716'
              		}
              	},
              	{
              		module: 'newsfeed',
              		position: 'bottom_bar',
              		config: {
              			feeds: [
              				{
              					title: "Bloomberg Baby!",
              					url: "https://www.bloomberg.com/feeds/podcasts/etf_report.xml"
              				}
              			],
              			showSourceTitle: true,
              			showPublishDate: true
              		}
              	},
              	{
              		module: 'MMM-WorldTides',
              		position: 'top_right',
              		config: {
              		longitude: '7.880', //longitude and latitude need to be written with . instead of ,
              		latitude: '98.392',
              		appid: '5d3d65d6-f4a6-45d4-ab44-13e4eab4b421' //appid needs to be requested from worldtides.info
              		}
              	},	
              ]
              

              };

              /*************** DO NOT EDIT THE LINE BELOW ***************/
              if (typeof module !== ‘undefined’) {module.exports = config;}

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by Oct 24, 2016, 12:29 PM

                Is it due to not pasting the code like this

                modules: [
                {
                module: ‘MMM-WorldTides’,
                position: ‘top-right’,
                config: {
                longitude: ‘’, //longitude and latitude need to be written with . instead of ,
                latitude: ‘’,
                appid: ‘’ //appid needs to be requested from worldtides.info
                }
                }

                1 Reply Last reply Reply Quote 0
                • Y Offline
                  yawns Moderator
                  last edited by Oct 24, 2016, 12:34 PM

                  I need to check on my machine this evening, when I am at home

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by Oct 24, 2016, 12:40 PM

                    Thanks, much appreciated :)

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by Oct 24, 2016, 1:02 PM

                      var config = {
                      port: 8080,

                      language: 'en',
                      timeFormat: 12,
                      units: 'metric',
                      
                      modules: [
                      	{
                      		module: 'alert',
                      	},
                      	{
                      		module: 'clock',
                      		position: 'top_left',
                      	},
                      	{
                      		module: 'calendar',
                      		header: 'British Holidays Bitch',
                      		position: 'top_left',
                      		config: {
                      			calendars: [
                      				{
                      					symbol: 'calendar-check-o ',
                      					url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics'
                      				}
                      			]
                      		}
                      	},
                      	{
                      		module: 'compliments',
                      		position: 'lower_third',
                      	},
                      	{
                      		module: 'currentweather',
                      		position: 'top_right',
                      		config: {
                      			location: 'Phuket',
                      			locationID: '1151254',  //ID from http://www.openweathermap.org
                      			appid: '297ccc98662ac6f508ac9e47c549a716'
                      		}
                      	},
                      	{
                      		module: 'weatherforecast',
                      		position: 'top_right',
                      		header: 'Weather huh!',
                      		config: {
                                  location: 'Phuket',
                      			locationID: '1151254',  //ID from http://www.openweathermap.org
                                  appid: '297ccc98662ac6f508ac9e47c549a716'
                      		}
                      	},
                      	{
                      		module: 'newsfeed',
                      		position: 'bottom_bar',
                      		config: {
                      			feeds: [
                      				{
                      					title: "Bloomberg Baby!",
                      					url: "https://www.bloomberg.com/feeds/podcasts/etf_report.xml"
                      				}
                      			],
                      			showSourceTitle: true,
                      			showPublishDate: true
                      		}
                      	},
                      	{
                      		module: 'MMM-WorldTides',
                      		position: 'top_right',
                      		config: {
                      		longitude: '7.880', //longitude and latitude need to be written with . instead of ,
                      		latitude: '98.392',
                      		appid: '5d3d65d6-f4a6-45d4-ab44-13e4eab4b421' //appid needs to be requested from worldtides.info
                      		}
                      	},	
                      ]
                      

                      };

                      /*************** DO NOT EDIT THE LINE BELOW ***************/
                      if (typeof module !== ‘undefined’) {module.exports = config;}

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        2/25
                        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