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 117.2k 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.
    • Sandy2503S Offline
      Sandy2503 @garbleflux
      last edited by

      @garbleflux - try to create a useraccount on the fritzbox (with name and password). ths works very well with my 7490 …

      garblefluxG 1 Reply Last reply Reply Quote 0
      • garblefluxG Offline
        garbleflux Project Sponsor @Sandy2503
        last edited by

        @Sandy2503 thank you for your kind reply. I already did create a useraccount. But with this data (User: raspi, password: xxxxxxxx) I do not have an access. So it is neccessary to disable the general Fritz!box password? Regards Mike

        1 Reply Last reply Reply Quote 0
        • Sandy2503S Offline
          Sandy2503
          last edited by

          Have you edit the fritz.box config ? I mean like in post #1.

          1 Reply Last reply Reply Quote 0
          • R Offline
            rf0620
            last edited by

            Like some other people here I wasn’t able to to read out the content of any phonebook from fritzbox. Only phone numbers were presented.
            Also the command line didn’t work:

            “python fritz_access.py -p password -u user -i ip-of-fritzbox”
            
            Traceback (most recent call last):
            File “fritz_access.py”, line 77, in
            main(args)
            File “fritz_access.py”, line 63, in main
            handle.download_phone_book()
            File “fritz_access.py”, line 22, in download_phone_book
            result = self.fc.call_action(“X_AVM-DE_OnTel”, “GetPhonebookList”)
            File “/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py”, line 405, in call_action
            action = self._get_action(service_name, action_name)
            File “/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py”, line 378, in _get_action
            raise ServiceError('Unknown Service: ’ + service_name)
            fritzconnection.fritzconnection.ServiceError: Unknown Service: X_AVM-DE_OnTel:1
            

            Today I found a very simple answer: The used protocol TR-064 wasn’t activated on my fritz box!
            According to this site I had to enable support for it. It worked for my FBF 7390 immediately. This setting has a different location than user mangament on current firmware versions.

            2 1 Reply Last reply Reply Quote 2
            • Z Offline
              Zinkeler
              last edited by

              Hello,
              can someone tell me if it´s possible to sort the Output?
              E.g. i see a call 3 days ago in the first line, then a call from 2 hours ago (second line), a call 2 day ago in 3rd line,…
              I would like to see the youngest in the first line and the oldest in the last line.
              Thanks for hints.

              1 Reply Last reply Reply Quote 0
              • B Offline
                barnosch
                last edited by

                @paviro
                i have the problem currently that
                MMM-FRITZ-Box-Callmonitor is not working anymore.
                So the overlay when someone calls is not showing anymore.

                The current call works without problems.
                Nothing was changed. No idea what happened.
                Fritzbox settings wasn’t changed nor a firmware upgrade was done

                What do i need to check?

                1 Reply Last reply Reply Quote 0
                • 2 Offline
                  2fingers @rf0620
                  last edited by

                  @rf0620 i have tried to install the module and i had unnbekannte fehler (unknown issue) error . i followd all the steps but i have another error now:

                  pi@raspberrypi:~ $ sudo pip install fritzconnection --upgrade
                  Requirement already up-to-date: fritzconnection in /usr/local/lib/python2.7/dist-packages
                  Collecting requests>=2.2.0 (from fritzconnection)
                  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
                  100% |████████████████████████████████| 92kB 763kB/s
                  Collecting lxml>=3.2.5 (from fritzconnection)
                  Using cached lxml-4.1.1.tar.gz
                  Collecting urllib3=1.21.1 (from requests>=2.2.0->fritzconnection)
                  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
                  100% |████████████████████████████████| 133kB 880kB/s
                  Collecting idna=2.5 (from requests>=2.2.0->fritzconnection)
                  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
                  100% |████████████████████████████████| 61kB 1.5MB/s
                  Collecting chardet=3.0.2 (from requests>=2.2.0->fritzconnection)
                  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
                  100% |████████████████████████████████| 143kB 983kB/s
                  Collecting certifi>=2017.4.17 (from requests>=2.2.0->fritzconnection)
                  Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
                  100% |████████████████████████████████| 337kB 629kB/s
                  Building wheels for collected packages: lxml
                  Running setup.py bdist_wheel for lxml … /^error
                  Failed building wheel for lxml
                  Running setup.py clean for lxml
                  Failed to build lxml
                  Installing collected packages: urllib3, idna, chardet, certifi, requests, lxml
                  Found existing installation: urllib3 1.19.1
                  Not uninstalling urllib3 at /usr/lib/python2.7/dist-packages, outside environment /usr
                  Found existing installation: idna 2.2
                  Not uninstalling idna at /usr/lib/python2.7/dist-packages, outside environment /usr
                  Found existing installation: chardet 2.3.0
                  Not uninstalling chardet at /usr/lib/python2.7/dist-packages, outside environment /usr
                  Found existing installation: requests 2.12.4
                  Not uninstalling requests at /usr/lib/python2.7/dist-packages, outside environment /usr
                  Found existing installation: lxml 3.7.1
                  Not uninstalling lxml at /usr/lib/python2.7/dist-packages, outside environment /usr
                  Running setup.py install for lxml … |^canceled
                  Can’t rollback lxml, nothing uninstalled.
                  Operation cancelled by user

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cyberdyne
                    last edited by

                    Please read this befor you update your Fritzbox with a new FritzOS!

                    I upgraded my Fritzbox 6490 to the new FritzOS 7 and the callmonitor stoped working. I tried to but I could not reactivate the callmonitor. Nothing seemed to work and I thought I did something wrong. I contacted AVM to help and got a realy bad answer: They told me that AVM has removed the callmonitor functionality. I asked them how I could downgrade the OS to get the functionality back but they told me that there is no downgrade option. They also told me that they are going to remove the callmonitor functionality from all of their routers OSs.
                    Warning to everyone: If you want to keep on using the callmonitor do not install FritzOS updates without checking if the new OS still supports the callmonitor. I would aks AVM befor updating.

                    I am not sure if it helps but maybe everyone should write them an email and ask to keep or bring back this feature?!

                    With this plugin I now can only see incomming calls (only the number) but no list with history of calls anymore. :o(

                    1 Reply Last reply Reply Quote 0
                    • Sandy2503S Offline
                      Sandy2503
                      last edited by Sandy2503

                      @Cyberdyne - Hmmmm thats strange. I am using a 7590 with the actual AVM OS7.01 from 20th September (and early Beta Versions) and the Call Monitor and Current Call works (with the 7590 and 7490) very well …

                      Sandy2503

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cyberdyne
                        last edited by

                        I can only say what AVM has told me. Callmonitor is removed from the 6490 with the OS 7.0 and they also told me that they will remove it from all other boxes as well. They did not tell me in which version on which box. Hete are some emals:

                        "Sie schildern, dass Sie den Callmonitor nicht mehr aktivieren können und möchten wissen, wieso dies der Fall ist. Ich bedauere diesen Umstand und nehme mich gerne der Sache an.

                        Der Callmonitor wird mittlerweile nicht mehr von den FRITZ!Boxen unterstützt. Wenn Sie mit mitteilen, was genau Sie vorhaben, kann ich Ihnen ggf. Alternativen aufzeigen. "

                        "Sie möchten wissen, bei welchen FRITZ!OS der Callmonitor noch unterstützt wird und wie Sie Ihre FRITZ!Box 6490 entsprechend downgraden können. Gerne beantworte ich Ihnen Ihre Frage.

                        Ab welchen FRITZ!OS der Collmonitor nicht mehr unterstützt wurde, kann ich Ihnen nicht sagen, da dieser aufgrund der unterschiedlichen FRITZ!OS der verschiedenen FRITZ!Box-Modellen sukzessiv geschehen ist.

                        Ein Downgrade von dem FRITZ!OS bei FRITZ!Box Cable ist leider nicht möglich."

                        Just be carefull and better ask befor you make an other update if you want to keep on using the callmonitor! It does not work here anymore and no way back. :(

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          darklight89
                          last edited by

                          Hi guys,
                          how can I hide the call history, since the Fritz-Boxes Callmonitor seems to be deactivated in OS 7 and I want to keep at least the alert pop-up.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            randpop
                            last edited by

                            Re: MMM-FRITZ-Box-Callmonitor

                            Hi all,

                            i cannot get the module up and running.

                            I’ve tried all the above solutions and nothing really worked.

                            We got 2 FritzBoxes at work. One is our router (7590) and the other one (6490) is used as a cable modem and for the telephone connections.

                            Callerid and TR-064 access are activated on the 6490 and it is running with OS 6.50. The user i created has access to the FritzBox and has all the necessary rights.
                            I’ve tried a CallerMonitor App on macOS and it worked fine.

                            This is my config:

                            
                               {
                                                    module: 'MMM-FRITZ-Box-Callmonitor',
                                                    position: 'bottom_left',      
                                                    header: "Anrufe", 
                                                    config: {
                                                    password: "PASSWORD",
                                                    username: "USERNAME",
                                                    fritzIP: "130.180.xx.xx",
                                                    reloadContactsInterval: 1,
                                                    vCard: false 
                                                   }
                            
                            

                            When i test the connection with:

                            python fritz_access.py -p PASSWORD -u USER -i 130.180.xx.xx
                            

                            i get this:

                            Traceback (most recent call last):
                              File "fritz_access.py", line 77, in 
                                main(args)
                              File "fritz_access.py", line 63, in main
                                handle.download_phone_book()
                              File "fritz_access.py", line 22, in download_phone_book
                                result = self.fc.call_action("X_AVM-DE_OnTel", "GetPhonebookList")
                              File "/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py", line 406, in call_action
                                return action.execute(**kwargs)
                              File "/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py", line 130, in execute
                                result = self.parse_response(response.content)
                              File "/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py", line 142, in parse_response
                                root = etree.fromstring(response)
                              File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
                              File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
                              File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
                              File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
                              File "src/lxml/parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
                              File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
                              File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
                              File "", line 1
                            lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: HR line 1 and BODY, line 1, column 180
                            

                            All phonebook entries are in the formats 004902211234567 or 02211234567.

                            The callermonitor seems to work as it shows incoming numbers but the recent calls and phonebook function are broken.

                            Anyone has any thoughts about that? Any kind of solution

                            Best,

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              rabbit83ka @randpop
                              last edited by

                              Hi @randpop,

                              I’m running this plugin together with the fix by wunderbear and a Unitymedia-Fritzbox 6490 with FritzOS 7.02

                              fritz_access.py does also work an gives a reasonable output.

                              Regards

                              1 Reply Last reply Reply Quote 1
                              • L Offline
                                Laurids
                                last edited by

                                Hi all,
                                this is my first post, so please be patient with me ;)
                                I´m trying to use MMM-FRITZ-Box-Callmonitor, but I have some problems, although I followed nearly every hint in this discussion.

                                • When someone is calling, I can see his number but not his name on the screen.
                                • The latest calls only were shown when I don´t config password and username. Why is that?
                                • when I test the connection with:
                                python fritz_access.py -p PASSWORD -u USER -i xxx.xxxx.xx.xx
                                

                                I retrieve all the data from my Fritzbox, so the connection should not be the problem.

                                At least I tried the recommended fix of wunderbear, but after a reboot I only get a black screen (with the cursor top-left) after starting the MagicMirror. What is the reason and how can I solve these problems? I don´t want to start all other again :weary_face:

                                I hope, that someone can help me to fix my problems.

                                Thanks and regards
                                Laurids

                                B 1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Baschti @Laurids
                                  last edited by

                                  @Laurids Did you solve the Problem? Same here!

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    requiemmg
                                    last edited by requiemmg

                                    Hi,

                                    I cannot get the module to work with my FB6590 Cable on FritzOS 7.19.
                                    CallMonitor is switched on.

                                    When I try to access it with python fritz_access-py -p PASS -u USER -i IP I get the following:

                                    My “real” phonebook is a Google phonebook which is automatically imported by the FB, I do not use (and do not want to use) the internal phonebook.
                                    Also, no recent calls are being shown.

                                    {"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <phonebooks> <!-- id:0 , name: Telefonbuch --> <phonebook owner=\"0\" name=\"Telefonbuch\"> <timestamp>948668907</timestamp> <!-- number of contacts 12 --> <contact> <category>0</category> <person> <realName>Alle (Rundruf)</realName> </person> <uniqueid>11</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**9</number> <!-- idx:0 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Anrufbeantworter</realName> </person> <uniqueid>12</uniqueid> <telephony> <services> </services> <!-- numbers:2--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**600</number> <number type=\"memo\" vanity=\"\" prio=\"\" >**605</number> <!-- idx:1 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>AVM Ansage (HD)</realName> </person> <uniqueid>22</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"work\" quickdial=\"99\" vanity=\"\" prio=\"1\" >500@hd-telefonie.avm.de</number> <!-- idx:0 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>B\u00fcro</realName> </person> <uniqueid>13</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**611</number> <!-- idx:2 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Fax</realName> </person> <uniqueid>14</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**2</number> <!-- idx:3 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>FRITZ!App Fon (Samsung SM-G965F)</realName> </person> <uniqueid>27</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**620</number> <!-- idx:4 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>ISDN/DECT Rundruf</realName> </person> <uniqueid>16</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"\" vanity=\"\" prio=\"1\" >**50</number> <!-- idx:5 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>K\u00fcche</realName> </person> <uniqueid>17</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**610</number> <!-- idx:6 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Schlafen</realName> </person> <uniqueid>18</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"intern\" vanity=\"\" prio=\"1\" >**612</number> <!-- idx:7 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Wecker 1</realName> </person> <uniqueid>19</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"\" vanity=\"\" prio=\"1\" >**41</number> <!-- idx:8 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Wecker 2</realName> </person> <uniqueid>20</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"\" vanity=\"\" prio=\"1\" >**42</number> <!-- idx:9 --> <!-- ringtoneidx:nil --> </telephony> </contact> <contact> <category>0</category> <person> <realName>Wecker 3</realName> </person> <uniqueid>21</uniqueid> <telephony> <services> </services> <!-- numbers:1--> <number type=\"\" vanity=\"\" prio=\"1\" >**43</number> <!-- idx:10 --> <!-- ringtoneidx:nil --> </telephony> </contact> </phonebook></phonebooks> ", "filename": "data/pbook_0.xml"}
                                    Traceback (most recent call last):
                                      File "fritz_access.py", line 77, in <module>
                                        main(args)
                                      File "fritz_access.py", line 63, in main
                                        handle.download_phone_book()
                                      File "fritz_access.py", line 29, in download_phone_book
                                        self.forward_file(result_phonebook["NewPhonebookURL"], filename)
                                    KeyError: 'NewPhonebookURL'
                                    

                                    Incoming calls are being displayed with the number on the screen, but are not shown in the recent calls list.

                                    Edit: It works when I use a .vcf file, but I’d really like to use my builtin phonebook and also grab recent calls.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      requiemmg
                                      last edited by

                                      In case you haven’t noticed, @paviro is looking for a maintainer for this module.
                                      https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/issues/40

                                      Would love to see this working!

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        requiemmg
                                        last edited by

                                        So far, no maintainer.

                                        Anyone else noticing that the module is not working with FRITZ!OS 7.20 anymore? (FB6590 Cable here, was working with the betas).

                                        1 Reply Last reply Reply Quote 0
                                        • Sandy2503S Offline
                                          Sandy2503
                                          last edited by

                                          @requiemmg

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

                                          https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/pull/35/commits/3f23f12d72d751567df67aebe33e1263be26bf81

                                          and it works very well in combination with my Fritzbox 7590 running on 7.20

                                          Best Regards

                                          G 1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            Ghost2000 @Sandy2503
                                            last edited by Ghost2000

                                            @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.
                                            
                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • 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