MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Black Screen on Localhost...

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 6 Posters 12.3k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Leotrap
      last edited by

      Here it a copy paste because the Forum says that I have no such permission to upload this…

      /* Magic Mirror Config Sample
      *

      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      var config = {
      port: 8080,

      language: 'en',
      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: 'currentweather',
      		position: 'top_right',
      		config: {
      			location: 'New York',
      			locationID: '',  //ID from http://www.openweathermap.org
      			appid: 'YOUR_OPENWEATHER_API_KEY'
      		}
      	},
      	{
      		module: 'weatherforecast',
      		position: 'top_right',
      		header: 'Weather Forecast',
      		config: {
                  location: 'New York',
      			locationID: '5128581',  //ID from http://www.openweathermap.org
                  appid: 'YOUR_OPENWEATHER_API_KEY'
      		}
      	},
      	{
      		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;}

      1 Reply Last reply Reply Quote 0
      • L Offline
        Leotrap
        last edited by

        Please Help… in this… I’ll start to cry… lol!

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Leotrap
          last edited by A Former User

          @Leotrap

          I kept getting a blank screen too. Basically I commented out all of the modules and uncommented them back one by one. In the end, the calendar and newsfeed modules are not working and that’s what is giving me the black screen. I had to remove the following from the config file:

          {
          module: ‘calendar’,
          header: ‘US Holidays’,
          position: ‘top_left’,
          config: {
          calendars: [
          {
          symbol: 'calendar-check-o ',
          url: ‘webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics’
          }
          ]
          }
          },

          and

          {
          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
          }
          },

          1 Reply Last reply Reply Quote 0
          • C Offline
            chrisyy
            last edited by

            Whenever i get an error when im trying sth i open the mirror-page in Firefox or chrome and open the console with a right click and the last item (examine or sth like this). Maybe this will hell you to know where sth could be wrong.

            1 Reply Last reply Reply Quote 0
            • L Offline
              Leotrap
              last edited by

              @chrisyy and @memjr thanks for the responses… I have tried this and seems to not work… very strange I think that I should buy the raspberry to do this…seems to have problems in PC at least I never could see anything else that a black screen… what a pity…really

              1 Reply Last reply Reply Quote 0
              • C Offline
                chrisyy
                last edited by

                Can u enable port forwarding (8080) to ur Pi/PC for the MagicMirror and PM me an IP?
                Maybe I can take a look with the console. When there’s an error, maybe we can find out more.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Leotrap
                  last edited by

                  Thanks @chrisyy i’ll try… .that could work. Thanks!.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy