MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. II12yanII
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    I
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    II12yanII

    @II12yanII

    0
    Reputation
    568
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    II12yanII Unfollow Follow

    Latest posts made by II12yanII

    • RE: trouble with config file

      @bhepler said in trouble with config file:

      Just a suggestion: Try replacing that location id of locationID: '23' with locationID: '2173741'.

      that fixed it for me thanks. i guess using the map to get the ID for my location wasn’t the right ID.
      Thank you everyone for your help my config file is the way i want it and it runs without any errors.

      posted in Troubleshooting
      I
      II12yanII
    • RE: trouble with config file

      @cowboysdude said in trouble with config file:

      @II12yanII said in trouble with config file:

      @nuckinfutz said in trouble with config file:

      If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.

      that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js

      My suggestion would be this…

      Format your card using this [please read the entire thing]->
      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3

      and reinstall raspbian… This one -> RASPBIAN JESSIE WITH PIXEL from: https://www.raspberrypi.org/downloads/raspbian/

      From there open a terminal window and run:
      [Download and install the latest Node.js version]

      curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
      sudo apt-get install -y nodejs

      After that is done then:

      git clone https://github.com/MichMich/MagicMirror.git

      go to the MagicMirror folder and run:
      npm install

      Once that’s completed run:
      npm start

      IF you get any errors post a screen shot as that helps VERY much :)

      Thanks so much that fixed it for me. it now runs without errors. but im back to my original problem of my config file. the weather and news just stay at loading … and never update. here is a copy of my config file. i believe i put in my api key and everything correctly.
      Edit. i got the fox news portion of my config file to work but the weather still doesn’t update at all.

      /* Magic Mirror Config Sample
      *

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

      var config = {
      port: 8080,

      language: 'en',
      timeFormat: 12,
      units: 'imperial',
      
      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: 'Brunswick',
      			locationID: '23',  //ID from http://www.openweathermap.org
      			appid: 'cea6dc928b7d5437e5883dcda250fa8e'
      		}
      	},
      	{
      		module: 'weatherforecast',
      		position: 'top_right',
      		header: 'Weather Forecast',
      		config: {
                  location: 'Brunswick',
      			locationID: '23',  //ID from http://www.openweathermap.org
                  appid: 'cea6dc928b7d5437e5883dcda250fa8e'
      		}
      	},
      	{
      		module: 'newsfeed',
      		position: 'bottom_bar',
      		config: {
      			feeds: [
      				{
      					title: "Fox News",
      					url: "http://www.foxnews.com/about/rss/"
      				}
      			],
      			showSourceTitle: true,
      			showPublishDate: true
      		}
      	},
      ]
      

      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== ‘undefined’) {module.exports = config;}

      posted in Troubleshooting
      I
      II12yanII
    • RE: trouble with config file

      @nuckinfutz said in trouble with config file:

      If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.

      that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js

      posted in Troubleshooting
      I
      II12yanII
    • RE: trouble with config file

      0_1476462126517_2016-10-14-161534_655x390_scrot.png
      so it seems as if my config file isnt whats wrong the electron.js isnt working right. i did the command git pull to update it and it says im using the most current version. is there a command to verify all of the files or no?

      posted in Troubleshooting
      I
      II12yanII
    • RE: trouble with config file

      @nuckinfutz said in trouble with config file:

      Your assumption is correct.

      Did you follow this?

      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

      If so it should work. If doesn’t let me know and I’ll see what I can do.

      P.S. Do not change the name of the config.js.sample Copy it and name the copy config.js

      thanks ill give that guide a look at and see if that will work.

      @KirAsh4 said in trouble with config file:

      Need more information here, including what hardware are you attempting to run it on.

      i have the raspberry pi 3. i installed the latest raspbain jessie with pixel and i download the latest magic mirror version using the command curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash.
      i also made sure that raspbain is up to date by using the update and upgrade commands.

      posted in Troubleshooting
      I
      II12yanII
    • trouble with config file

      sorry if this is a newb question im new to the pi world. i have just installed everything needed for magic mirror to work. i changed the file name of config.js.sample to just config.js and magic mirror just gives a black screen when i run it. i dont know what im doing wrong but shouldnt at least the clock show up with the default config file or no? thanks in advanced for any help

      posted in Troubleshooting
      I
      II12yanII