Read the statement by Michael Teeuw here.
Black screen after starting
-
Here is my config
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "192.168.1.154", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "192.168.1.0/24", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "de", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, /*{ module: "compliments", position: "lower_third" },*/ { module: 'MMM-SystemStats', position: 'top_right', // This can be any of the regions. classes: 'small dimmed', // Add your own styling. Optional. config: { updateInterval: 10000, animationSpeed: 0, align: 'right', // align labels //header: 'System Stats', // This is optional }, }, { module: 'MMM-MyCommute', position: 'top_left', header: 'Verkehrssituation', config: { apikey: 'API', origin: 'Dingerten 21, 4624 Härkingen', startTime: '00:00', endTime: '23:59', travelTimeFormat: 'h[h]:m[min]', colorCodeTravelTime: true, showSummary: true, hideDays: [0,6], destinations: [ { destination: 'Südstrasse 5, 8952 Schlieren', label: 'Adriano Arbeit', mode: 'driving', color: '#82E5AA', startTime: '05:00', endTime: '08:00', alternatives: true, waypoints: 'via:Bernerstrasse Süd, 8048 Zürich' }, { destination: 'Zugerstrasse 13, 6030 Ebikon', label: 'Ebikon', startTime: '05:00', endTime: '08:00', alternatives: 'ture' }, ] } }, { module: "newsfeed", position: "bottom_center", config: { feeds: [ { title: "20min Sport", url: "https://api.20min.ch/rss/view/67", } ], showSourceTitle: true, showPublishDate: true } }, { module: "newsfeed", position: "bottom_center", config: { feeds: [ { title: "20min Front", url: "https://api.20min.ch/rss/view/1", } ], showSourceTitle: true, showPublishDate: true } }, { module: 'MMM-GoogleMapsTraffic', position: 'bottom_center', config: { key: 'API', lat: 47.3855987, lng: 8.1395006, height: '450px', width: '1000px', zoom: 10, } }, { module: 'MMM-PIR-Sensor', config: { powerSavingDelay: 5, powerSaving: true, sensorPin: 22,/* powerSavingMessage: "Monitor will be turn Off by PIR module", sensorState: 1, alwaysOffState: 1, powerSaving: true, powerSavingNotification: false, */ } }, /*{ module: 'MMM-ImageSlideshow', position: 'middle_center', config: { imagePaths: ['modules/MMM-ImageSlideshow/exampleImages'], fixedImageWidth: '500', fixedImageHeight: '350', slideshowSpeed: '25000', randomizeImageOrder: true, } },*/ { module: 'MMM-SoccerLiveScore', position: 'top_right', header: 'Fussball Rangliste', config: { leagues: [215,399,1], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: true } }, { module: "MMM-MyCalendar", position: "top_left", // This can be any of the regions. Best results in left or right regions. header: 'Kalender Adri', config: { colored: true, maxTitleLength: 30, maximumEntries: 5, timeFormat: "HH:mm", dateFormat: "DD:MM:YYYY", joiningWord: "um", calendars: [ { url: 'ics', color: "#ff5070", symbol: 'calendar', auth: { user: 'username', pass: 'superstrongpassword', method: 'basic' } }, ], } }, { module: 'email', position: 'top_left', header: 'Email', config: { accounts: [ { user: 'user', password: 'pw', host: 'imap.gmail.com', port: 993, tls: true, authTimeout: 50000, numberOfEmails: 2, } ], fade: true, maxCharacters: 30 } }, /*{ module: 'MMM-forecast-io', position: 'top_left', // This can be any of the regions. config: { // See 'Configuration options' for more information. apiKey: 'API', // Dark Sky API key. // Only required if geolocation doesn't work: latitude: 47.3097176, longitude: 7.8106514 } },*/ ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
aaaaaaaaaaaaaa I found it, thanks to your note.
My router has given the PI a new IP, now I have changed the new IP in the config and behold, he works again !!!
Thank you so much @sdetweil
-
@cyrus1337 better to use 0.0.0.0, which means any …
Then it won’t fail again if the address changes
-
But do not I have to enter the IP to run the Remte Module or the MMM NetworkScanner?
I still have another problem :) I do not know if I would like to open a new topic or if I can place it here.
It’s about the module email-mirror, it always shows only “load”, I don’t know what I’m doing wrong
-
@cyrus1337 said in Black screen after starting:
But do not I have to enter the IP to run the Remte Module or the MMM NetworkScanner?
The “listening” address in the config does not affect the behaviour of the other modules. It does not determine the IP of your mirror!
The other modules get the mirror’s IP from somewhere else, don’t worry.
The address e’re talking about here is there to determine on which network device to listen (if I understand correctly!).
0.0.0.0 specifies “use them all”
You won’t do any harm using that. -
Ok thank you. Then I will use 0.0.0.0
Thanks again for your help !!! That’s really great