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.

    3rd Party Addins not working

    Scheduled Pinned Locked Moved Troubleshooting
    1 Posts 1 Posters 662 Views 1 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.
    • N Offline
      neocleous
      last edited by

      Hi all,

      I have just set up my magic mirror and I have been able to alter the default modules to suite my region and preferences however I am having an issue with 3rd party addins. I must confess I am a bit of a Linux newb so I ahve done a fair amount of reading and copy pasting however I cannot get 3rd party modules to work.

      I am trying to run the web admin console and Spotify addin, I think I have configured both of them correctly and white listed my entire subnet however neither are working. I have missed something obvious in my config file shown below or done something else obvious?

      Thanks in advance.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "192.168.0.47", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.0/28"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: "12",
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
          			module: "MMM-Admin-Interface"
          	},
      		{
      			module: "calendar",
      			header: "UK Calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Warrington, GB",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "c3d0b9bf707df523a21cd2f3bbd32f38"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "Warrington, GB",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "c3d0b9bf707df523a21cd2f3bbd32f38"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "BBC UK",
      						url: "http://feeds.bbci.co.uk/news/uk/rss.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      		{
        			module: "MMM-NowPlayingOnSpotify",
        			position: "upper_third",
        			config: {
      				showCoverArt: "true",
      				clientID: "944d74d0c4ed40e6bc3c030512fc5da3",
          				clientSecret: "2519d1a6c42948d799a2a3e285a27246",
          				accessToken: "BQCgTm2SwfeQmulLWj8JyZL9bSZsCPfwtn9AtVMvQdVM-Ic2xsqZ8iBKM2ZAdmgdlLgPxnoTSeVllTkmnViLAHkS0dVvmeTNM9nxR1pN6RHl0o2yf8x-j40TkK74BQ7K6fIA6kWIqW4RvC87x883Iup3adaNLw",
          				refreshToken: "AQB14KZHEHIrNVyuHqUyrHr8b33IdvgpA8oeQ7T-T_xqCzdu08cpQ2m4QvCWsyuNTbeuK4IGTZANY2KdS-LDziWzyyts_vPr177fW4ru3zQsbVPrGebZTOOclUWo5gW46sR27w"
        			}
      		},
      
      
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • 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