Read the statement by Michael Teeuw here.
Error with Config.
-
I have been trying to work out what’s wrong with this dev build.
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: '-------s' } ] } }, { module: 'MMM-Traffic', position: 'top_center', classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name config: { api_key: '---', mode: 'driving', origin: '------', destination: '-----', arrival_time: '0800', //optional, but needs to be in 24 hour time if used. route_name: 'Home to Work', changeColor: true, showGreen: false, limitYellow: 5, //Greater than 5% of journey time due to traffic limitRed: 20, //Greater than 20% of journey time due to traffic traffic_model: 'pessimistic', interval: 120000 //2 minutes }, }, { module: 'currentweather', position: 'top_right', config: { location: 'New York', locationID: '', //ID from http://www.openweathermap.org appid: '-----' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'New York', locationID: '5128581', //ID from http://www.openweathermap.org appid: '----' } }, { module: 'MMM-SystemStats', position: 'bottom_left', // This can be any of the regions. classes: 'small dimmed', // Add your own styling. Optional. config: { updateInterval: 10000, animationSpeed: 0, //header: 'System Stats', // This is optional }, ], }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} -
@jtyle6 said in Error with Config.:
{
module: ‘MMM-SystemStats’,
position: ‘bottom_left’, // This can be any of the regions.
classes: ‘small dimmed’, // Add your own styling. Optional.
config: {
updateInterval: 10000,
animationSpeed: 0,
//header: ‘System Stats’, // This is optional
},
],};
you missed a
}before closing all the modules with]and closing module systemstats with}animationSpeed: 0, //header: 'System Stats', // This is optional } }, ], -
Fixed from a backup. I really need to learn how to code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login