Read the statement by Michael Teeuw here.
Starter problem
-
@kurt it should be finished
-
@strawberry-3.141
fine , is on my list :) -
@strawberry-3.141
Hallo strawberry
Can you pleas tell me whats wrong with my config.js
By now nothing is shown. I wanted to impement the W.Linien modul, but also the weatherforcast was not shown.
Thank you in advance
Kurt/* 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: 'de', timeFormat: 24, units: 'metric', modules: [ { module: "MMM-WienerLinien", position: "top_left", config: { api_key: "NZXDPzyd3QsAtTCT", stations: ["142", "141"], }, { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'Vienna Austria', locationID: '', //ID from http://www.openweathermap.org appid: 'xxxxxxxxxxxxxxxxxxx' } }, { module: 'weatherforecast', position: 'top_right', header: 'Das Wetter', config: { location: 'Vienna Austria', locationID: '5128581', //ID from http://www.openweathermap.org appid: 'xxxxxxxxxxxxxxxxxxx' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "Der Standard", url: "http://derstandard.at/?page=rss&ressort=Seite1" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
Note from admin: Please use Markdown on code snippets for easier reading!
-
You’re missing a } here
{ module: "MMM-WienerLinien", position: "top_left", config: { api_key: "xxxxxxxxxxx", stations: ["142", "141"], },
should be
{ module: "MMM-WienerLinien", position: "top_left", config: { api_key: "xxxxxxxxxxx", stations: ["142", "141"], } },
Could be other issues, but check that out first :)
-
Also, it’s a good idea to remove your personal API codes when sharing your config file(s).
-
Thank you @in_a_days
I copied your answer into the right place, but the screen stays black. -
You’re welcome, did you re-start the mirror program after changing the config file?
-
@in_a_days
Yes with strg R on the raspi -
Hmm. I’ll test your config.js on my system and see if I can isolate the problem.
-
@in_a_days
wow thanks a lot