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.2k 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.
    • 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
              • L Offline
                laschalkh
                last edited by

                Hi Sam,

                ok, got it all running and it is working. Your script works very well. I tried adding MMM-GoogleMapsTraffic as well and that seems to kill the mirror. It says it can’t find the config file. As long as I leave that out, it’s working.

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

                  @laschalkh u might want my version of Googlemapstraffic, as the original is broken

                  https://github.com/sdetweil/MMM-GoogleMapsTraffic

                  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

                    yea, that’s the one I’m trying. I just tried that module only and it’s not working. I ran the install again and it is warning about grunt styles not being installed. Seems like it’s missing parts.

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

                      @laschalkh thats noise

                      you did the git clone
                      cd
                      and then npm install

                      right?

                      so, whats your config section look like… no one has had trouble installing it, it was a run problem I fixed…

                      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 sdetweil

                        yup, went through and did the install and such

                         {
                                                module: 'MMM-GoogleMapsTraffic',
                                                position: 'bottom_left',
                                                config: {
                                                        key: '< my key>',
                                                        lat: < my lat>,
                                                        lng: < my long>,
                                                        height: '300px',
                                                        width: '300px'
                                                        styledMapType: "transparent",
                                                        disableDefaultUI: true,
                                                        backgroundColor: 'hsla(0, 0%, 0%, 0)',
                                                        markers: [
                                                                {
                                                                        lat: <my lat>,
                                                                        lng: <my long>,
                                                                        fillColor: '#9966ff'
                                                                },
                                                        ],
                                                },
                                        },
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 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