A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
config error (edited config)
-
/* 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: address : '0.0.0.0', // - "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", "::ffff:127.0.0.1", "::1"], ipWhitelist: [], // 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: "imperial", modules: [ { module: "clock", position: "top_center" }, { module: "calendar", header: "US Holidays", position: "top_center", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { module: 'MMM-Remote-Control' // uncomment the following line to show the URL of the remote control on the mirror , position: 'bottom_left' // you can hide this module afterwards from the remote control itself config: { customCommand: {}, // Optional, See "Using Custom Commands" below customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below showModuleApiMenu: true, // Optional, Enable the Module Controls menu apiKey: "", // Optional, See API/README.md for details } }, { module: "currentweather", position: "top_center", config: { location: "", locationID: '", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "" } }, { module: "weatherforecast", position: "top_center", header: "Weather Forecast", config: { location: "Gatlinburg", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "" } }, { module: 'MMM-NowPlayingOnSpotify', position: 'top_center', config: { clientID: '', clientSecret: '', accessToken: '', refreshToken: } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
You’re missing comma after position: ‘bottom_left’ on MMM-RemoteControl.
Can run the following from your MagicMirror root folder to check your config:
npm run config:check
-
@buzzkc okay I’ll try that later and let you know what happens, thank you!
-
@buzzkc it worked thanks man, a comma can change everything
-
No worries, glad I could help. :-)