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,