Im starting to believe it is a google api issue. I have tried to restrict it but at this point i am lost. I also tried to install MMM-Traffic with no success either.
Read the statement by Michael Teeuw here.
Posts made by wagon40
-
RE: My-Commute error
-
RE: My-Commute error
Hello again sdetweil ! So it shows up on the mirror bottom as it should but where it should show the time it shows “error” in red. does show updates in the middle every 10mins or so.
Im just looking for it to work. Show me route times and change colors when there will be a delay.
-
My-Commute error
Hello, I posted this in the My-commute multi page post but no reply after a few days.
I have the module downloaded and the dependencies. I attempted to take out the second work address with no changes. I cannot find anything wrong with my code and my google account shows that it is counting every request. not sure where the issue is. Any help would be great.
{ module: "MMM-MyCommute", position: "bottom_bar", config: { apikey: 'google api key', origin: ' Rd, city, state zip', startTime: '00:00', endTime: '23:59', destinations: [ { destination: ' Ave, city, state zip', label: ' Work1', mode: 'driving', color: '#82E5AA' }, { destination: ' Ave, city, state zip', label: ' Work2', mode: 'driving', color: '#82E5AA' }, ] } },
-
RE: MMM-MyCommute
@wagon40
I checked the apikey and Google is showing a count of apikey request. So that leads me to believe that it is a MM issue or module issue. Any help would be be great. -
RE: PI Zero module issues for this beginner
@sdetweil said in PI Zero module issues for this beginner:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”
looks like it worked! working on a my-commute issue at this time.
-
RE: PI Zero module issues for this beginner
was able to get it to work. only issues is screensaver continues to active.
tried this with no lucksudo nano /etc/xdg/lxsession/LXDE/autostart
add the following lines:
@xset s noblank
@xset s off
@xset -dpms
Save and close, using the commands CTRL-O and CTRL-X.Go to lightdm.conf:
sudo nano /etc/lightdm/lightdm.conf
add the following lines:
xserver-command=X -s 0 -dpms
-
RE: MMM-MyCommute
everything else is working time, personnel calendar and weather. my commute shows error in red on the side. does show that it is continuing to update. any suggestion?
{ module: "MMM-MyCommute", position: "bottom_bar", config: { apikey: 'google api key', origin: ' Rd, city, state zip', startTime: '00:00', endTime: '23:59', destinations: [ { destination: ' Ave, city, state zip', label: ' Work1', mode: 'driving', color: '#82E5AA' }, { destination: ' Ave, city, state zip', label: ' Work2', mode: 'driving', color: '#82E5AA' }, ] } },
-
RE: PI Zero module issues for this beginner
I appreciate your help and putting up with a noob
pi@raspberrypi:~/MagicMirror/config $ npm run config:check > magicmirror@2.10.1 config:check /home/pi/MagicMirror > node tests/configs/check_config.js Checking file... /home/pi/MagicMirror/config/config.js Your configuration file doesn't contain syntax errors :)
-
RE: PI Zero module issues for this beginner
I ran this command and got that
npm run config:check
npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-06T00_34_33_299Z-debug.log
-
RE: PI Zero module issues for this beginner
nothing for install.log. tried a few different ways. I was able to make a copy but just a black screen on npm start up. not sure what to do.