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.

    trouble with MMM-GoogleTrafficTimes

    Scheduled Pinned Locked Moved Troubleshooting
    traffic
    39 Posts 3 Posters 8.5k Views 3 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.
    • S Offline
      sdetweil @laschalkh
      last edited by

      @laschalkh the entire, rename it

      the problem is there is no electron browser for armv6l (pi0/1) devices anymore, so you have to run split mode, server with chromium over the top

      the script does all the work, so it looks like normal

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        Hi Sam,

        I went through and rebuilt my pi and then ran your install script. It says it’s installed and when I do a pm status I see the MagicMirror is online. I don’t see the mirror tho. Is there something else I need to do for that to come up on boot?

        Thanks,
        Kevin

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @laschalkh
          last edited by sdetweil

          @laschalkh pm2 logs – lines=100

          in the status it shows how many times its been restarted

          ┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
          │ id  │ name            │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
          ├─────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
          │ 1   │ MagicMirror     │ default     │ 2.13.0… │ fork    │ N/A      │ 0      │ 1    │ stopped   │ 0%       │ 0b       │ sam      │ disabled │
          └─────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
          
          

          that field next to uptime with the circle and arrow

          pm2 stop 0 to stop it while u debug

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            it looks ok, not complaining. Am I just missing the front end?

            /home/pi/.pm2/logs/MagicMirror-out.log last 100 lines:
            0|MagicMir |
            0|MagicMir | > magicmirror@2.13.0 start /home/pi/MagicMirror
            0|MagicMir | > ./run-start.sh $1
            0|MagicMir |
            0|MagicMir | [2020-10-15 17:13:43.975] [LOG] Starting MagicMirror: v2.13.0
            0|MagicMir | [2020-10-15 17:13:44.068] [LOG] Loading config …
            0|MagicMir | [2020-10-15 17:13:44.123] [LOG] Loading module helpers …
            0|MagicMir | [2020-10-15 17:13:44.147] [LOG] No helper found for module: alert.
            0|MagicMir | [2020-10-15 17:13:44.569] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:13:44.578] [LOG] Module helper loaded: updatenotification
            0|MagicMir | [2020-10-15 17:13:44.590] [LOG] No helper found for module: clock.
            0|MagicMir | [2020-10-15 17:13:48.255] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:13:48.263] [LOG] Module helper loaded: calendar
            0|MagicMir | [2020-10-15 17:13:48.267] [LOG] No helper found for module: compliments.
            0|MagicMir | [2020-10-15 17:13:48.270] [LOG] No helper found for module: currentweather.
            0|MagicMir | [2020-10-15 17:13:48.283] [LOG] No helper found for module: weatherforecast.
            0|MagicMir | [2020-10-15 17:13:48.482] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:13:48.490] [LOG] Module helper loaded: newsfeed
            0|MagicMir | [2020-10-15 17:13:48.501] [LOG] All module helpers loaded.
            0|MagicMir | [2020-10-15 17:13:49.375] [LOG] Starting server on port 8080 …
            0|MagicMir | [2020-10-15 17:13:49.542] [LOG] Server started …
            0|MagicMir | [2020-10-15 17:13:49.563] [LOG] Connecting socket for: updatenotification
            0|MagicMir | [2020-10-15 17:13:49.569] [LOG] Connecting socket for: calendar
            0|MagicMir | [2020-10-15 17:13:49.593] [LOG] Starting node helper for: calendar
            0|MagicMir | [2020-10-15 17:13:49.601] [LOG] Connecting socket for: newsfeed
            0|MagicMir | [2020-10-15 17:13:49.615] [LOG] Starting node helper for: newsfeed
            0|MagicMir | [2020-10-15 17:13:49.617] [LOG] Sockets connected & modules started …
            0|MagicMir | [2020-10-15 17:13:49.621] [LOG]
            0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
            0|MagicMir | [2020-10-15 17:14:28.183] [LOG] [SIGINT] Received. Shutting down server…
            0|MagicMir | [2020-10-15 17:14:28.210] [LOG] Stopping module helper: updatenotification
            0|MagicMir | [2020-10-15 17:14:28.218] [LOG] Stopping module helper: calendar
            0|MagicMir | [2020-10-15 17:14:28.221] [LOG] Stopping module helper: newsfeed
            0|MagicMir |
            0|MagicMir | > magicmirror@2.13.0 start /home/pi/MagicMirror
            0|MagicMir | > ./run-start.sh $1
            0|MagicMir |
            0|MagicMir | [2020-10-15 17:14:40.950] [LOG] Starting MagicMirror: v2.13.0
            0|MagicMir | [2020-10-15 17:14:41.041] [LOG] Loading config …
            0|MagicMir | [2020-10-15 17:14:41.092] [LOG] Loading module helpers …
            0|MagicMir | [2020-10-15 17:14:41.115] [LOG] No helper found for module: alert.
            0|MagicMir | [2020-10-15 17:14:41.477] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:14:41.485] [LOG] Module helper loaded: updatenotification
            0|MagicMir | [2020-10-15 17:14:41.489] [LOG] No helper found for module: clock.
            0|MagicMir | [2020-10-15 17:14:45.097] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:14:45.104] [LOG] Module helper loaded: calendar
            0|MagicMir | [2020-10-15 17:14:45.107] [LOG] No helper found for module: compliments.
            0|MagicMir | [2020-10-15 17:14:45.110] [LOG] No helper found for module: currentweather.
            0|MagicMir | [2020-10-15 17:14:45.123] [LOG] No helper found for module: weatherforecast.
            0|MagicMir | [2020-10-15 17:14:45.302] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:14:45.309] [LOG] Module helper loaded: newsfeed
            0|MagicMir | [2020-10-15 17:14:45.311] [LOG] All module helpers loaded.
            0|MagicMir | [2020-10-15 17:14:46.068] [LOG] Starting server on port 8080 …
            0|MagicMir | [2020-10-15 17:14:46.244] [LOG] Server started …
            0|MagicMir | [2020-10-15 17:14:46.273] [LOG] Connecting socket for: updatenotification
            0|MagicMir | [2020-10-15 17:14:46.292] [LOG] Connecting socket for: calendar
            0|MagicMir | [2020-10-15 17:14:46.295] [LOG] Starting node helper for: calendar
            0|MagicMir | [2020-10-15 17:14:46.299] [LOG] Connecting socket for: newsfeed
            0|MagicMir | [2020-10-15 17:14:46.323] [LOG] Starting node helper for: newsfeed
            0|MagicMir | [2020-10-15 17:14:46.330] [LOG] Sockets connected & modules started …
            0|MagicMir | [2020-10-15 17:14:46.343] [LOG]
            0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
            0|MagicMir |
            0|MagicMir | > magicmirror@2.13.0 start /home/pi/MagicMirror
            0|MagicMir | > ./run-start.sh $1
            0|MagicMir |
            0|MagicMir | [2020-10-15 17:17:29.023] [LOG] Starting MagicMirror: v2.13.0
            0|MagicMir | [2020-10-15 17:17:29.117] [LOG] Loading config …
            0|MagicMir | [2020-10-15 17:17:29.195] [LOG] Loading module helpers …
            0|MagicMir | [2020-10-15 17:17:29.218] [LOG] No helper found for module: alert.
            0|MagicMir | [2020-10-15 17:17:29.614] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:17:29.623] [LOG] Module helper loaded: updatenotification
            0|MagicMir | [2020-10-15 17:17:29.635] [LOG] No helper found for module: clock.
            0|MagicMir | [2020-10-15 17:17:33.776] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:17:33.784] [LOG] Module helper loaded: calendar
            0|MagicMir | [2020-10-15 17:17:33.787] [LOG] No helper found for module: compliments.
            0|MagicMir | [2020-10-15 17:17:33.799] [LOG] No helper found for module: currentweather.
            0|MagicMir | [2020-10-15 17:17:33.802] [LOG] No helper found for module: weatherforecast.
            0|MagicMir | [2020-10-15 17:17:34.029] [LOG] Initializing new module helper …
            0|MagicMir | [2020-10-15 17:17:34.037] [LOG] Module helper loaded: newsfeed
            0|MagicMir | [2020-10-15 17:17:34.039] [LOG] All module helpers loaded.
            0|MagicMir | [2020-10-15 17:17:34.984] [LOG] Starting server on port 8080 …
            0|MagicMir | [2020-10-15 17:17:35.147] [LOG] Server started …
            0|MagicMir | [2020-10-15 17:17:35.176] [LOG] Connecting socket for: updatenotification
            0|MagicMir | [2020-10-15 17:17:35.200] [LOG] Connecting socket for: calendar
            0|MagicMir | [2020-10-15 17:17:35.203] [LOG] Starting node helper for: calendar
            0|MagicMir | [2020-10-15 17:17:35.207] [LOG] Connecting socket for: newsfeed
            0|MagicMir | [2020-10-15 17:17:35.235] [LOG] Starting node helper for: newsfeed
            0|MagicMir | [2020-10-15 17:17:35.246] [LOG] Sockets connected & modules started …
            0|MagicMir | [2020-10-15 17:17:35.249] [LOG]
            0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
            0|MagicMir | [2020-10-15 17:26:21.269] [LOG] [SIGINT] Received. Shutting down server…
            0|MagicMir | [2020-10-15 17:26:21.297] [LOG] Stopping module helper: updatenotification
            0|MagicMir | [2020-10-15 17:26:21.309] [LOG] Stopping module helper: calendar
            0|MagicMir | [2020-10-15 17:26:21.311] [LOG] Stopping module helper: newsfeed

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @laschalkh
              last edited by sdetweil

              @laschalkh ok do

              cd ~/MagicMirror
              ls -laF run-start.sh
              uname -a
              pgrep Xorg
              which chromium-browser
              

              sorry, for adding late

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                laschalkh @sdetweil
                last edited by

                @sdetweil

                np, I appreciate all the help. Here are the results:

                pi@raspberrypi:~ $ cd MagicMirror/
                pi@raspberrypi:~/MagicMirror $ ls -laF run-start.sh
                -rwxr-xr-x 1 pi pi 2980 Oct 15 16:56 run-start.sh*
                pi@raspberrypi:~/MagicMirror $ uname -a
                Linux raspberrypi 5.4.51+ #1333 Mon Aug 10 16:38:02 BST 2020 armv6l GNU/Linux
                pi@raspberrypi:~/MagicMirror $ pgrep Xorg
                pi@raspberrypi:~/MagicMirror $ which chromium-browser
                pi@raspberrypi:~/MagicMirror $

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @laschalkh
                  last edited by

                  @laschalkh said in trouble with MMM-GoogleTrafficTimes:

                  pi@raspberrypi:~/MagicMirror $

                  pgrep Xorg
                  which chromium-browser

                  are both empty

                  which means you don’t have the graphical desktop running., looks like you are in cli mode

                  u MUST have the desktop to run MM…, browser requires graphics.

                  reflash the sd card with the full desktop image of buster
                  top left here
                  https://www.raspberrypi.org/downloads/raspberry-pi-os/

                  Raspberry Pi OS (32-bit) with desktop and recommended software
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    ok, I’ll try it, but I may need to grab another pi. Not sure the zero can handle the full version

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @laschalkh
                      last edited by

                      @laschalkh it will work, depends on what u want to do… i have one running all day every day, default modules

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        laschalkh @sdetweil
                        last edited by

                        @sdetweil

                        cool, I just want a couple modules so hopefully won’t b a problem. It’s flashing now so I’ll reach out after it’s running and installed

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