• 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 95.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.
  • G Offline
    Ghost2000
    last edited by Ghost2000 Oct 14, 2020, 12:30 PM Oct 14, 2020, 12:29 PM

    Great thanksworks. @sdetweil
    De, json has to look like this for everyone

    {
      "title": "Eingehender Anruf",
      "noCall": "Keine kürzlichen Anrufe.",  
    
      
      "calllist_parse_error": "Anrufliste unlesbar.",
      "phonebook_parse_error": "Telefonbuch unlesbar.",
      "vcf_parse_error": "vCard unlesbar.",
      "login_error": "Logindaten falsch?",
      "network_error": "FRITZ!Box nicht erreichbar.",
      "unknown_error": "Unbekannter Fehler."
    }
    
    

    en.json

    {
      "title": "Incoming Call",
      "noCall": "No recent calls.",
    
      
      "calllist_parse_error": "Can't parse calllist.",
      "phonebook_parse_error": "Can't parse phonebook.",
      "vcf_parse_error": "Can't parse vCard.",
      "login_error": "Login data wrong?",
      "network_error": "Could not reach FRITZ!Box.",
      "unknown_error": "Unknown error."
    }
    
    
    S 1 Reply Last reply Oct 14, 2020, 12:31 PM Reply Quote 0
    • S Away
      sdetweil @Ghost2000
      last edited by sdetweil Oct 14, 2020, 12:33 PM Oct 14, 2020, 12:31 PM

      @Ghost2000 in 2.14 it will not fail like this, but the translation file will not be loaded. an error message in the dev window will indicate what file failed.

      fix also available in the develop branch

      this issue is pinned to the top of the troubleshooting section currently

      https://forum.magicmirror.builders/category/10/troubleshooting

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • F Offline
        Foxy25
        last edited by Foxy25 Mar 6, 2021, 8:54 PM Mar 6, 2021, 8:53 PM

        Hi,
        First: everything works well, but i have some question about the devicefilter:

        What do I have to register exactly there?

        The Telephonnumber? The name of the “device”? The “intern number”?

        I know that this works like:
        the “devicefilter entry” filters, the incoming calls for this phonenumber, out.

        In my case we have 3 DECT-Phones and i want display only one from this devices on the MM-Screen when the call come in.

        Thank you all for your Support.

        Greetngs from Germany
        Foxy

        L 1 Reply Last reply May 16, 2021, 11:29 AM Reply Quote 0
        • L Offline
          Laurids @Foxy25
          last edited by May 16, 2021, 11:29 AM

          @foxy25 Hi, after a new installation of MagicMirror I have problems with the callmonitor. The MM shows the number of incoming calls, but the list of missing calls is empty. When I set

          showContactsStatus: true
          

          ,then I only get two rotating arrows behind “no calls”, instead of the number of entrys of my phonebook.
          I tried all the advices in this thread, but nothing works. In another thread I found, that it would be helpful to uninstall Python and install version 0.5.0. Can someone explain, how to do this?
          Thanks and best regards

          1 Reply Last reply Reply Quote 0
          • S Offline
            ShadowMG Project Sponsor
            last edited by ShadowMG Nov 18, 2021, 10:59 AM Nov 18, 2021, 10:57 AM

            Hi, tried endlessly on a new installation to get calls showing again.
            Current call works
            I get the error of:

            pi@WestMainServ100:~/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor $ python fritz_access.py -p xxxxxx -u xxx -i 192.168.62.1
            Traceback (most recent call last):
              File "fritz_access.py", line 1, in <module>
                import argparse, os, fritzconnection, urllib2, sys, json
            ImportError: No module named fritzconnection
            

            Changed the files node_helper.js, package.json and fritz_access.py.

            This is my config.js part:

                    {
                            //disabled: true,
                            module: 'MMM-FRITZ-Box-Callmonitor',
                            position: 'top_left',   // This can be any of the regions. Best results in left or right regions.
                            header: "Letzte Anrufe", // This is optional
                            config: {
                                    user: "",
                                    password: "xxxxxx",
                                    deviceFilter: ["TelefoneWestFritzbox"],
                                    vCard: "/home/pi/MagicMirror/contacts.vcf",
                                    maximumCallDistance: 3000,
                                    maximumCalls: 5,
                                    fritzIP: "192.168.62.1",
                                    // See 'Configuration options' for more information.
                            }
                    },
            

            And the MMM-FRITZ-Box-Callmonitor.js:

                    // Default module config.
                    defaults: {
                            numberFontSize: 30,
                            vCard: true,
                            fritzIP: "192.168.62.1",
                            fritzPort: 1012,
                            minimumCallLength: 0,
                            maximumCallDistance: 60,
                            maximumCalls: 5,
                            fade: true,
                            debug: false,
                            fadePoint: 0.25,
                            username: "",
                            password: "xxxxx",
                            reloadContactsInterval: 30, // 30 minutes, set to 0 to disable
                            deviceFilter: ["TelefoneWestFritzbox"], // [] means no filtering
                            showContactsStatus: true
                    },
            

            I installed different versions of fritzconnect. No clue what to do next…

            Thank you, Matthias

            R 1 Reply Last reply Jan 1, 2022, 4:42 PM Reply Quote 0
            • R Offline
              requiemmg @ShadowMG
              last edited by Jan 1, 2022, 4:42 PM

              @shadowmg
              Just did a fresh install today. Installed MMM-FRRITZ-Box-Callmonitor, did npm install and installed fritzconnection.
              Also installed fritzconnection.

              pi@smartmirror:~/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor $ fritzconnection
              
              fritzconnection v1.8.0
              FRITZ!Box 6591 Cable at http://169.254.1.1
              FRITZ!OS: 7.29
              

              But when I use

              python fritz_access.py -u user -p pass -i 192.168.0.1
              

              i get

              Traceback (most recent call last):
                File "fritz_access.py", line 1, in <module>
                  import argparse, os, fritzconnection, urllib2, sys, json
              ImportError: No module named fritzconnection
              

              Any idea on how to fix this? @paviro @sdetweil?

              S 1 Reply Last reply Jan 1, 2022, 4:53 PM Reply Quote 0
              • S Away
                sdetweil @requiemmg
                last edited by Jan 1, 2022, 4:53 PM

                @requiemmg u need the python library for fritzconnection, whatever that is. separate install

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Jan 3, 2022, 2:18 PM Reply Quote 0
                • R Offline
                  requiemmg @sdetweil
                  last edited by Jan 3, 2022, 2:18 PM

                  @sdetweil Thanks, yes, this has been installed with sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev && sudo pip install fritzconnection as stated on the plugins’ page (https://github.com/paviro/MMM-FRITZ-Box-Callmonitor) and https://pypi.org/project/fritzconnection/

                  And as stated above: When I call fritzconnection from shell, it works. But when I call the script used by the plugin, it fails on the import of the library and I have no idea why.

                  S 1 Reply Last reply Jan 3, 2022, 2:21 PM Reply Quote 0
                  • S Away
                    sdetweil @requiemmg
                    last edited by sdetweil Jan 3, 2022, 2:37 PM Jan 3, 2022, 2:21 PM

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

                    But when I call the script used by the plugin

                    typically this fails cause the python ‘virtual environment’ is not setup correctly

                    https://www.tutorialspoint.com/python/python_environment.htm

                    usually that means the shell started from code (not UI) startup script (usually ~/.bashrc, for bash ) doesn’t set the PATH correctly

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Jan 3, 2022, 3:40 PM Reply Quote 0
                    • R Offline
                      requiemmg @sdetweil
                      last edited by Jan 3, 2022, 3:40 PM

                      @sdetweil Tried to fix this with
                      export PATH=“$PATH:/usr/local/bin/fritzconnection”

                      and
                      export PATH=“$PATH:/usr/local/bin/python”

                      to no avail…error stays the same

                      S 1 Reply Last reply Jan 3, 2022, 3:42 PM 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