Local control of GL.iNet routers (firmware 4.x) for Python and Home Assistant — a community project.
GL.iNet routers run OpenWRT and expose a local JSON-RPC API. glinet4 wraps that API and brings the router into Home Assistant, plus tooling to discover and share each model's capabilities.
| Repo | What it is |
|---|---|
| glinet4 | Async Python client for the GL.iNet 4.x JSON-RPC API. pip install glinet4 |
| glinet4-ha | Home Assistant integration (sensors, switches, device tracker, VPN, repairs). |
| glinet4-profiler | Local tool that captures and sanitises your router's API surface to share. uvx glinet4-profiler |
| glinet4-registry | Community registry of per-model / per-firmware API capability profiles. |
| branding | Logo, icon, and Home Assistant brands assets. |
glinet4 began as a fork of HarvsG/gli4py and HarvsG/ha-glinet4-integration, and has grown a much larger API surface and feature set. It ships under a distinct name and integration domain so it can be installed independently. The original projects (GPL-3.0) are gratefully acknowledged; each repo keeps a NOTICE with attribution.
Contributions welcome — see each repo's issues.