Read the statement by Michael Teeuw here.
MMM-FRITZ-Box-Callmonitor
-
@kwaeksler if you start the mirror with pm2, what says the pm2 logs mm?
-
@ostfilinchen said in MMM-FRITZ-Box-Callmonitor:
@kwaeksler if you start the mirror with pm2, what says the pm2 logs mm?
in mm-error-0.log i searched for “callmonitor” and got this error:
TypeError: path must be a string or Buffer
at TypeError (native)
at Object.fs.readFile (fs.js:303:11)
at Object.fs.readFile (ELECTRON_ASAR.js:451:25)
at Object.parseVcardFile (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_modules/vcard-json/lib/vcard-json.js:65:6)
at Class.parseVcardFile (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:107:9)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:56:10)
at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:335:8)
Missing error handler on socket. -
@kwaeksler it looks, that u have activate the vCard option. Is that right? If no… Do u had installed the latest Version of this module?
-
@ostfilinchen
i tried the vCard option first, but actually it should be disabled…
i think so. with git pull in “/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor” i get “Already up-to-date”. -
@kwaeksler can u Check this config:
{ module: 'MMM-FRITZ-Box-Callmonitor', position: 'top_left', // This can be any of the regions. Best results in left or right regions. header: "kürzliche Anrufe", // This is optional config: { // See 'Configuration options' for more information. maximumCallDistance: 7200, username: "benutzer", password: "passwort, showContactsStatus: true, //vCard: true //maximumCalls: 10 } },
-
@ostfilinchen
There is a " missing after passwort -
@ostfilinchen my current config looks like this:
{ module: 'MMM-FRITZ-Box-Callmonitor', position: 'top_right', header: "Anrufliste", config: { maximumCallDistance: 7200, username: "***********", password: "********************", showContactsStatus: true, vCard: false } },
i think it looks good?
-
@kwaeksler yes. It looks good. Is the Module now working?
-
@ostfilinchen No :-(
i still get a small warning sign and an “unknown error”the incoming call shows me a number, not a name.
-
@kwaeksler puh… now I have no ideas. You have create an User and password in the fritz.box?
And… Do u have Updated your rpi?
sudo apt-get update
sudo apt-get dist-upgrade
sudo rebootIf After this the Module doesn’t work open an issue on github.