Read the statement by Michael Teeuw here.
Starter problem
-
@kurt my bachelor thesis is about a mobile app to configure the mirror
cause you are from vienna, you might want to checkout my transport module for vienna https://github.com/fewieden/MMM-WienerLinien
-
@kurt no it doesn’t matter how many compliments you put in. And good to hear that you feel comfortable :) and you’re welcome!
-
@strawberry-3-141 Hey I allready visit it today! while drifting thru the forum. suprise! I lived in Barawitzkagasse for quite a long time. funny small world, isn’it?
Is the modul allready finished or are still in it? -
@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 -
Did you run
npm installin the MMM-WienerLinien folder? -
@yawns
no ! how can I do this? -
-
@in_a_days
the installation went well, but when I try to reboot the booting logo appears shortly, but thats it.
But into the MM folder there are two config folder now, one.configand oneconfig
Either I didn’t recogbize that bevor, or one is new. -
Just wanted to check in. I tried to copy the config.js you posted and I had some problems as well. I’m a bit busy today, but I have some ideas and if you’re still stuck I’ll try to have a solution for you tomorrow. :)
-
Hallo
Has somebody an idea to help?
The internet connection is fine, cause the rss from the Ney York Times is shown.
Thank you in advance
kurt> magicmirror@2.1.0 start /home/pi/MagicMirror > electron js/electron.js Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... No helper found for module: clock. Initializing new module helper ... No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Whoops! There was an uncaught exception... { Error: listen EADDRINUSE :::8080 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at Server._listen2 (net.js:1253:14) at listen (net.js:1289:10) at net.js:1399:9 at _combinedTickCallback (internal/process/next_tick.js:77:11) at process._tickCallback (internal/process/next_tick.js:98:9) at Module.runMain (module.js:592:11) at run (bootstrap_node.js:402:7) at startup (bootstrap_node.js:157:9) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.
Note from admin: Please use Markdown on code snippets for easier reading!
-
@kurt this means probably that there is already an instance of magicmirror running on your pi because the port is already used
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