{"id":50309343,"url":"https://github.com/cinderblock/homeassistant-glinet","last_synced_at":"2026-05-28T19:30:24.488Z","repository":{"id":356463448,"uuid":"1232637949","full_name":"cinderblock/homeassistant-glinet","owner":"cinderblock","description":"Home Assistant HACS integration for GL.iNet router repeater control","archived":false,"fork":false,"pushed_at":"2026-05-08T08:02:35.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-08T08:13:39.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinderblock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-08T06:00:59.000Z","updated_at":"2026-05-08T08:02:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cinderblock/homeassistant-glinet","commit_stats":null,"previous_names":["cinderblock/homeassistant-glinet"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/cinderblock/homeassistant-glinet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fhomeassistant-glinet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fhomeassistant-glinet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fhomeassistant-glinet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fhomeassistant-glinet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinderblock","download_url":"https://codeload.github.com/cinderblock/homeassistant-glinet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fhomeassistant-glinet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33624202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-28T19:30:23.678Z","updated_at":"2026-05-28T19:30:24.483Z","avatar_url":"https://github.com/cinderblock.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GL.iNet Router Integration for Home Assistant\n\nA [HACS](https://hacs.xyz/) custom integration that exposes your GL.iNet router's **repeater** (Wi-Fi client) functionality in Home Assistant. See what network the router is connected to, scan for available networks, and switch connections — all from the HA UI or automations.\n\nWorks with any GL.iNet router running firmware **4.x** (tested on GL-XE3000 / Puli AX).\n\n## Features\n\n- **Repeater SSID sensor** — shows the currently connected Wi-Fi network\n- **Signal strength sensor** — reports signal level in dBm (updated after scans)\n- **Scan button** — triggers a fresh Wi-Fi scan (takes 5-10 seconds)\n- **Disconnect button** — disconnects from the current network\n- **Network select** — pick a network from scan results to connect\n- **`glinet.connect_wifi` service** — connect to any SSID with an optional password (for automations or new networks)\n\n## Installation\n\n### HACS (recommended)\n\n1. Open HACS in Home Assistant\n2. Go to **Integrations** → three-dot menu → **Custom repositories**\n3. Add this repository URL, category **Integration**\n4. Search for \"GL.iNet Router\" and install\n5. Restart Home Assistant\n\n### Manual\n\n1. Copy `custom_components/glinet/` into your Home Assistant `config/custom_components/` directory\n2. Restart Home Assistant\n\n## Configuration\n\n1. Go to **Settings** → **Devices \u0026 Services** → **Add Integration**\n2. Search for \"GL.iNet Router\"\n3. Enter your router's IP address and admin password\n4. The integration validates the connection during setup\n\n## Entities\n\n| Entity | Type | Description |\n|--------|------|-------------|\n| Repeater SSID | Sensor | Currently connected Wi-Fi SSID |\n| Repeater Signal | Sensor | Signal strength (dBm) of connected network |\n| Scan Wi-Fi | Button | Trigger a fresh network scan |\n| Disconnect Wi-Fi | Button | Disconnect repeater from current AP |\n| Repeater Network | Select | Pick a scanned network to connect to |\n\n## Services\n\n### `glinet.connect_wifi`\n\nConnect to a Wi-Fi network by SSID with an optional password.\n\n| Field | Required | Description |\n|-------|----------|-------------|\n| `ssid` | Yes | Network name to connect to |\n| `key` | No | Network password (omit for saved/open networks) |\n\nExample automation:\n```yaml\nservice: glinet.connect_wifi\ndata:\n  ssid: \"MyNetwork\"\n  key: \"my-password\"\n```\n\n## How It Works\n\nThe integration communicates with the GL.iNet router via its local JSON-RPC API (HTTP, port 80). Authentication uses a challenge-response flow with SHA-256 crypt. All API calls are synchronous (urllib) wrapped in Home Assistant's executor for async compatibility.\n\nThe coordinator polls the router every 60 seconds for lightweight status (saved networks, config). Wi-Fi scans are only triggered manually via the button entity since they take 5-10 seconds and temporarily block the radio.\n\n## Requirements\n\n- GL.iNet router running firmware 4.x\n- Router accessible on the local network via HTTP\n- Admin password for the router\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fhomeassistant-glinet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinderblock%2Fhomeassistant-glinet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fhomeassistant-glinet/lists"}