@Kugelfang
I am really no expert at all but here is another tipp of mine:
I also use these modules to turn off my monitor:
MMM-ModuleScheduler + MMM-Remote-Control (at a certain time)
and MMM-NetworkScanner (when my phone is not connected to my WLAN)
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-PIR-Sensor not working with latest release - display does not turn off
-
RE: MMM-PIR-Sensor not working with latest release - display does not turn off
@Kugelfang
Hi, I updated to 2.7.1 yesterday and also installed MMM-PIR-Sensor which works fine for me (https://youtu.be/5Cs3pCZamuM)
I am not using the Full KMS driver though
Did you follow these steps also:
Execute npm install to install the node dependencies.
Add your user (pi?) to the gpio group by executing sudo usermod -a -G gpio pi.
Execute sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt to allow turning on/off the hdmi output.
Reboot your Pi. -
RE: Total Newbie 24" MagicMirror (Munich, Germany)
@dxfan227
Thanks a lot!
I used Mirropane™ Chrome Spy glas, 4 mm thick, next time I might get 6 mm.
PIR hardware: https://amzn.to/2YNSxYr
Module: https://github.com/paviro/MMM-PIR-Sensor -
RE: Total Newbie 24" MagicMirror (Munich, Germany)
New update with PIR sensor and new modules: Wunderlist to-dos, SoccerLiveScore & fuel prices in a range of a certain distance to my home:
https://youtu.be/5Cs3pCZamuM -
RE: Blank screen after updating tonight...
@sdetweil said in Blank screen after updating tonight...:
git stash
Thanks for your quick reply and your tipp that worked for me.
After git stash I updated MM to 2.7.1 and then I cd 'ed into every installed module and did npm install.Excuse my bad English and sorry to bug you and thanks again fpr your time!
Noob from Germany
-
RE: Blank screen after updating tonight...
Sorry, I am a beginner from Germany. Maybe you can help.
It won’t let me update because of this message:
“Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden”
which translates to:
“Your local changes in the following files would be overwritten by the merge”
and then it lists like 5 or 6 package.json files. What can I do?Danke/Thanks!
-
RE: Total Newbie 24" MagicMirror (Munich, Germany)
Now also with Local Transport module:
https://youtu.be/xoh6VZHyznYNun wird mir morgens auf dem Magic Mirror meine tägliche Pendelstrecke über die Google Maps API angezeigt.
-
RE: Advise for a voice assistant
This is the error code:
snowboy@1.3.1 install /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
node-pre-gyp install --fallback-to-buildnode-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.3.1/Release/snowboy-v1.3.1-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.3.1 and node@10.15.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.3.1/Release/snowboy-v1.3.1-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.3.1 and node@10.15.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module ‘nan’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:96:20)
at Object.runInThisContext (vm.js:303:38)
at Object. ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at evalScript (internal/bootstrap/node.js:587:27)
gyp: Call to ‘node -e “require(‘nan’)”’ returned exit status 1 while in binding.gyp. while trying to load binding.gyp
internal/modules/cjs/loader.js:583
throw err;
^Error: Cannot find module ‘nan’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:96:20)
at Object.runInThisContext (vm.js:303:38)
at Object. ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at evalScript (internal/bootstrap/node.js:587:27)
gyp: Call to ‘node -e “require(‘nan’)”’ returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gypgyp ERR! stack Error:gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
ERR!gyp ERR!configure error
stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.14.98-v7+
gyp ERR!gyp stack Error:gyp
failed with exit code: 1
ERR!gyp commandERR! “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “–fallback-to-build” “–module=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node” “–module_name=snowboy” “–module_path=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm”
stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp gypERR! ERR!stack at ChildProcess.emit (events.js:189:13)
cwdgyp /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
ERR! gypstack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
gyp ERR! System Linux 4.14.98-v7+
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “–fallback-to-build” “–module=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node” “–module_name=snowboy” “–module_path=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm”
gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm’ (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.14.98-v7+
node-pre-gyp ERR! command “/usr/bin/node” “/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build”
node-pre-gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
node-pre-gyp ERR! node -v v10.15.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm’ (1)
npm WARN MMM-Hotword@1.1.0 No repository field.npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! snowboy@1.3.1 install:node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the snowboy@1.3.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -
RE: Total Newbie 24" MagicMirror (Munich, Germany)
Thanks a lot!
I used MMM-CountDown:
https://github.com/boazarad/MMM-CountDown