@Wenike Perfect fix! Well it does what it needs to anyway. haha
Skol!
@Wenike Perfect fix! Well it does what it needs to anyway. haha
Skol!
Nice set up here, tried out the code and worked the first time. My only issue is I am only getting 3 days showing in the forecast. I tried adding “maxNumberOfDays: 5,” but nothing happened… Any idea what it could be?
{
module: "currentweather",
position: "top_right",
config: {
onlyTemp:true,
maxNumberOfDays: 5,
location: "Swissvale",
locationID: "5215064", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "appid"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
maxNumberOfDays: 5,
location: "Swissvale",
locationID: "5215064", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "appid"
}
},
Still new here, so let me know if you need me to provide any thing else.
Skol
Installed and worked after I rebooted and came back to it the next day. :man_shrugging:
Works quite well aside from after a handful of songs it sort of stalls/freezes on an arbitrary song and if i let it sit for a while or play something outside my network it doesn’t load anything unless I force a reboot of the MM interface(NOT the whole pi).
Anyone else experience the same above and have a fix? (looked through posts and did not see anything)
@Wenike Perfect fix! Well it does what it needs to anyway. haha
Skol!
Nice set up here, tried out the code and worked the first time. My only issue is I am only getting 3 days showing in the forecast. I tried adding “maxNumberOfDays: 5,” but nothing happened… Any idea what it could be?
{
module: "currentweather",
position: "top_right",
config: {
onlyTemp:true,
maxNumberOfDays: 5,
location: "Swissvale",
locationID: "5215064", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "appid"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
maxNumberOfDays: 5,
location: "Swissvale",
locationID: "5215064", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "appid"
}
},
Still new here, so let me know if you need me to provide any thing else.
Skol
I did read the instructions with initial install of the os, but was still getting issues. The wipe proved to “fix” things and now its running.
“nothing… I provided a link to the repo, which documents the commands to issue to do certain tasks…(then run the install script from here)”
The reason I asked is because of the install instructions here versus the string you posted the install processes appeared completely different (without me using sudo on first install).
Any who, If i understand what the terminal is showing me, then to start and stop the MM so i can tweak things or access everything else Ill be using:
cd ~/MagicMirror
pm2 start MagicMirror #to start
#and
pm2 stop MagicMirror #to stop
(Which does work)
Is there anything else that this"version" or method of install I should be concerned with when updating or adding on custom CSS stuff that I might have missed/overlooked?
Thanks for the help (typical user error).
@sdetweil
Already wiped it and trying again. Remember, i am bit of a noob with general command lines still. I figured I messed something up, but that is the beauty with this stuff. Im learning was not to do it. hahaha
Whats the difference between the link on the main sites page versus the link you provided?
Ill update with what happens soon.
@sdetweil said in Error: EACCES: permission denied:
This is what I get from the install directions from the provided link:
fatal: could not create work tree dir ‘MagicMirror’: Permission denied
tee: /home/pi/install.log: Permission denied
So I am quite a bit rusty using Linux based OS and am encountering an error, or two, trying to install & run the program. Not sure where exactly the issue is steaming from and I followed all the directions to the letter, rebooted a few times, and still nothing.
Downloaded and Installed as root, deleted electronics and tried to repair/re download as suggested and still nothing again.
I think its a permission error, but not sure what exactly to change (or how if that’s the case).
One of my attempts:
root@GenospherePi:/MagicMirror# npm start
> magicmirror@2.12.0 start /MagicMirror
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
sh: 1: ./node_modules/.bin/electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.12.0 start 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! /root/.npm/_logs/2020-08-18T17_33_01_418Z-debug.log
root@GenospherePi:/MagicMirror# cd
root@GenospherePi:~# cd /
root@GenospherePi:/# rm -r MagicMirror
root@GenospherePi:/# git clone https://github.com/MichMich/MagicMirror
Cloning into 'MagicMirror'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 15875 (delta 2), reused 0 (delta 0), pack-reused 15863
Receiving objects: 100% (15875/15875), 15.34 MiB | 1.41 MiB/s, done.
Resolving deltas: 100% (9421/9421), done.
root@GenospherePi:/# cd /MagicMirror
root@GenospherePi:/MagicMirror# npm install
> electron-chromedriver@6.0.0 install /MagicMirror/node_modules/electron-chromedriver
> node ./download-chromedriver.js
/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:19
if (err != null) throw err
^
Error: EACCES: permission denied, mkdir '/MagicMirror/node_modules/electron-chromedriver/.electron'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-chromedriver@6.0.0 install: `node ./download-chromedriver.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-chromedriver@6.0.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! /root/.npm/_logs/2020-08-18T17_36_46_469Z-debug.log
root@GenospherePi:/MagicMirror# npm install -g npm
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.8
added 17 packages from 3 contributors, removed 18 packages and updated 20 packages in 26.194s
root@GenospherePi:/MagicMirror# ^C
root@GenospherePi:/MagicMirror# ^C
EDIT:
Tried
sudo chown -R [root]:[root] /MagicMirror
Nothing
Using a Pi4 with the pre-installed os provided.
Tanks for any help,
Skol