A custom Home Assistant integration for managing GL.iNet routers, providing comprehensive control over VPN connections, system monitoring, and router management directly from your Home Assistant dashboard.
- VPN Management: Start, stop, and monitor VPN connections (WireGuard and OpenVPN)
- System Monitoring: Real-time system status, disk usage, and network information
- Router Control: Reboot router, check firmware updates, and manage settings
- Multiple Entities: Sensors, switches, and buttons for complete router control
This integration is designed for GL.iNet routers running firmware 4.x. It has been tested on:
- Model: GL-MT300N-V2
- Firmware: 4.3.11
Other GL.iNet router models with 4.x firmware should also work, but may require testing.
- Open HACS in your Home Assistant instance
- Go to "Integrations"
- Click the three dots in the top right corner
- Select "Custom repositories"
- Add this repository URL:
https://github.com/angolo40/GLiNet_HomeAssistant - Select "Integration" as the category
- Click "Add"
- Search for "GLiNet" and install
- Download the latest release from the releases page
- Extract the
custom_components/glinetfolder to your Home Assistantcustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services
- Click Add Integration
- Search for "GLiNet"
- Enter your router's configuration:
- Host: Your router's IP address (e.g.,
192.168.8.1) - Username: Router username (usually
root) - Password: Router password
- Host: Your router's IP address (e.g.,
This integration uses the GL.iNet 4.x API. The API documentation was retrieved from the Wayback Machine as the original documentation is no longer available online: GL.iNet 4.x API Documentation
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Giuseppe Trifilio
- GitHub: @angolo40
- Project Link: https://github.com/angolo40/GLiNet_HomeAssistant
This project is licensed under the MIT License - see the LICENSE file for details.
If this integration helped you, please consider giving it a ⭐️ on GitHub!
For support, please open an issue on the GitHub repository.
Note: This integration is not officially affiliated with GL.iNet. It's a community-developed integration for Home Assistant users.