paviro / MMM-FRITZ-Box-Callmonitor

This an extension for the MagicMirror. It provides a callmonitor for FRITZ!Box users alerting them about incoming calls.
28 stars 22 forks source link

TR-064 API continued #17

Closed Jopyth closed 7 years ago

Jopyth commented 7 years ago

Currently there is the issue, that if the Fritz API is used to load recent calls + phonebook, it breaks after a certain number of uses, due to an internal problem of the library used to access the API. I will prepare a PR to solve this issue.

Also I suggest a small (optional) status icon, which shows how many contacts are loaded, or if some error happened.

paviro commented 7 years ago

Thanks!

paviro commented 7 years ago

Idee? https://forum.magicmirror.builders/topic/657/mmm-fritz-box-callmonitor

paviro commented 7 years ago

And one more :D https://forum.magicmirror.builders/topic/713/mmm-fritz-box-callmonitor

Jopyth commented 7 years ago

Das recht Fritz!Box Einstellungen zu lesen und zu bearbeiten (der erste Punkt im Screenshot) muss aktiviert sein. Ich kann morgen auch selber antworten. Dann sollte es hoffentlich gehen. 

Jopyth commented 7 years ago

Unfortunately I can not reproduce the second error. Just created a secondary fresh install of MM, and it worked fine with the following config:

git clone git@github.com:MichMich/MagicMirror.git MagicMirror
cd MagicMirror
npm install
cd modules
git clone git@github.com:paviro/MMM-FRITZ-Box-Callmonitor.git
cd config
cp config.js.sample config.js
# edit config here, for example with nano
nano config.js
# finish installation
cd ..
cd modules/MMM-FRITZ-Box-Callmonitor
npm install
cd ../..
node serveronly

Added this to my config:

        {
            module: 'MMM-FRITZ-Box-Callmonitor',
            position: 'top_right',
            header: "Calls",
            config: {
                username: "XXX",
                password: "XXX"
            }
        },