Read the statement by Michael Teeuw here.
Blank black screen | Noob
-
Hi MichMich,
Thank you for continuing to work with me on this matter. Here is the config file:/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: "nl", timeFormat: 24, units: "metric", modules: [{ module: "alert" }, { module: "wuforecast", position: "top_right", // This can be any of the regions. // Best results in left or right regions. config: { // See ‘Configuration options’ for more information. location: "Cleveland", appid: "5095830b868b90bcc31affdad4911325" //wunderground.com API key. } }, { 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: "currentweather", position: "top_right", config: { location: "Cleveland", locationID: "4614088", //ID from bulk.openweather.org/sample/ appid: "5095830b868b90bcc31affdad4911325" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Cleveland", locationID: "4614088", //ID from bulk.openweather.org/sample/ appid: "5095830b868b90bcc31affdad4911325" } }, { 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; }
-
@dejayou: could you try your magic mirror without the
wuforecast
module? -
That did it! Amazing thank you!
-
Hello @MichMich and everyone!
First of all big thanks for this really cool project, my bathroom mirror is progressing well ;-)
Unfortunately I cannot confirm that this issue here is solved.
After succeeding to set up a Pi 1 with the serveronly feature, I ordered a Pi 3, did almost the same but maybe not thoroughly, thought I messed up, and started over from scratch:
I ran the automatic installer and left the config.js.sample as it was (this was the lucky move!). I started the mirror with DISPLAY=:0 npm start. The interface shows up and gives the message: please create a config.js file.
But when I do mv config.js.sample config.js and restart the mirror, I get a black screen. When I now set the language to ‘’, it works as supposed.
So maybe also one of the default modules messes up (like the “wuforecast”)?
Anyhow may I suggest to just set the language field blank in the config.js.sample, so that others don’t stumble upon this?Thank you and Cheers, Patrick
PS:
Pi 3 Model B v1.2
$uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/LinuxThe only commands I ever executed after reinstall were:
sudo su
sudo apt-get update && apt-get dist-upgrade -y
sudo apt-get install -y x11-xserver-utils unclutter matchbox vim
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
cd MagicMirror/
DISPLAY=:0 npm start -
@spazehorst could you try it with The sample config? Especially no 3rd party modules.
-
@MichMich well, as I wrote above, I just renamed the sample config which is currently checkd in, never even opened it ;-) That’s why I said it must be one of those default modules…
(I am sitting on this commit: 5d9d71dee8c300fede321dbafb5ff7aa79f1ea30)
Cheers -
@spazehorst Please try The develop branch with The latest commit.
-
@MichMich Hi, sorry for the late reply, I could now quickly test it and with the sample config of the devel branch (commit e2ed0f5e55c132633bcbd5c7c64159c0aaced571) it works.
edit: after pulling the master again, it now also works there with language: ‘en’
Cheers
-
It works with the master branch because the update was also pushed to that a few days ago. So you’ll all good. :)
-
Hello!
I was wondering if any of you could help me.
I’m basically having the exact same issue as this topic, except the “nl to en” fix isn’t working for me. I’m running the MM with it’s basic config file.
Runs fine on serveronly, but get a black screen on npm start.I’ve updated everything from my pi to my os to my node modules, but nothing seems to be working. There also don’t seem to be any errors.