CLI tool to switch on/off the wifi module of a Compal cabelmodem (CH7465LG/Ziggo Connect Box)
Project description
Compal-Wifi-Switch
A command line tool to switch on/off the wifi sender of a Compal CH7465LG cablemodem.
Wifi radiation should be turned off if not used (better for your health and for IT security reasons). Unfortunattly the Compal CH7465LG cablemodem does not offer a physical button to switch on/off the wifi module. There is also no configuration possible to switch the wifi module on/off based on a time schedule (e.g. switch off during night).
The compal-wifi-switch tool can switch wifi on/off via a command line interface. The tool can be installed on a server where Python runtime is available (NAS, Raspberry Pi, etc.). To schedule compal-wifi-switch you can use cron or any other scheduling mechanism.
Installation
- Install python3.7 or higher
- Install compal-wifi-switch via
pip install compal-wifi-switch
.
Usage
usage: compal-wifi-switch [-h] --host HOST --password PASSWORD --switch
{on,off} [--band {2g,5g,all}]
Compal-Wifi-Switch configuration
optional arguments:
-h, --help show this help message and exit
--host HOST host name or IP of compal cablemodem, or use env
variable COMPAL_WIFI_SWITCH_HOST
--password PASSWORD password of compal cablemodem, or use env variable
COMPAL_WIFI_SWITCH_PASSWORD
--switch {on,off} wifi power state to set
--band {2g,5g,all} band to switch power state for (default = all)
Credits
- Using compal_CH7465LG_py by ties to communicate with Compal cable modem.
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 compal-wifi-switch-0.1.1.tar.gz
.
File metadata
- Download URL: compal-wifi-switch-0.1.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f83a4c98d1673659f805fa1b7b9b9248f506c692cac3b5c6c175b3226c6a4f36 |
|
MD5 | 3347f2bca56d6c6b9684e93719be7306 |
|
BLAKE2b-256 | cb7068a1852e61cc1b277ec3ec01861ec90681f856707916c4b8a61ad99943ab |
File details
Details for the file compal_wifi_switch-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: compal_wifi_switch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5bfd0aa24726b4ef3c245840ed49282cc6a4c6e3cb2752116c00e1f3c292e8 |
|
MD5 | d83bb5aa6dc55bfd7d2f07052d88603c |
|
BLAKE2b-256 | a71fda74c3f001ae6da35d5ef70221c86f8ab0ec5d4e8a83c5ae05cc03a1ff68 |