Read the statement by Michael Teeuw here.
trouble with MMM-GoogleTrafficTimes
-
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 $ -
@laschalkh said in trouble with MMM-GoogleTrafficTimes:
pi@raspberrypi:~/MagicMirror $
pgrep Xorg
which chromium-browserare 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
-
ok, I’ll try it, but I may need to grab another pi. Not sure the zero can handle the full version
-
@laschalkh it will work, depends on what u want to do… i have one running all day every day, default modules
-
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
-
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.
-
@laschalkh u might want my version of Googlemapstraffic, as the original is broken
-
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.
-
@laschalkh thats noise
you did the git clone
cd
and then npm installright?
so, whats your config section look like… no one has had trouble installing it, it was a run problem I fixed…
-
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' }, ], }, },