• 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 97.9k 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 @kwaeksler
    last edited by Jan 21, 2017, 8:19 AM

    @kwaeksler Also, is there any new output in the logs?

    Helpful sticky: How to troubleshoot

    1 Reply Last reply Reply Quote 0
    • B Offline
      boardnick
      last edited by Jan 21, 2017, 3:59 PM

      Hi alltogether,

      as suggested by ostfilinchen i updated nodejs with the same commands as kwaekler: Also without success :-(
      In addition and also suggested by ostfilinchen i removed the module folder and reinstalled the module again: Also without success :-(

      @Jopyth (btw: Thank you for supporting us!):

      mm-error-0.log tells me the following

      MMM-FRITZ-Box-Callmonitor error while accessing FRITZ!Box: 
      Traceback (most recent call last):
        File "/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/fritz_access.py", line 1, in 
          import argparse, os, fritzconnection, urllib2, sys, json
        File "/usr/local/lib/python2.7/dist-packages/fritzconnection/__init__.py", line 3, in 
          from .fritzconnection import (
        File "/usr/local/lib/python2.7/dist-packages/fritzconnection/fritzconnection.py", line 39, in 
          from lxml import etree
      ImportError: No module named lxml
      

      As promissed before just some additional environmental informations from my side:

      • Fritz!Box Fon WLAN 7390 (UI) with Fritz!OS, Version 06.51
      • Raspberry Pi 2 Model B V1.1, OS: 2016-11-25-raspbian-jessie-lite
      • Nodejs version 7.4.0
      • extract from config-.js regarding the module:
      	{
      			module: 'MMM-FRITZ-Box-Callmonitor',
      			position: 'top_right',  // This can be any of the regions. Best results in left or right regions.
      			header: "Kürzliche Anrufe", // This is optional
      			config: {
      				fritzIP: '10.0.1.1',
      				username: 'magicmirror',
      				password: '**********',
      				reloadContactsInterval: 5,
      				debug: true,
      				showContactsStatus: true
      			}
      		},
      
      O J 2 Replies Last reply Jan 21, 2017, 4:04 PM Reply Quote 0
      • O Offline
        ostfilinchen @boardnick
        last edited by Jan 21, 2017, 4:04 PM

        @boardnick can u Login to the fritz.box with the User MagicMirror and the password?

        1 Reply Last reply Reply Quote 0
        • B Offline
          boardnick
          last edited by Jan 21, 2017, 10:13 PM

          @ostfilinchen yes i’m able to login using this user / password.

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jopyth Moderator @boardnick
            last edited by Jopyth Jan 22, 2017, 11:26 AM Jan 22, 2017, 11:25 AM

            @boardnick From your logs I read, that lxml is not installed, did you execute step 3 of the installation?

            Edit: Did anything during execution of this command go wrong? sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev && sudo pip install fritzconnection

            Helpful sticky: How to troubleshoot

            1 Reply Last reply Reply Quote 1
            • B Offline
              boardnick
              last edited by Jan 23, 2017, 5:37 PM

              @Jopyth Thank you for your respond!

              Yes, i executed step 3 of the installation. As far as a remember […] nothing did go wrong.
              Hoping that i did not damage anything i executed your listed command one by one once again:

              sudo apt-get install python-dev
              –> already latest version

              sudo apt-get install libxml2-dev
              –> already latest version

              sudo apt-get install libxslt1-dev
              –> already latest version

              sudo apt-get install zlib1g-dev
              –> already latest version

              sudo pip install fritzconnection
              –> Requirement already satisfied (use --upgrade to upgrade): fritzconnection in /usr/local/lib/python2.7/dist-packages
              Cleaning up…

              So for the last command i additionally executed
              sudo pip install fritzconnection --upgrade
              –> Requirement already up-to-date: fritzconnection in /usr/local/lib/python2.7/dist-packages
              Cleaning up…

              J 1 Reply Last reply Jan 23, 2017, 6:44 PM Reply Quote 0
              • J Offline
                Jopyth Moderator @boardnick
                last edited by Jan 23, 2017, 6:44 PM

                @boardnick That is strange. Can you try calling the python connection script directly? For example, replace your password, user and IP in this command python fritz_access.py -p passwd -u user -i 192.168.FRITZ.BOX? Needs to be called from the MMM-FRITZ-Box-Callmonitor directory.

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 0
                • B Offline
                  boardnick
                  last edited by Jan 24, 2017, 4:25 PM

                  @Jopyth i tried calling it directly and get the same result:

                  0_1485275096473_upload-ad5969e4-3d7d-42b8-80c5-6f033ec526f4

                  J 1 Reply Last reply Jan 25, 2017, 12:21 PM Reply Quote 0
                  • J Offline
                    Jopyth Moderator @boardnick
                    last edited by Jopyth Jan 25, 2017, 12:22 PM Jan 25, 2017, 12:21 PM

                    @boardnick Well the good news in that case is: You just need to fix this error, and it should work fine. Does this work? Or any of the things google spits out? If yes, please let me know, maybe the current way of installing lxml is not the best one.

                    Helpful sticky: How to troubleshoot

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      boardnick
                      last edited by Jan 25, 2017, 6:12 PM

                      @Jopyth i’m trying to test the recommended links this weekend and give you a feedback afterwards.
                      Thank you so far!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 9
                      • 10
                      • 4 / 10
                      4 / 10
                      • First post
                        40/99
                        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