Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 943 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 943 Bytes

python-fritzbox

Automation scripts for the Fritz!Box by using Python.

Features

Phone books

  • Convert into Fritz!Box XML format
    • VCARD address books (VCF)
    • Thunderbird address books (LDIF)
    • Various other address book formats (CSV)

Phone spam blacklist

  • Import
  • Download phone blacklist from ktipp (https://www.ktipp.ch), which is a phone spam blacklist periodically updated
  • Save into Fritz!Box XML format

Tested hardware

Tested with

  • Fritzbox 5590

Install on Debian (bookworm)

sudo apt-get install python3

git clone https://github.com/pamapa/python-fritzbox.git
cd python-fritzbox
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt

Examples

# Convert a LDIF address book into Fritz!Box XML format:
fritzboxphonebook.py --load mybook.ldif --save mybook.xml