Read the statement by Michael Teeuw here.
Config help please
-
@snotrocket you are still using the wrong quotes use
"
or'
instead of“
-
Oooooh. Would the different quotes come from notepad++ or something? I think I edited in that and copied via SSH.
Fixing now.
Thanks
-
Yay! It works! I added the NFL module and tweaked the compliments.
Thank you so much!!! Working code is below.
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'alert', }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'compliments', position: 'bottom_center', config: { updateInterval: 30000, compliments: { morning: [ "Good morning!", "Lets go tackle today" ], afternoon: [ "What an awesome day!" ], evening: [ "Did you do everything you wanted today?", "Wasn't the day just spectacular?" ] } } }, { module: 'currentweather', position: 'top_right', config: { location: 'Chicago', locationID: '', //ID from http://www.openweathermap.org appid: '#######################' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Chicago', locationID: '', //ID from http://www.openweathermap.org appid: '############################' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "ESPN", url: "http://www.espn.com/espn/rss/news" }, { title: "Reuters Sports", url: "http://feeds.reuters.com/reuters/sportsNews" }, ], showSourceTitle: false, showPublishDate: false } }, { module: 'MMM-NFL', position: 'middle_center', config: { colored: true, helmets: true, reloadInterval: 10000, focus_on: ['CHI'] } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
@snotrocket there is no need to let the nfl module reload every 10 seconds, it will detect itself if there is a live match and during live matches it will refresh data more frequently
-
So set it to an hour or two?
-
@snotrocket if you want to use the default of 30mins you can remove it from your config.js completely
-
even better! Thanks.
-
Can i set the size of the NFL module? in the middle it takes up a huge amount of the screen when it shows all upcoming matches.
-
@snotrocket you can either limit with focus_on option the amount of matches displayed or use custom.css to make personal changes to the style
-
@snotrocket any chance you have a photo of what your mirror looks like… as far as layout… havent been able to see a functioning nfl or nhl module up on screen. just curios if i even want to tinker and add to mine… im so close to being done!! thanks