• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

3 tries 3 fails Raspberry b+

Scheduled Pinned Locked Moved Show your Mirror
28 Posts 7 Posters 22.7k 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.
  • I Offline
    infamoustiggr @Alvinger
    last edited by Mar 2, 2017, 12:58 PM

    I would go for the pi3 option, but it goes against my eco principles! Spare computer must have a job somewhere!

    Thanks, I’ll try one line at a time and see how things go! Just out of interest though, how much fiddling did it take you? And how did you know the nodes hadn’t downloaded properly?

    A 1 Reply Last reply Mar 2, 2017, 2:13 PM Reply Quote 0
    • A Offline
      Alvinger @infamoustiggr
      last edited by Alvinger Mar 2, 2017, 2:15 PM Mar 2, 2017, 2:13 PM

      @infamoustiggr
      I didn’t fiddle that much with the mirror pi. But ahead of that I’ve been doing quite some fiddling with Pis in general so I didn’t start from scratch.

      To help you with troubleshooting:

      After installing DietPi and rebooting you are presented with the dietpi-software screen:
      0_1488462696670_upload-e5c282b6-f86e-4f85-9db8-c09d2112e649

      Look under “Software Optimized” and “Software Additional” and make sure that NONE of the options are selected, you want an install that is as clean as possible.

      Under DietPi-Config make sure that Autostart is set to option 0 (default):
      0_1488462810956_upload-7d9332c2-e5a0-4048-9a38-cd6b58a09246

      Change directory to /root and install MagicMirror according to instructions in the README.

      Following my instructions above to install all systemd scripts and their helpers. My /root contains the following:
      0_1488463243912_upload-a81285c4-984c-490f-9115-d51ae96b7284

      Stop magicmirror service (just to make sure it isn’t running) with the command:

      systemctl stop magicmirror.service
      

      Start the magicmirror interactively by running node serveronly from the MagicMirror directory. You should see something similar to this:

      root@mirrortest:~/MagicMirror# node serveronly
      Starting MagicMirror: v2.1.1
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      Initializing new module helper ...
      Module helper loaded: MMM-WunderGround
      Initializing new module helper ...
      Module helper loaded: newsfeed
      Initializing new module helper ...
      Module helper loaded: MMM-ResRobot
      Initializing new module helper ...
      Module helper loaded: MMM-NetworkScanner
      All module helpers loaded.
      Starting server op port 80 ... 
      Server started ...
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: MMM-WunderGround
      MMM-WunderGround helper started ...
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-ResRobot
      Starting node_helper for module: MMM-ResRobot
      Connecting socket for: MMM-NetworkScanner
      Starting module: MMM-NetworkScanner
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:80
      

      If any errors are shown, investigate them.

      Now that MagicMirror is running it’s time to move on to the browser part.
      Stop MagicMirror with ctrl+C and start the service with systemctl start magicmirror.service.

      Make sure browser and matchbox are stopped by running the commands:

      systemctl stop kioskbrowser.service
      systemctl stop matchbox.service
      

      Start matchbox with the command systemctl start matchbox.service. Check that it started ok with systemctl status matchbox.service. If not investigate.

      Once you get this far the “only” thing left to check is the midori browser. As you don’t have an X Display on the console it is slightly trickier. Let me know if/when you made it this far and we’ll take it from there.

      1 Reply Last reply Reply Quote 1
      • I Offline
        infamoustiggr
        last edited by Mar 27, 2017, 1:44 PM

        Ah… Found it thanks to the checking…

        Node.js:339
        Throw err;
        ^

        Error: Cannot find module ‘wtf-8’

        Then a long list of different places that I’m guessing it’s where it’s missing…

        I’ll have a blast at this for a bit. If it continues to fail so absolutely, maybe I’ll have to restart my bluetooth lawnmower project…

        A 1 Reply Last reply Mar 29, 2017, 9:27 PM Reply Quote 0
        • A Offline
          Alvinger @infamoustiggr
          last edited by Mar 29, 2017, 9:27 PM

          @infamoustiggr
          Try installing wtf-8 module by running the command npm install wtf-8 from the MagicMirror directory.

          1 Reply Last reply Reply Quote 0
          • D Offline
            Doublefire.Chen @infamoustiggr
            last edited by Nov 23, 2022, 1:53 PM

            @infamoustiggr Hello, may I ask you that did you make it? I also want to install MM on B+. Now the new board is so expensive that I just want to use my old B+ to do this awesome project.

            S 1 Reply Last reply Nov 23, 2022, 1:56 PM Reply Quote 0
            • S Away
              sdetweil @Doublefire.Chen
              last edited by Nov 23, 2022, 1:56 PM

              @Doublefire-Chen last update was 5 years ago… so, unlikely to be helpful.

              try my script. it’s probably the only hope. arm6l aren’t supported much anymore

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Nov 23, 2022, 2:02 PM Reply Quote 0
              • D Offline
                Doublefire.Chen @sdetweil
                last edited by Nov 23, 2022, 2:02 PM

                @sdetweil I have a idea. I have a linux server. I can use docker to install MM on my server and B+ open the browser with full screen to display info after I set port forwaring.

                S 1 Reply Last reply Nov 23, 2022, 3:03 PM Reply Quote 0
                • S Away
                  sdetweil @Doublefire.Chen
                  last edited by sdetweil Nov 23, 2022, 9:24 PM Nov 23, 2022, 3:03 PM

                  @Doublefire-Chen that works too. but don’t need port forwarding…

                  if u look in my run-start.sh script, u will see the parms I use to launch chromium to look like electron full screen.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Nov 24, 2022, 5:57 AM Reply Quote 0
                  • D Offline
                    Doublefire.Chen @sdetweil
                    last edited by Nov 24, 2022, 5:57 AM

                    @sdetweil Yes, you are right. The port forwarding is not needed.

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 3 / 3
                    • 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