Read the statement by Michael Teeuw here.
MMM-FRITZ-Box-Callmonitor
-
Hi @Jopyth, Hi all,
good news: It works after installing python-lxml as follows:
sudo apt-get install python-lxmlThank you very much for your support and have a nice weekend!
-
Hi all,
I have installed MagicMirror and the MMM-FRITZ-Box-Callmonitor two times from scratch and get the same error from the MMM-FRITZ-Box-Callmonitor:

I’ve followd the thread and tried finally:
“python fritz_access.py -p password -u user -i ip-of-fritzbox”
and get the following error message:
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:1Do you have any ideas?
-
@Photon2000 Can you try to execute this:
python -c "import fritzconnection as fc; fc.print_api(password='PWD')"and have a look at your model and OS version? Maybe they changed something in the API, or you have an older version? -
Thx for fast reply!
sudo python -c “import fritzconnection as fc; fc.print_api(password=‘PWD’)”
gives:
FritzConnection:
version: 0.6
model: None
FritzBox API:and
uname -a
Linux Aragorn 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:09:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
-
I have the same problem:
no recent calls with “unknown error” in brackets like Photon2000, when I do
python fritz_access.py -p pwd -u user -i 192.168.2.1 (the IP of my fritz.box) I get: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/lxml.etree.pyx”, line 3213, in lxml.etree.fromstring (src/lxml/lxml.etree.c:79010)
File “src/lxml/parser.pxi”, line 1848, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:118341)
File “src/lxml/parser.pxi”, line 1736, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:117021)
File “src/lxml/parser.pxi”, line 1102, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:111265)
File “src/lxml/parser.pxi”, line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105109)
File “src/lxml/parser.pxi”, line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:106817)
File “src/lxml/parser.pxi”, line 635, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:105671)
File “”, line 1
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: HR line 1 and BODY, line 1, column 146Any chance this can be fixed?
I allready tried all of the above… -
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
-
@domi256 looks like you didnt install the dependencies with
npm installin/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor -
This post is deleted! -
@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 …
-
@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:1Today 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. -
@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 doneWhat do i need to check?
-
@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 -
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(
-
@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
-
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. :(
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