Read the statement by Michael Teeuw here.
Adding Modules... Please Please advise
-
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…
-
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 :(
-
ah, cool thanks, hopefully that’s all the problem is, :)
-
:( 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;} -
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
}
} -
I need to check on my machine this evening, when I am at home
-
Thanks, much appreciated :)
-
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;} -
I think the error is that the line
module: 'alert',
has a trailing comma, it should read
module: 'alert'
-
Thanks will check now.