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.

    Magic Mirror on the Raspberry Pi 1, agonizingly difficult

    Scheduled Pinned Locked Moved Unsolved Tutorials
    magic mirrorraspberry piraspberry pi 1problems running mmserveronly
    33 Posts 8 Posters 26.9k Views 7 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.
    • M Offline
      MMRPi1
      last edited by

      First if all, I’m new to linux and the pi, so please forgive my ignorance.
      Anyway, I’ve been trying to get the magic mirror to work on my old Pi 1 for some time now, but can’t for the life of me figure out how to do it.
      I’ve followed all the instructions that I’ve come across, but still can’t figure it out.
      I understand the Pi 1 is not supported so needs to be run in serveronly mode which I cannot get to work.
      I’ve installed node.js and npm (I think) but can’t get it to work. (To say I have no idea what I’m doing is an understatement.)
      (I did try to comment out the bit of the installer that checks the RPi version and the installer did run [after executing bash raspberry.sh] but said it was unable to install dependencies.)

      Specs:
      Raspberry Pi 1
      node.js - version 5.1.0
      npm - version 3.3.12
      docker - version 1.3.3

      Any help would be greatly appreciated.
      P.S. Sorry for the long post and thank you in advance
      (By the way, I have looked at the other posts regarding the Pi1 but none of the information there helped, I really am clueless)

      1 Reply Last reply Reply Quote 0
      • M Offline
        McSorley
        last edited by

        It may be best to let us know what errors you are getting or problems are you are encountering. Are you able to run servermode or are you not getting that far?

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRPi1
          last edited by

          Thanks for the quick reply.
          I’ve tried to run node serveronly in the terminal, but as far as I understand, I haven’t been able to get it to work.
          Howeve, when I go to http://localhost in Chromium (where I assume the MM would be when it works) it do get a message mentioning ngix and saying the debian web server is up and running, though the serveronly mode doesn’t seem to be working.

          1 Reply Last reply Reply Quote 0
          • M Offline
            McSorley
            last edited by

            It would be http://localhost:8080

            1 Reply Last reply Reply Quote 1
            • M Offline
              MMRPi1
              last edited by

              It says that the site can’t be reached and that localhost refused to connect

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

                @MMRPi1 What kind of messages are shown when you run node serveronly in the shell?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRPi1 @Guest
                  last edited by

                  @Sean
                  0_1498743876877_rpi.jpg

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

                    You need express.js
                    I guess your auto-installation process didn’t work anyhow. You can try manual installation. (And I recommend that.)
                    See this.

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRPi1 @Guest
                      last edited by

                      @Sean I’ve tried following the instructions on that page but it hasn’t worked.
                      How do I install express.js?

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

                        @MMRPi1 hmmm…

                        1. Go to your MagicMirror directory.
                        2. Is there package.json file in your MagicMirror directory? (..../MagicMirror/package.json)
                        3. If there is, open package.json you can see like this.
                        ...
                          "dependencies": {
                            "body-parser": "^1.17.1",
                            "colors": "^1.1.2",
                            "electron": "^1.4.7",
                            "express": "^4.14.0",
                            "express-ipfilter": "latest",
                            "feedme": "latest",
                         ...
                          }
                        }
                        
                        1. Then, you can run npm install in /MagicMirror directory.
                        2. See how it goes.
                        1 Reply Last reply Reply Quote 1
                        • M Offline
                          MMRPi1
                          last edited by

                          I’ve got a progress bar that’s progressing slowly, hopefully it will work, though it ma take a while.
                          Updates to follow…

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

                            @MMRPi1 good luck to you. :D

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              MMRPi1
                              last edited by

                              Alright, it says Magic Mirror installation was successful, but I’m not sure what to do next…

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                MMRPi1
                                last edited by

                                It worked!!
                                Thank you to everyone :-D
                                Now all that’s left is screensaver, autostart and all that…
                                Thanks again!

                                cowboysdudeC 1 Reply Last reply Reply Quote 0
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @MMRPi1
                                  last edited by

                                  @MMRPi1 Thank you for your patience! :) Glad you got it running now some advice…

                                  IF you have a working config before you make ANY changes to it copy it to config.bak that way you’ll always have a GOOD working config file…

                                  Good Luck!

                                  Mykle1M M 2 Replies Last reply Reply Quote 1
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @cowboysdude
                                    last edited by

                                    @cowboysdude said in Magic Mirror on the Raspberry Pi 1, agonizingly difficult:

                                    IF you have a working config before you make ANY changes to it copy it to config.bak that way you’ll always have a GOOD working config file…

                                    This is excellent advice!

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      MMRPi1 @cowboysdude
                                      last edited by

                                      @cowboysdude Thanks.
                                      This is the situation:
                                      The default config file is working (I have it backed up) though when I run it in server only the clock and weather work fine, but all the other modules say “Loading…”.
                                      I did try to customise it, but got the “No config file”, so either I have syntax errors or the sources aren’t right…
                                      Talking of, does anyone know of a list of compatible news feeds and the like?
                                      Thanks again

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

                                        @MMRPi1
                                        Can you show your config.js here? It makes easier.
                                        If you got “no config file” however you have a confidence for config.js existence, you might make some syntax error in your config.js.

                                        you can find newsfeed rss in most news sites.
                                        If some site has links of “RSS”(or small orange squared antenna icon), you can use that url to your newsfeed.
                                        By example, If you want to get news from “The Washington Post”, google “washington post rss”. Then the result pages direct you to WP rss page. get a link what you want, apply that to your news-feed module config.
                                        Most of the RSS could be compatible with that module. Even RSS of personal blogs also.

                                        Some browsers(Firefox, IE7…) support finding RSS on current page. You can see RSS mark in addressbar if current page has valid RSS link.

                                        You can check the reference. (I doubt there are some missing links.)
                                        https://www.repeatserver.com/RSSFeedList.aspx
                                        http://www.uen.org/feeds/lists.shtml

                                        1 Reply Last reply Reply Quote 1
                                        • M Offline
                                          MMRPi1
                                          last edited by

                                          Good news!
                                          The config file is (mostly) working (it needed a reboot) and I’ll configure it until I’m satisfied at which point I need to figure out how to keep it fullscreen, disable screen timeout and do the autostart and all that…
                                          In the meantime, thanks to everyone for their help :-D

                                          cowboysdudeC 1 Reply Last reply Reply Quote 1
                                          • cowboysdudeC Offline
                                            cowboysdude Module Developer @MMRPi1
                                            last edited by

                                            @MMRPi1 said in Magic Mirror on the Raspberry Pi 1, agonizingly difficult:

                                            Good news!
                                            The config file is (mostly) working (it needed a reboot) and I’ll configure it until I’m satisfied at which point I need to figure out how to keep it fullscreen, disable screen timeout and do the autostart and all that…
                                            In the meantime, thanks to everyone for their help :-D

                                            You’re very welcome. :) Enjoy!

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 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