• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-FRITZ-Box-Callmonitor

Scheduled Pinned Locked Moved Troubleshooting
99 Posts 27 Posters 105.5k Views 26 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    Jopyth Moderator @ostfilinchen
    last edited by Jopyth Oct 2, 2016, 10:30 AM Oct 2, 2016, 10:29 AM

    @ostfilinchen In this case what we can try is some do-it-yourself debugging, i.e. add a line above line 56 of your node_helper.js

    console.log(this.config.password); // should show your password as entered in config
    console.log(this.config.password !== ""); // should show true
    

    Also change line 197:

    console.log("Reading " + files.length + " files from python script" ); // should probably show Reading 5 files from python script
    

    This should add the corresponding output to your server output pm2 logs --lines 100 mm.

    Helpful sticky: How to troubleshoot

    1 Reply Last reply Reply Quote 0
    • O Offline
      ostfilinchen
      last edited by Oct 2, 2016, 4:50 PM

      oh man. I’m so stupid… i wrote really passwort instead of password…

      now it work’s. Thanks for your great help @Jopyth!!!

      1 Reply Last reply Reply Quote 1
      • K Offline
        kwaeksler
        last edited by kwaeksler Jan 12, 2017, 11:19 PM Jan 12, 2017, 11:08 PM

        hi :-)
        i also have a problem with my phonebook. When i get a phone call it shows only the number of the caller, not a name.

        i get a small warning sign and an “unknown error”
        my config looks like:

        	{
                module: 'MMM-FRITZ-Box-Callmonitor',
                position: 'top_right', 
                header: "Anrufliste", 
                config: {
        			username: "************",
        			password: "*************************",
        			showContactsStatus: true,
        			reloadContactsInterval: 1,
        			deviceFilter: ["Wohnzimmer"]
                }
        	},
        

        Could you help me? :-)
        Thanks in advanced,
        Kwaeksler

        edit: FRITZ!Box User Settings:

        0_1484262880303_fritzbox.PNG

        O 1 Reply Last reply Jan 14, 2017, 9:29 PM Reply Quote 0
        • O Offline
          ostfilinchen @kwaeksler
          last edited by Jan 14, 2017, 9:29 PM

          @kwaeksler Do u have a other IP Address for the fritzbox? Do you have activate the callmonitor with #965 from a connected Phone (Not the fon-app)?

          K 1 Reply Last reply Jan 15, 2017, 7:52 PM Reply Quote 0
          • T Offline
            thk
            last edited by Jan 15, 2017, 9:45 AM

            Hi,
            Is there a way to show internal calls?
            For external calls it´s working fine.

            But I couldn´t get it to work for internal calls from a locally connected SIP phone…

            1 Reply Last reply Reply Quote 0
            • K Offline
              kwaeksler @ostfilinchen
              last edited by Jan 15, 2017, 7:52 PM

              @ostfilinchen said in MMM-FRITZ-Box-Callmonitor:

              @kwaeksler Do u have a other IP Address for the fritzbox? Do you have activate the callmonitor with #965 from a connected Phone (Not the fon-app)?

              IP Adress for the box is 192.168.178.1 and yes i activated the callmonitor with my Siemens phone.

              1 Reply Last reply Reply Quote 0
              • O Offline
                ostfilinchen
                last edited by Jan 15, 2017, 8:07 PM

                The Best way to find errors is to Start the mirror with npm start dev directly on the pi. On the right side you find Infos about the error.

                K 1 Reply Last reply Jan 15, 2017, 9:04 PM Reply Quote 0
                • K Offline
                  kwaeksler @ostfilinchen
                  last edited by Jan 15, 2017, 9:04 PM

                  @ostfilinchen said in MMM-FRITZ-Box-Callmonitor:

                  The Best way to find errors is to Start the mirror with npm start dev directly on the pi. On the right side you find Infos about the error.

                  Mhm… i dont get any warnings or errors in the console

                  O 1 Reply Last reply Jan 16, 2017, 8:01 AM Reply Quote 0
                  • O Offline
                    ostfilinchen @kwaeksler
                    last edited by Jan 16, 2017, 8:01 AM

                    @kwaeksler if you start the mirror with pm2, what says the pm2 logs mm?

                    K 1 Reply Last reply Jan 17, 2017, 5:25 PM Reply Quote 0
                    • K Offline
                      kwaeksler @ostfilinchen
                      last edited by Jan 17, 2017, 5:25 PM

                      @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.

                      O 1 Reply Last reply Jan 17, 2017, 6:07 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 2 / 10
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy