{"id":23677124,"url":"https://github.com/frimtec/hass-compal-wifi","last_synced_at":"2025-09-02T05:31:28.919Z","repository":{"id":39626599,"uuid":"338782385","full_name":"frimtec/hass-compal-wifi","owner":"frimtec","description":"Home Assistant component to switch WiFi on/off for Compal CH7465LG modem.","archived":false,"fork":false,"pushed_at":"2024-03-29T09:18:41.000Z","size":536,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-30T09:46:22.592Z","etag":null,"topics":["ch7465lg","compal","compal-wifi-switch","home-assistant","home-automation","switch","wifi","wlan"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frimtec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-02-14T10:45:50.000Z","updated_at":"2023-12-16T22:53:42.000Z","dependencies_parsed_at":"2023-02-08T13:01:42.493Z","dependency_job_id":"486ffb79-fd97-451e-ad7c-6d60ea8f7cf6","html_url":"https://github.com/frimtec/hass-compal-wifi","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frimtec%2Fhass-compal-wifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frimtec%2Fhass-compal-wifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frimtec%2Fhass-compal-wifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frimtec%2Fhass-compal-wifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frimtec","download_url":"https://codeload.github.com/frimtec/hass-compal-wifi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231749519,"owners_count":18420825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ch7465lg","compal","compal-wifi-switch","home-assistant","home-automation","switch","wifi","wlan"],"created_at":"2024-12-29T14:58:37.106Z","updated_at":"2025-09-02T05:31:28.892Z","avatar_url":"https://github.com/frimtec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compal Wi-Fi integration for Home Assistant\n[![hacs_badge][hacs-shield]][hacs]\n![Project Maintenance][maintenance-shield]\n[![License][license-shield]][license]\n\n![Downloads][downloads-shield]\n![Downloads][downloads-latest-shield]\n\n\n[![Build Status][build-status-shield]][build-status]\n[![Deploy Status][deploy-status-shield]][deploy-status]\n\n![Icon](images/icon-readme.png)\n\n---\n**_Contributions Only:_**\n_I no longer have a Compal modem and can therefore not actively work on this project anymore.\nSo all future development will be from pull requests submitted by the community.  \nWhat I will do:_\n* _review pull requests_\n* _publish new releases upon request_\n---\nHome Assistant component to switch Wi-Fi of the modem Compal CH7465LG on or off.\nThe component is tested with the following modem firmware versions:\n* ```NCIP-6.15.30-1p3-1-NOSH```\n* ```NCIP-6.15.30-1p6-NOSH```\n*  ```NCIP-6.15.31p1-NOSH```\n\n![WiFi switches!](images/compal-wifi.png)\n\nThis component is not official, developed, supported or endorsed by Compal.\n\n## Installation\n\n### HACS (recommended)\n\nYou can install this component through [HACS](https://hacs.xyz/) to easily receive updates. Once HACS is installed, click this link:\n[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=frimtec\u0026repository=hass-compal-wifi)\n\n### Manual\n\n1. Using the tool of choice to open the directory (folder) for your HA configuration (where you find `configuration.yaml`).\n2. If you do not have a `custom_components` directory there, you need to create it.\n3. Create an empty directory `compal_wifi` inside the directory `custom_components`.\n4. Download the ZIP archive `compal_wifi.zip` from the [latest release assets][latest-release].   \n5. Extract the downloaded ZIP archive to the directory `custom_components/compal_wifi`.\n6. Move on to the configuration in the file `configuration.yaml`.\n7. Restart Home Assistant.\n\n## Configuration \n \nAdd a configuration to your `configuration.yaml` file:\n``` yaml\ncompal_wifi:\n    host: 192.168.1.1\n    password: YOUR_PASSWORD\n```\nUse host `0.0.0.0` for testing with a virtual modem.\n\n### Configuration options\n\n| Key                | Type     | Required | Description                                                         |\n|--------------------|----------|----------|---------------------------------------------------------------------|\n| `host`             | `string` | `True`   | The hostname or IP address of your compal modem, e.g., 192.168.0.1. |\n| `password`         | `string` | `True`   | The password for your modems administration account.                |\n| `guest`            | `bool`   | `False`  | Enable guest network when switching ON WIFI.                        |\n| `pause`            | `int`    | `False`  | Number of seconds to wait between modem changes (default 70s).      |\n| `polling_interval` | `int`    | `False`  | Number of seconds to poll modem state (default 900s - 15m).         |\n\n## Platforms\n\n### Switch\nThe component offers three switches to turn Wi-Fi bands on or off:\n\n| Entity            | Description                   |\n|-------------------|-------------------------------|\n| `switch.wifi_2g`  | Switch for 2.4 GHz WiFi band. |\n| `switch.wifi_5g`  | Switch for 5 GHz WiFi band.   |\n| `switch.wifi_all` | Switch for both WiFi bands.   |\n\nBe aware, switching Wi-Fi bands on or off are slow operations. If you want to switch all bands on or off better use the\ncomposite switch (all) instead of the single band switches. \nThe switches offer additional state info to supervise the current switch progress.\n\nThe Wi-Fi switches offer the following state information\n\n| Name              | Values                 | Description                                                                                       |\n|-------------------|------------------------|---------------------------------------------------------------------------------------------------|\n| `state`           | `on` or `off`          | Switch state.                                                                                     |\n| `switch_progress` | `on`, `off` or `error` | Whether a switch change is in progress or not or `error` if the last switch operation was faulty. |\n\n### Sensor \u0026 Binary sensor \nThe component offers various sensors:\n\n| Entity                                                | Description                       |\n|-------------------------------------------------------|-----------------------------------|\n| binary_sensor.compal_wifi_modem_guest_wifi            | Guest Wifi state                  |\n| binary_sensor.compal_wifi_modem_internet_connectivity | Modem internet connectivity state |\n| binary_sensor.compal_wifi_modem_telephone_line_1      | Telephone line 1 state            |\n| binary_sensor.compal_wifi_modem_telephone_line_2      | Telephone line 2 state            |\n| sensor.compal_wifi_modem_last_poll                    | Timestamp of last status poll     |\n| sensor.compal_wifi_modem_model                        | Modem model                       |\n| sensor.compal_wifi_modem_hardware_version             | Hardware version                  |\n| sensor.compal_wifi_modem_software_version             | Software version                  |\n| sensor.compal_wifi_modem_operator                     | Modem operator                    |\n| sensor.compal_wifi_modem_uptime                       | Modem uptime                      |\n\n## Services\nThe component offers the following services:\n\n| Name                 | Description                                |\n|----------------------|--------------------------------------------|\n| compal_wifi.poll_now | Polls the status of the modem immediately. |\n| compal_wifi.reboot   | Reboots the modem.                         |\n\n## Integration\nThe integration with the compal modem is done using [compal-wifi-switch][compal-wifi-switch].  \n\n[hacs-shield]: https://img.shields.io/badge/HACS-Default-blue.svg\n[hacs]: https://github.com/hacs/integration\n[downloads-latest-shield]:https://img.shields.io/github/downloads/frimtec/hass-compal-wifi/latest/total\n[downloads-shield]:https://img.shields.io/github/downloads/frimtec/hass-compal-wifi/total\n[maintenance-shield]: https://img.shields.io/maintenance/no/2023.svg\n[license-shield]: https://img.shields.io/github/license/frimtec/hass-compal-wifi.svg\n[license]: https://opensource.org/licenses/Apache-2.0\n[build-status-shield]: https://github.com/frimtec/hass-compal-wifi/actions/workflows/build.yml/badge.svg\n[build-status]: https://github.com/frimtec/hass-compal-wifi/actions/workflows/build.yml\n[deploy-status-shield]: https://github.com/frimtec/hass-compal-wifi/actions/workflows/deploy_release.yml/badge.svg\n[deploy-status]: https://github.com/frimtec/hass-compal-wifi/actions/workflows/deploy_release.yml\n[latest-release]: https://github.com/frimtec/hass-compal-wifi/releases/latest\n[compal-wifi-switch]: https://github.com/frimtec/compal-wifi-switch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrimtec%2Fhass-compal-wifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrimtec%2Fhass-compal-wifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrimtec%2Fhass-compal-wifi/lists"}