MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

MMM-FRITZ-Box-Callmonitor



  • my problem has vanished. I have reinstalled the module and did

    npm install

    twice, now it is working.



  • Hey i got a Problem with this module,
    I installed it from the instructions, and added this to config.js:

    {
    			module: "MMM-FRITZ-Box-Callmonitor",
    			position: "top_left",
    			header: "Recent calls",
    			config: {
    				username: "raspi",
    				password: "domi1234",
    				maximumCallDistance: 7200,
    				showContactsStatus: true
    			}
    		},
    

    If i want to start it via npm start, i get an error Message like this:

    pi@mirror:~/MagicMirror $ npm start
    
    > magicmirror@2.1.1 start /home/pi/MagicMirror
    > sh run-start.sh
    
    Starting MagicMirror: v2.1.1
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    Initializing new module helper ...
    Module helper loaded: updatenotification
    Initializing new module helper ...
    Module helper loaded: ping
    No helper found for module: clock.
    Initializing new module helper ...
    Module helper loaded: calendar
    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-fritzbox-callmonitor'
    Loading module helpers ...
    No helper found for module: alert.
    Initializing new module helper ...
    Module helper loaded: updatenotification
    Initializing new module helper ...
    Module helper loaded: ping
    No helper found for module: clock.
    Initializing new module helper ...
    Module helper loaded: calendar
    App threw an error during load
    Error: Cannot find module 'node-fritzbox-callmonitor'
        at Module._resolveFilename (module.js:470:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object. (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:4:21)
        at Object. (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:259:3)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
    Whoops! There was an uncaught exception...
    { Error: Cannot find module 'node-fritzbox-callmonitor'
        at Module._resolveFilename (module.js:470:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object. (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:4:21)
        at Object. (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:259:3)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' }
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    Launching application.
    
    

    Can someone help me please? 😞

    Thank you verry much


  • Project Sponsor Module Developer

    @domi256 looks like you didnt install the dependencies with npm install in /home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor


  • Moderator

    This post is deleted!

  • Project Sponsor

    @Jopyth I also have trouble with this module: Once I get a call, a window pops up and shows me the number. So far all o.k. But the recent call list is still empty.
    Maybe it depends on my Fritz!box configuration: I use for security a password to
    have access to the Fritz!box. in the configuration options for the MMM-Callmonitor I do not see an command to handle this password. Is it necessary to remove it?
    Regards Mike



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


  • Project Sponsor

    @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



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



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



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