Skip to content

homeworkprod/fritzbox-reconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

fritzbox-reconnect.py

Instruct an AVM FRITZ!Box via UPnP to reconnect.

This is usually realized with tools like Netcat or cURL. However, when developing in Python anyway, it is more convenient to integrate a native implementation. This one requires Python 2.5 or higher.

UPnP (Universal Plug and Play) control messages are based on SOAP, which is itself based on XML, and transmitted over HTTP.

Make sure UPnP is enabled on the FRITZ!Box.

A reconnect only takes a few second while restarting the box takes about up to a minute; not counting the time needed to navigate through the web interface.

License

Licensed under the terms of the MIT license.

Author

Created by Jochen Kupperschmidt.