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

      @ostfilinchen Can you add showContactsStatus: true, in the config, and see if it successfully loads your contacts? Either a small warning sign should appear after you restart your mirror, or a number showing how many contacts are loaded.

      If the contacts load correctly, please look at the format your numbers are in the phonebook, e.g. are they like +12 (345) 678901 or 0012345678901… (do not post the real number)? I have experienced some problems with certain formatting as well, however have not had time to fix it in the code, instead I replaced my numbers in the FRITZ!Box, and always used the format 0123 4567891.

      If there is a warning sign, please have a look at the logs (if you start it with pm2 you can do pm2 logs --lines 100 mm) and search for an error related to the Callmonitor.

      Helpful sticky: How to troubleshoot

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        ostfilinchen @Jopyth
        last edited by

        @Jopyth if i Set the Contact Status to true, nothing happens. There’s no Icon and the logs displays no error.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jopyth Moderator @ostfilinchen
          last edited by Jopyth

          @ostfilinchen You might have on older version can you try to use git pull and see if it updates (note: you must do this inside the MMM-FRITZ-Box-Callmonitor folder. Also you can check the date of your version with git show, it should show this:

          commit 9a35b1a74811a2e7c31edb35d59bab010dd5f991
          Merge: 08633e0 bfee1e5
          Author: Paul-Vincent Roll <paviro@me.com>
          Date:   Fri Sep 23 11:26:47 2016 +0200
          [...]
          

          Helpful sticky: How to troubleshoot

          1 Reply Last reply Reply Quote 0
          • O Offline
            ostfilinchen
            last edited by

            this output i have also…

            must i activate the vcard-option to show how many contacts loaded?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              Jopyth Moderator @ostfilinchen
              last edited by Jopyth

              @ostfilinchen Please check your config again. Is your password empty (i.e. the empty string password: "")? That would not work, but otherwise it should. I did a clean install and this config works for me:

              {
              	module: 'MMM-FRITZ-Box-Callmonitor',
              	position: 'bottom_right',
              	header: "Recent calls",
              	config: {
              		username: "EXAMPLE_USER",
              		password: "EXAMPLE_PASSWORD",
              		showContactsStatus: true
              	}
              },
              

              Result:
              0_1475355100926_Screenshot from 2016-10-01 22:50:16.png
              If I type a wrong password, it shows an error:

              [...]
              config: {
              	username: "EXAMPLE_USER",
              	password: "WRONG_EXAMPLE_PASSWORD",
              	howContactsStatus: true
              }
              [...]
              

              0_1475355180491_Screenshot from 2016-10-01 22:52:25.png

              If you can not see either of these results, and you say your version is up-to-date, then I am little bit out of guesses. Maybe you can try complete removing the module, and downloading it again?

              Helpful sticky: How to troubleshoot

              garblefluxG 1 Reply Last reply Reply Quote 0
              • O Offline
                ostfilinchen
                last edited by

                i have an fresh Installation and i don’t get this Output. If i set vcard to true, then it Shows me the little book with spinning arrows. The Password and user is set.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  Jopyth Moderator @ostfilinchen
                  last edited by Jopyth

                  @ostfilinchen Please check if your option is German passwort (does not work) or password (English).

                  Helpful sticky: How to troubleshoot

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    ostfilinchen @Jopyth
                    last edited by

                    @Jopyth it’s password

                    J 2 Replies Last reply Reply Quote 0
                    • J Offline
                      Jopyth Moderator @ostfilinchen
                      last edited by Jopyth

                      @ostfilinchen Damn. Because I saw this in your first post. :( This was my last hope.

                      Edit: Can you post the output of git status one more time? Just to make sure everything is fine with your module.

                      Helpful sticky: How to troubleshoot

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jopyth Moderator @ostfilinchen
                        last edited by Jopyth

                        @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
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 9 / 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