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

    laschalkh

    @laschalkh

    0
    Reputation
    2
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    laschalkh Unfollow Follow

    Latest posts made by laschalkh

    • RE: trouble with MMM-GoogleTrafficTimes

      it’s working now. Thank you for all of the help!

      Kevin

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      I see it, damn, I’ve stared at that for way too long, rebooting…

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      magicmirror@2.13.0 start /home/pi/MagicMirror
      ./run-start.sh $1 “dev”

      [2020-10-16 11:15:36.565] [LOG] Starting MagicMirror: v2.13.0
      [2020-10-16 11:15:36.775] [LOG] Loading config …
      [2020-10-16 11:15:36.823] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:73
      styledMapType: “transparent”,
      ^^^^^^^^^^^^^

      SyntaxError: Unexpected identifier
      at Module._compile (internal/modules/cjs/loader.js:723:23)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at loadConfig (/home/pi/MagicMirror/js/app.js:70:12)
      at App.start (/home/pi/MagicMirror/js/app.js:217:3)
      at Object. (/home/pi/MagicMirror/serveronly/index.js:4:5)
      [2020-10-16 11:15:36.862] [LOG] Loading module helpers …
      [2020-10-16 11:15:37.496] [LOG] Initializing new module helper …
      [2020-10-16 11:15:37.507] [LOG] Module helper loaded: updatenotification
      [2020-10-16 11:15:37.525] [LOG] No helper found for module: helloworld.
      [2020-10-16 11:15:37.531] [LOG] All module helpers loaded.
      [2020-10-16 11:15:39.089] [LOG] Starting server on port 8080 …
      [2020-10-16 11:15:39.324] [LOG] Server started …
      [2020-10-16 11:15:39.335] [LOG] Connecting socket for: updatenotification
      [2020-10-16 11:15:39.346] [LOG] Sockets connected & modules started …
      [2020-10-16 11:15:39.354] [LOG]

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      yup, not quoted

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      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'
                                              },
                                      ],
                              },
                      },
      
      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      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.

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      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.

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      @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

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

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

      posted in Troubleshooting
      L
      laschalkh
    • RE: trouble with MMM-GoogleTrafficTimes

      @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 $

      posted in Troubleshooting
      L
      laschalkh