Package: django-fritzconnection
django-fritzconnectionWeb based FritzBox management using Python/Django and the greatfritzconnectionlibrary.The basic idea is to block/unblock Internet access to a group of devices as easily as possible.Current state:early development stageExisting features:actions:Change WAN access of a host or for all host of a groupmodels:HostModel - A host/device that is/was connected to your FritzBox"Static" storage for allFritzHosts().get_hosts_info()informationUpdate in Admin via change list tools link and manage commandHostGroupModel - Collect host/device into groups to manage "WAN access"Every group are listed on the front pageAllow/Disallow "WAN access" for all hosts of a group with one clicka few "test" views:Host informationGet information about registered hostsGet raw mesh topologyDiagnoseTest FritzBox connectionList all FritzBox servicesdjango-fritzconnection_ynhallows you to install django-fritzconnection quickly and simply on a YunoHost server. If you don't have YunoHost, please consultthe guideto learn how to install it.Pull requests welcome ;)Screenshotsmore screenshotsmore screenshotsQuick start for developers~$ git clone https://github.com/jedie/django-fritzconnection.git
~$ cd django-fritzconnection
~/django-fritzconnection$ ./manage.pyFritzBox CredentialsSome of the FritzBox API requests needs a login. Currently the only way to store FritzBox Credentials is to add them into the environment.Error message if login credentials are missing is:Unable to perform operation. 401 UnauthorizedShell script work-a-round for developing, e.g.:#!/bin/bash

(
    set -ex
    export FRITZ_USERNAME="<username>"
    export FRITZ_PASSWORD="<password>"

    ./devshell.py run_dev_server
)See also:Issues #5Make new releaseWe usecli-base-utilitiesto generate the history in this README.To make a new release, do this:Increase your project version numberRun tests to update the READMEcommit the changesCreate releaseHistorySee also git tags:https://github.com/jedie/manageprojects/tagsv0.3.02023-11-28 - fix CI and activate PYTHONWARNINGS only for the tests2023-11-28 - fix tox config2023-11-28 - Revert deletion of AUTHORS and LICENSE and remove obsolete snapshot file2023-11-28 - Remove different Django version from test matrix: Just use the newest release2023-11-28 - Fix tests2023-11-28 - Skip fetching host information if there is no IP address2023-11-28 - Log any fritzconnection call action2023-11-28 - generate the history in README2023-11-28 - fix code style2023-11-28 - Run django-upgrade2023-11-28 - +"flake8-bugbear"2023-11-28 - Switch from drv-shell to manage_django_project2023-06-11 - Update requirements2022-09-21 - Setup Github PyPi Cache2022-09-21 - Replace DynamicViewMenu withbx_django_utils.admin_extra_views2022-09-21 - Use RunServerCommand from django-tools2022-08-12 - fix CI2022-08-12 - update CI2022-05-29 - Remove Django v2.2 from text matrix2022-05-29 - "python3 devshell.py" -> "./devshell.py"2022-05-29 - Update tox setupv0.2.02022-05-15 - Release v0.2.02022-05-15 - Add test for host changelist + unique name filter2022-05-15 - NEW: Hosts admin action to ping all IPs from selected hosts2022-05-11 - Add host change list filter "unique name"2022-04-30 - Update requirementsv0.1.02022-04-08 - Update README.md2022-04-08 - Skip hosts without IP in group management2022-04-08 - Handle updating not existing host2022-04-08 - Set v0.1.0.rc02022-04-08 - Bugfix adding new hosts without a groupv0.0.32022-04-08 - NEW: 'Manage host WAN access via host-groups'2022-04-08 - NEW: Group host entries2022-04-08 - Add some info about username/password2022-04-08 - Update README.md2022-04-08 - Display FRITZ_USERNAME and FRITZ_PASSWORD on connection info page2022-04-08 - set v0.0.3.rc02022-04-07 - NEW: 'List "last connect" information about hosts' view2022-04-07 - Fix typo in URLExpand older history entries ...v0.0.22022-04-04 - Render tags under name in change list2022-04-04 - Reoder admin change list2022-04-02 - Update README.md2022-04-02 - Fix python version in github actions2022-04-02 - Support Python 3.72022-04-02 - SUpport and test with Python 3.7 (for YunoHost)2022-04-01 - NEW First usable action: "Change WAN access of a host"2022-04-01 - Store "WAN access state" for every host2022-04-01 - Display the RAW mesh topology JSON data2022-04-01 - Store host IP v4 address from FritzBox2022-04-01 - Remove django "sites"2022-03-31 - Add translations2022-03-31 - Delete wrong translation files2022-03-31 - Add "HostModel" to store all "fh.get_hosts_info()" information2022-03-31 - Bugfix settings.BASE_PATH2022-03-31 - Raise traceback on manage command errors2022-03-31 - Add a view to list all registered hosts and change internet access for one host2022-03-31 - cleanup gitignore2022-03-31 - Add FritzBox connection information in admin header2022-03-31 - Catch and log FritzConnectionException2022-03-31 - Add django admin context to diagnose views2022-03-29 - Enhance 'List all FritzBox services'2022-03-29 - Add 'List all FritzBox services' view2022-03-29 - Add 'Test FritzBox connection' view to admin index2022-03-24 - fix version2022-03-24 - Bugfix "publish" command2022-03-24 - Update README2022-03-24 - fix tests2022-03-24 - Init project2022-03-24 - Initial commit