Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Error while loading the contacts #39

Open
mkrause4 opened this issue Jul 12, 2020 · 2 comments
Open

Error while loading the contacts #39

mkrause4 opened this issue Jul 12, 2020 · 2 comments

Comments

@mkrause4
Copy link

mkrause4 commented Jul 12, 2020

I have the following problem: The contacts of my Fritzbox are not loading. A loading symbol is permanently displayed. What can I do?

Picture

My configuration looks like this:

{
module: 'MMM-FRITZ-Box-Callmonitor',
position: 'top_left',
header: 'Verpasste Anrufe',
config: {
//vCard: 'home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/vCard1.vcf',
username: "pi",
password: "raspberry",
showContactsStatus: true,
maximumCallDistance: 300,
deviceFilter: [],
debug: "true"
}
},

Info: I use the user pi and the password raspberry also for the Fritzbox user.

@derflippo
Copy link

I have the same problem. I am using the API instead of the vCard but also having no contacts synced.
Would be great if someone would have a clue.

My config:

    {
            module: 'MMM-FRITZ-Box-Callmonitor',
            position: 'bottom_left', 
            header: "Kürzliche Anrufe", 
            config: {
                    username: 'xyz',
                    password: 'xyz!',
                    reloadContactsInterval: '120',
                    fritzIP: '192.168.178.1',
                    fritzPort: '1012',
                    showContactsStatus: 'true',                     
                    debug: 'true'
                    }
     },

@PieBa
Copy link

PieBa commented Oct 13, 2020

It looks like an issue I also had. I assume this happens if you have more than one phone book in your Fritzbox.
For me this workaround fixed the issue:

In file fritz_access.py just add .replace(",","") in line 26 before the :
So the complete new line 26 would be like this:
for phonebook_id in result["NewPhonebookList"].replace(",",""):

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants