Web based FritzBox management using Python/Django.
Project description
django-fritzconnection
Web based FritzBox management using Python/Django and the great fritzconnection library.
The basic idea is to block/unblock Internet access to a group of devices as easily as possible.
Current state: early development stage
Existing features:
- actions:
- Change WAN access of a host or for all host of a group
- models:
- HostModel - A host/device that is/was connected to your FritzBox
- "Static" storage for all
FritzHosts().get_hosts_info()
information - Update in Admin via change list tools link and manage command
- "Static" storage for all
- HostGroupModel - Collect host/device into groups to manage "WAN access"
- Every group are listed on the front page
- Allow/Disallow "WAN access" for all hosts of a group with one click
- HostModel - A host/device that is/was connected to your FritzBox
- a few "test" views:
- Host information
- Get information about registered hosts
- Get raw mesh topology
- Diagnose
- Test FritzBox connection
- List all FritzBox services
- Host information
django-fritzconnection_ynh allows you to install django-fritzconnection quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.
Pull requests welcome ;)
Quick start for developers
~$ git clone https://github.com/jedie/django-fritzconnection.git
~$ cd django-fritzconnection
~/django-fritzconnection$ ./devshell.py
...
Developer shell - djfritz - v0.1.0.rc0
...
(djfritz) run_testserver
FritzBox Credentials
Some 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 Unauthorized
Shell script work-a-round for developing, e.g.:
#!/bin/bash
(
set -ex
export FRITZ_USERNAME="<username>"
export FRITZ_PASSWORD="<password>"
./devshell.py run_testserver
)
See also: Issues #5
versions
- dev
- TBC
- v0.1.0.rc0 - 08.04.2022
- NEW: 'Manage host WAN access via host-groups'
- NEW: Add "host group" model to collect hosts into groups
- NEW: 'List "last connect" information about hosts' view
- Display
FRITZ_USERNAME
andFRITZ_PASSWORD
(anonymized) on connection info page
- v0.0.2 - 04.04.2022
- Store Host information
- Possible to set WAN access for one host
- v0.0.1-alpha - 24.03.2022
- init the project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-fritzconnection-0.1.0rc0.tar.gz
.
File metadata
- Download URL: django-fritzconnection-0.1.0rc0.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af300a553573bf84e1c42551782899f12e63d5867a096d7c120059b5c8f2aadf |
|
MD5 | a6111fd2bb6be6a91609b054a4f43ebb |
|
BLAKE2b-256 | 080cf69eebe7b7be3a375cd3891153decdb018d46f692b593c69dc182c2f69a4 |
Provenance
File details
Details for the file django_fritzconnection-0.1.0rc0-py3-none-any.whl
.
File metadata
- Download URL: django_fritzconnection-0.1.0rc0-py3-none-any.whl
- Upload date:
- Size: 77.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7708950252242d87eae3922c79b004daeaccaf632a1a4722c03d6e7275c169f |
|
MD5 | ac570a8c83c451d02f3db60c61b21b3e |
|
BLAKE2b-256 | ec4e80844be4fb82ffd8f3a1dae76db8b98ad3fbcab331a971881499b8117537 |