Read the statement by Michael Teeuw here.
Black screen after installation on Pi 2 model B V1.1
-
@bhelper I am trying to :-D
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
*/
var config = {
port: 8080,language: 'de', timeFormat: 24, units: 'metric', 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: 'lower_third' }, { module: 'Aktuelles Wetter', position: 'top_right', config: { location: 'Bayreuth,Germany', locationID: '5128581', //ID from http://www.openweathermap.org appid: '158010f0c45e255e6439eb1885b3482b' } }, { module: 'Wettervorhersage', position: 'top_right', header: 'Wettervorhersage', config: { location: 'Bayreuth,Germany', locationID: '5128581', //ID from http://www.openweathermap.org appid: '158010f0c45e255e6439eb1885b3482b' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;} -
At a guess, it looks like you put the header for your module in the module name specification. The
module: [name]
lines must match the name of the module. These names also correspond with folders in the~/MagicMirror/modules
path. The modules that are installed with the MagicMirror code (which I believe you are trying to use) will be in~/MagicMirror/modules/default/[module name]
So try this instead:
{ module: 'currentweather', position: 'top_right', config: { location: 'Bayreuth, Germany', locationID: '5128581', appid: '158010f0c45e255e6439eb1885b3482b' } }, { module: 'weatherforecast', position: 'top_right', header: 'Wettervorhersage', config: { location: 'Bayreuth, Germany', locationID: '5128581', appid: '158010f0c45e255e6439eb1885b3482b' } },
-
@bhepler You are a Genius! Thanks a lot. :-)
Changing the module names was not my best idea, I guess :D
-
Nevertheless the index.html-file shows me just a black screen.
-
@PaulB the html file itself will show only a black screen, the modules get loaded dinamically so there is no point in open the html file in a browser, if you want to open the mirror onto another computer and type in the ip followed by the port specified in the config.js
-
@strawberry-3-141 Ah!Now I get it. Thank you very much for your help. :-)