After a few New Installations now the mm starts and the PIR works.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-PIR-Sensor tuning
-
RE: MMM-PIR-Sensor tuning
@yawns now i get this error
pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ sudo npm rebuild --runtime=electron --target=1.4.13 --disturl=https://atom.io/download/atom-shell --abi=50
epoll@0.1.20 install /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll
node-gyp rebuildgyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, unlink ‘build/Makefile’
gyp ERR! System Linux 4.4.38-v7+
gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll
gyp ERR! node -v v7.0.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not oknpm ERR! Linux 4.4.38-v7+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “rebuild” “–runtime=electron” “–target=1.4.13” “–disturl=https://atom.io/download/atom-shell” “–abi=50”
npm ERR! node v7.0.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! epoll@0.1.20 install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the epoll@0.1.20 install script ‘node-gyp rebuild’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the epoll package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs epoll
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls epoll
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/modules/MMM-PIR-Sensor/npm-debug.log
pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ -
RE: MMM-PIR-Sensor tuning
@yawns. Is it possible that my Version is 1.4.13?
-
RE: MagicMirror v2.1.0 Update error
At the Moment it works. I have update and dist-upgrade the rpi. Thanks for helping.
-
RE: MMM-PIR-Sensor tuning
Hi all,
i have an issue with the PIR Sensor. I get alltime this error:
1|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
1|mm | (node:1714) DeprecationWarning: sys is deprecated. Use util instead.
1|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 50, got 49.
1|mm | App threw an error during load
1|mm | Error: Module version mismatch. Expected 50, got 49.
1|mm | at Error (native)
1|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
1|mm | at Object.Module._extensions…node (module.js:583:18)
1|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
1|mm | at Module.load (module.js:473:32)
1|mm | at tryModuleLoad (module.js:432:12)
1|mm | at Function.Module._load (module.js:424:3)
1|mm | at Module.require (module.js:483:17)
1|mm | at require (internal/module.js:20:19)
1|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
1|mm | Error: Module version mismatch. Expected 50, got 49.
1|mm | at Error (native)
1|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
1|mm | at Object.Module._extensions…node (module.js:583:18)
1|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
1|mm | at Module.load (module.js:473:32)
1|mm | at tryModuleLoad (module.js:432:12)
1|mm | at Function.Module._load (module.js:424:3)
1|mm | at Module.require (module.js:483:17)
1|mm | at require (internal/module.js:20:19)
1|mm | at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)It’s equal if i have the original from @paviro or the modification.
Can anybody help me?
Regards Daniel
-
RE: MagicMirror v2.1.0 Update error
Hi all,
After update my MM and want to open the mm via http://ip:8080 i get a blank Black screen. It comes on Win10 and also Android with Chrome.
The Majorfailure is, the rpi stop working. So i can only disconnect the power and connect again.
Has anybody else this issue?
Regals
Daniel -
RE: MMM-WunderGround
Hi @RedNax,
on the second Mirror at work i have a Problem with the moonphases. It only Shows as a placeholder. At home it works fine. What can i do? Must i install anything else on the rpi?
-
RE: MMM-Fuel
no, i don’t restart the mirror.
here is the part of the config:
{ module: "MMM-Fuel", position: "top_center", config: { api_key: "API-KEY", lat: 51.282854, lng: 14.109648, types: ["e5","diesel"], sortBy: "e5", open: true, radius: 16, max: 3 } }, -
RE: MMM-Fuel
Hi @strawberry-3-141. I have an Issue with this module. My Mirror shows me no gasprice list. I wonder about it and so i check logfiles and so on. I also rebuild the string that get the request from tankerkoenig.de. The Response says: API-KEY blocked. Please contact tankerkoenig.de.
On the website of tankekoenig u can download a logfile from our api-key. here i saw, that tankerkoenig get very often gets an request.
[code]
IP-ADDRESS - - [25/Nov/2016:06:28:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.008
IP-ADDRESS - - [25/Nov/2016:06:29:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
IP-ADDRESS - - [25/Nov/2016:06:29:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
IP-ADDRESS - - [25/Nov/2016:06:30:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.009
IP-ADDRESS - - [25/Nov/2016:06:31:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.014
IP-ADDRESS - - [25/Nov/2016:06:33:08 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.012
IP-ADDRESS - - [25/Nov/2016:06:34:04 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.015
IP-ADDRESS - - [25/Nov/2016:06:34:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
IP-ADDRESS - - [25/Nov/2016:06:34:46 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
IP-ADDRESS - - [25/Nov/2016:06:35:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
IP-ADDRESS - - [25/Nov/2016:06:36:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
IP-ADDRESS - - [25/Nov/2016:06:36:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
IP-ADDRESS - - [25/Nov/2016:06:36:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.009
IP-ADDRESS - - [25/Nov/2016:06:37:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.008
IP-ADDRESS - - [25/Nov/2016:06:37:37 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
IP-ADDRESS - - [25/Nov/2016:06:39:05 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.020
IP-ADDRESS - - [25/Nov/2016:06:39:18 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.021
IP-ADDRESS - - [25/Nov/2016:06:39:24 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
IP-ADDRESS - - [25/Nov/2016:06:43:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
IP-ADDRESS - - [25/Nov/2016:06:44:51 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.028
IP-ADDRESS - - [25/Nov/2016:06:44:51 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.032
IP-ADDRESS - - [25/Nov/2016:06:45:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
IP-ADDRESS - - [25/Nov/2016:06:46:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
IP-ADDRESS - - [25/Nov/2016:06:48:08 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
IP-ADDRESS - - [25/Nov/2016:06:49:04 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
IP-ADDRESS - - [25/Nov/2016:06:49:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.010
IP-ADDRESS - - [25/Nov/2016:06:49:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
IP-ADDRESS - - [25/Nov/2016:06:50:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.018
IP-ADDRESS - - [25/Nov/2016:06:51:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.027
IP-ADDRESS - - [25/Nov/2016:06:51:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.031
IP-ADDRESS - - [25/Nov/2016:06:51:53 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
IP-ADDRESS - - [25/Nov/2016:06:52:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
IP-ADDRESS - - [25/Nov/2016:06:52:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
IP-ADDRESS - - [25/Nov/2016:06:54:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.015
IP-ADDRESS - - [25/Nov/2016:06:54:18 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.014
IP-ADDRESS - - [25/Nov/2016:06:54:25 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
IP-ADDRESS - - [25/Nov/2016:06:58:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
IP-ADDRESS - - [25/Nov/2016:06:59:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104
[/code]Can u please look in the code whats going wrong?
Regards
Daniel