Read the statement by Michael Teeuw here.
MMM-FRITZ-Box-Callmonitor
-
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,
-
-
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 -
@Laurids Did you solve the Problem? Same here!
-
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.
-
In case you haven’t noticed, @paviro is looking for a maintainer for this module.
https://github.com/paviro/MMM-FRITZ-Box-Callmonitor/issues/40Would love to see this working!
-
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).
-
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 -->
and it works very well in combination with my Fritzbox 7590 running on 7.20
Best Regards
-
@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.
-
@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.jsonedit out the comment line, not allowed in json file