mknx / smarthome

http://mknx.github.io/smarthome/
GNU General Public License v3.0
126 stars 69 forks source link

FritzBox Plugin: Added Support for phonebook lookup and fixed callmonitor attaching #178

Closed jentz1986 closed 5 years ago

jentz1986 commented 9 years ago

Callmonitor attaching had a timing issue with the attachment of logics. if the plugin was loaded earlier than the logics, no callmonitor was setup.

SID of FritzBox never expired, so it was used regardless of its validity. AVM requires to receive a new SID every 10mins, so a timeout was added.

Additional Feature: Phonebook lookup, added feature to download and compare callers number with phonebook-entries from fritzbox (only working with first phonebook, other phonebooks are ignored)