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.0.tar.gz
.
File metadata
- Download URL: compal-wifi-switch-0.1.0.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 | 02271f63cb4642c3a69330f5083394ef22c1c35ed44254fd36e48b8b3db38169 |
|
MD5 | d9511bdc1c42bb03caf00d9cf27364dd |
|
BLAKE2b-256 | 17ccfbb052b5b201ac0cc3a2f642f67bbc47edc73bfdc8f4a8b3301175464268 |
File details
Details for the file compal_wifi_switch-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: compal_wifi_switch-0.1.0-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 | 1820dcc07a8d21af93c9ac9ec1824e1acf96f3107aaf7fb3f20d9f7680299f6e |
|
MD5 | b9a782228242b650d113d7bae6602f43 |
|
BLAKE2b-256 | 364d78c4e2e3d723d483786851aa16f64ce5c0a40ba577f145c67ee84063b8c1 |