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
-
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.
-
RE: PI Zero module issues for this beginner
Tried to npm start and it states that i dont have a config.js. went to the desktop and i can navigate to the magicmirror file and open the config sample. not sure why it isnt loading? did a reboot and it is not starting MM.
-
RE: PI Zero module issues for this beginner
Same issue I had with the other download. any suggestion?
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-chromedriver@1.8.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-05T22_31_04_266Z-debug.log -
RE: PI Zero module issues for this beginner
npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-chromedriver@1.8.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-05T21_24_22_985Z-debug.log Unable to install dependencies! -
RE: PI Zero module issues for this beginner
@sdetweil
all was going well until the dependencies stopped it. tired to send the code using </> or :: but it blanks out the submit button? -
RE: PI Zero module issues for this beginner
can you send me the direct script to place in the command line to load your script? I have tried a few bash $( bala bal bal) and im not getting much luck.
I tried to follow this https://forum.magicmirror.builders/topic/9386/installing-on-a-pi-zero/72
but of course it wont start. screen goes to sleep and it only starts for a minute then goes to desktop.
I installed buster with desktop. -
RE: PI Zero module issues for this beginner
@sdetweil thank you for the quick reply. I will try your download tomorrow if I get a chance and hopefully have better luck.
-
PI Zero module issues for this beginner
Hello,
After a year of on and off trying to get a MM to work on a PI I figured it out and even changed the stock modules to work for me. I have to do everything from the command line. I have no desktop. I found a direct load and go at
http://emmanuelcontreras.com/how-to/how-to-create-a-magic-mirror-2-with-pi-zero-w/
I downloaded the image and started it up.Issues:
- I cant figure out how to see what modules I currently have loaded? (what is the command line script?
- I loaded My-Commute followed all of the 3rd party direction. when I went into the config.js I had to manually add the configuration I found on the My-commute page so is that normal to have to enter in configuration to the config.js? when I started up the mirror it showed the default walking, flying, driving with an error at the end. So how to I edit the actual modular configuration information from the command line?
any help would be great. I will attempt to get code for you tomorrow when im not at work.