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.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.
    • 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
                • S Offline
                  sdetweil @Ghost2000
                  last edited by sdetweil

                  @Ghost2000 looking at it again that is the translation error I sent you
                  https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/blob/master/translations/de.json

                  edit out the comment line, not allowed in json file

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    you are the best , i have it
                    changed don´t work :(

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Ghost2000
                      last edited by

                      @Ghost2000 need more info than “don’t work”

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        
                        0 info it worked if it ends with ok
                        1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
                        2 info using npm@6.14.6
                        3 info using node@v10.22.1
                        4 verbose run-script [ 'prestart', 'start', 'poststart' ]
                        5 info lifecycle magicmirror@2.13.0~prestart: magicmirror@2.13.0
                        6 info lifecycle magicmirror@2.13.0~start: magicmirror@2.13.0
                        7 verbose lifecycle magicmirror@2.13.0~start: unsafe-perm in lifecycle true
                        8 verbose lifecycle magicmirror@2.13.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi$
                        9 verbose lifecycle magicmirror@2.13.0~start: CWD: /home/pi/MagicMirror
                        10 silly lifecycle magicmirror@2.13.0~start: Args: [ '-c',
                        10 silly lifecycle   'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ]
                        11 silly lifecycle magicmirror@2.13.0~start: Returned: code: 1  signal: null
                        12 info lifecycle magicmirror@2.13.0~start: Failed to exec start script
                        13 verbose stack Error: magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                        13 verbose stack Exit status 1
                        13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                        13 verbose stack     at EventEmitter.emit (events.js:198:13)
                        13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                        13 verbose stack     at ChildProcess.emit (events.js:198:13)
                        13 verbose stack     at maybeClose (internal/child_process.js:982:16)
                        13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                        14 verbose pkgid magicmirror@2.13.0
                        15 verbose cwd /home/pi/MagicMirror
                        16 verbose Linux 5.4.51-v7l+
                        17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
                        18 verbose node v10.22.1
                        19 verbose npm  v6.14.6
                        20 error code ELIFECYCLE
                        21 error errno 1
                        22 error magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                        22 error Exit status 1
                        23 error Failed at the magicmirror@2.13.0 start script.
                        23 error This is probably not a problem with npm. There is likely additional logging output above.
                        24 verbose exit [ 1, true ]
                        
                        

                        Browser Log:

                        (index):5 Uncaught SyntaxError: Unexpected token / in JSON at position 79
                            at JSON.parse (<anonymous>)
                            at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
                        

                        Dev Log

                         npm start dev
                        
                        > magicmirror@2.13.0 start /home/pi/MagicMirror
                        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"
                        
                        [2020-10-14 14:23:35.170] [LOG]    Starting MagicMirror: v2.13.0
                        [2020-10-14 14:23:35.178] [LOG]    Loading config ...
                        [2020-10-14 14:23:35.184] [LOG]    Loading module helpers ...
                        [2020-10-14 14:23:35.187] [LOG]    No helper found for module: alert.
                        [2020-10-14 14:23:35.231] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:35.232] [LOG]    Module helper loaded: updatenotification
                        [2020-10-14 14:23:35.234] [LOG]    No helper found for module: MMM-Globe.
                        [2020-10-14 14:23:35.235] [LOG]    No helper found for module: MMM-Carousel.
                        [2020-10-14 14:23:35.236] [LOG]    No helper found for module: clock.
                        [2020-10-14 14:23:35.422] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:35.422] [LOG]    Module helper loaded: MMM-FRITZ-Box-Callmonitor
                        [2020-10-14 14:23:36.306] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:36.306] [LOG]    Module helper loaded: MMM-awesome-alexa
                        [2020-10-14 14:23:36.307] [LOG]    No helper found for module: iFrame.
                        [2020-10-14 14:23:36.664] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:36.665] [LOG]    Module helper loaded: MMM-NowPlayingOnSpotify
                        [2020-10-14 14:23:37.016] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.017] [LOG]    Module helper loaded: calendar
                        [2020-10-14 14:23:37.018] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.019] [LOG]    Module helper loaded: MMM-OnScreenMenu
                        [2020-10-14 14:23:37.019] [LOG]    No helper found for module: compliments.
                        [2020-10-14 14:23:37.158] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.159] [LOG]    Module helper loaded: internet-monitor
                        [2020-10-14 14:23:37.440] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.441] [LOG]    Module helper loaded: MMM-DWD-WarnWeather
                        [2020-10-14 14:23:37.442] [LOG]    No helper found for module: MMM-windy.
                        [2020-10-14 14:23:37.442] [LOG]    No helper found for module: currentweather.
                        [2020-10-14 14:23:37.571] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.571] [LOG]    Module helper loaded: MMM-Remote-Control
                        [2020-10-14 14:23:37.572] [LOG]    No helper found for module: weatherforecast.
                        [2020-10-14 14:23:37.573] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.574] [LOG]    Module helper loaded: MMM-SmartTouch
                        [2020-10-14 14:23:37.594] [LOG]    Initializing new module helper ...
                        [2020-10-14 14:23:37.594] [LOG]    Module helper loaded: newsfeed
                        [2020-10-14 14:23:37.595] [LOG]    All module helpers loaded.
                        [2020-10-14 14:23:37.692] [LOG]    Starting server on port 8080 ...
                        [2020-10-14 14:23:37.694] [INFO]   You're using a full whitelist configuration to allow for all IPs
                        [2020-10-14 14:23:37.700] [LOG]    Server started ...
                        [2020-10-14 14:23:37.701] [LOG]    Connecting socket for: updatenotification
                        [2020-10-14 14:23:37.702] [LOG]    Connecting socket for: MMM-FRITZ-Box-Callmonitor
                        [2020-10-14 14:23:37.703] [LOG]    Starting module: MMM-FRITZ-Box-Callmonitor
                        [2020-10-14 14:23:37.704] [LOG]    Connecting socket for: MMM-awesome-alexa
                        [2020-10-14 14:23:37.705] [LOG]    Connecting socket for: MMM-NowPlayingOnSpotify
                        [2020-10-14 14:23:37.706] [LOG]    Connecting socket for: calendar
                        [2020-10-14 14:23:37.706] [LOG]    Starting node helper for: calendar
                        [2020-10-14 14:23:37.707] [LOG]    Connecting socket for: MMM-OnScreenMenu
                        [2020-10-14 14:23:37.708] [LOG]    Connecting socket for: internet-monitor
                        [2020-10-14 14:23:37.709] [LOG]    internet-monitor helper started ...
                        [2020-10-14 14:23:37.709] [LOG]    Connecting socket for: MMM-DWD-WarnWeather
                        [2020-10-14 14:23:37.710] [LOG]    MMM-DWD-WarnWeather helper started...
                        [2020-10-14 14:23:37.710] [LOG]    Connecting socket for: MMM-Remote-Control
                        [2020-10-14 14:23:37.711] [LOG]    Starting node helper for: MMM-Remote-Control
                        [2020-10-14 14:23:37.717] [LOG]    Connecting socket for: MMM-SmartTouch
                        [2020-10-14 14:23:37.718] [LOG]    Connecting socket for: newsfeed
                        [2020-10-14 14:23:37.718] [LOG]    Starting node helper for: newsfeed
                        [2020-10-14 14:23:37.719] [LOG]    Sockets connected & modules started ...
                        [2020-10-14 14:23:37.726] [ERROR]  Whoops! There was an uncaught exception...
                        [2020-10-14 14:23:37.727] [ERROR]  Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
                            at Server.setupListenHandle [as _listen2] (net.js:1226:14)
                            at listenInCluster (net.js:1274:12)
                            at doListen (net.js:1413:7)
                            at processTicksAndRejections (internal/process/task_queues.js:84:9) {
                          code: 'EADDRINUSE',
                          errno: 'EADDRINUSE',
                          syscall: 'listen',
                          address: '0.0.0.0',
                          port: 8080
                        }
                        [2020-10-14 14:23:37.732] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        [2020-10-14 14:23:37.733] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        [2020-10-14 14:23:37.808] [LOG]    Launching application.
                        
                        
                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 9
                        • 10
                        • 4 / 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