Read the statement by Michael Teeuw here.
MMM-FRITZ-Box-Callmonitor
-
Today a made a fresh installation on my Pi4 with the latest Buster and MagicMirror 2.12
I installed the modules FRITZBox-Callmonitor & Current Call
in the root:
sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev && sudo pip install fritzconnection
and i fix the files from this Post -->
and it works very well in combination with my Fritzbox 7590 running on 7.20
Best Regards
-
@Sandy2503
My screen is black after installing it.In the browser he shows me this error.
Uncaught SyntaxError: Unexpected token / in JSON at position 79 at JSON.parse () at XMLHttpRequest.xhr.onreadystatechange (translator.js:22) (index):1 Unchecked runtime.lastError: The message port closed before a response was received.
-
@Ghost2000 looking at it again that is the translation error I sent you
https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/blob/master/translations/de.jsonedit out the comment line, not allowed in json file
-
you are the best , i have it
changed don´t work :( -
@Ghost2000 need more info than “don’t work”
-
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@6.14.6 3 info using node@v10.22.1 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.13.0~prestart: magicmirror@2.13.0 6 info lifecycle magicmirror@2.13.0~start: magicmirror@2.13.0 7 verbose lifecycle magicmirror@2.13.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.13.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi$ 9 verbose lifecycle magicmirror@2.13.0~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.13.0~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ] 11 silly lifecycle magicmirror@2.13.0~start: Returned: code: 1 signal: null 12 info lifecycle magicmirror@2.13.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:198:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:198:13) 13 verbose stack at maybeClose (internal/child_process.js:982:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid magicmirror@2.13.0 15 verbose cwd /home/pi/MagicMirror 16 verbose Linux 5.4.51-v7l+ 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 18 verbose node v10.22.1 19 verbose npm v6.14.6 20 error code ELIFECYCLE 21 error errno 1 22 error magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 22 error Exit status 1 23 error Failed at the magicmirror@2.13.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
Browser Log:
(index):5 Uncaught SyntaxError: Unexpected token / in JSON at position 79 at JSON.parse (<anonymous>) at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
Dev Log
npm start dev > magicmirror@2.13.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev" [2020-10-14 14:23:35.170] [LOG] Starting MagicMirror: v2.13.0 [2020-10-14 14:23:35.178] [LOG] Loading config ... [2020-10-14 14:23:35.184] [LOG] Loading module helpers ... [2020-10-14 14:23:35.187] [LOG] No helper found for module: alert. [2020-10-14 14:23:35.231] [LOG] Initializing new module helper ... [2020-10-14 14:23:35.232] [LOG] Module helper loaded: updatenotification [2020-10-14 14:23:35.234] [LOG] No helper found for module: MMM-Globe. [2020-10-14 14:23:35.235] [LOG] No helper found for module: MMM-Carousel. [2020-10-14 14:23:35.236] [LOG] No helper found for module: clock. [2020-10-14 14:23:35.422] [LOG] Initializing new module helper ... [2020-10-14 14:23:35.422] [LOG] Module helper loaded: MMM-FRITZ-Box-Callmonitor [2020-10-14 14:23:36.306] [LOG] Initializing new module helper ... [2020-10-14 14:23:36.306] [LOG] Module helper loaded: MMM-awesome-alexa [2020-10-14 14:23:36.307] [LOG] No helper found for module: iFrame. [2020-10-14 14:23:36.664] [LOG] Initializing new module helper ... [2020-10-14 14:23:36.665] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify [2020-10-14 14:23:37.016] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.017] [LOG] Module helper loaded: calendar [2020-10-14 14:23:37.018] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.019] [LOG] Module helper loaded: MMM-OnScreenMenu [2020-10-14 14:23:37.019] [LOG] No helper found for module: compliments. [2020-10-14 14:23:37.158] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.159] [LOG] Module helper loaded: internet-monitor [2020-10-14 14:23:37.440] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.441] [LOG] Module helper loaded: MMM-DWD-WarnWeather [2020-10-14 14:23:37.442] [LOG] No helper found for module: MMM-windy. [2020-10-14 14:23:37.442] [LOG] No helper found for module: currentweather. [2020-10-14 14:23:37.571] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.571] [LOG] Module helper loaded: MMM-Remote-Control [2020-10-14 14:23:37.572] [LOG] No helper found for module: weatherforecast. [2020-10-14 14:23:37.573] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.574] [LOG] Module helper loaded: MMM-SmartTouch [2020-10-14 14:23:37.594] [LOG] Initializing new module helper ... [2020-10-14 14:23:37.594] [LOG] Module helper loaded: newsfeed [2020-10-14 14:23:37.595] [LOG] All module helpers loaded. [2020-10-14 14:23:37.692] [LOG] Starting server on port 8080 ... [2020-10-14 14:23:37.694] [INFO] You're using a full whitelist configuration to allow for all IPs [2020-10-14 14:23:37.700] [LOG] Server started ... [2020-10-14 14:23:37.701] [LOG] Connecting socket for: updatenotification [2020-10-14 14:23:37.702] [LOG] Connecting socket for: MMM-FRITZ-Box-Callmonitor [2020-10-14 14:23:37.703] [LOG] Starting module: MMM-FRITZ-Box-Callmonitor [2020-10-14 14:23:37.704] [LOG] Connecting socket for: MMM-awesome-alexa [2020-10-14 14:23:37.705] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify [2020-10-14 14:23:37.706] [LOG] Connecting socket for: calendar [2020-10-14 14:23:37.706] [LOG] Starting node helper for: calendar [2020-10-14 14:23:37.707] [LOG] Connecting socket for: MMM-OnScreenMenu [2020-10-14 14:23:37.708] [LOG] Connecting socket for: internet-monitor [2020-10-14 14:23:37.709] [LOG] internet-monitor helper started ... [2020-10-14 14:23:37.709] [LOG] Connecting socket for: MMM-DWD-WarnWeather [2020-10-14 14:23:37.710] [LOG] MMM-DWD-WarnWeather helper started... [2020-10-14 14:23:37.710] [LOG] Connecting socket for: MMM-Remote-Control [2020-10-14 14:23:37.711] [LOG] Starting node helper for: MMM-Remote-Control [2020-10-14 14:23:37.717] [LOG] Connecting socket for: MMM-SmartTouch [2020-10-14 14:23:37.718] [LOG] Connecting socket for: newsfeed [2020-10-14 14:23:37.718] [LOG] Starting node helper for: newsfeed [2020-10-14 14:23:37.719] [LOG] Sockets connected & modules started ... [2020-10-14 14:23:37.726] [ERROR] Whoops! There was an uncaught exception... [2020-10-14 14:23:37.727] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080 at Server.setupListenHandle [as _listen2] (net.js:1226:14) at listenInCluster (net.js:1274:12) at doListen (net.js:1413:7) at processTicksAndRejections (internal/process/task_queues.js:84:9) { code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '0.0.0.0', port: 8080 } [2020-10-14 14:23:37.732] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-10-14 14:23:37.733] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-10-14 14:23:37.808] [LOG] Launching application.
-
@Ghost2000 there are two files that need to be fixed. de and en.json
you must remove the comment line.put the json file contents in one of the online validators to test your edit
-
@Ghost2000 if you use pm2 u have to stop that instance before using npm start
pm2 stop all
-
Where can I find this file?
-
@Ghost2000 come on. in the module folder, there is a folder called translations