Skip to main content

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

  1. Install python3.7 or higher
  2. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compal-wifi-switch-0.1.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

compal_wifi_switch-0.1.1-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page