About
GL-iNet is a custom integration that connects Home Assistant to GL.iNet routers running 4.X firmware. It works locally and is set up in the UI with the router host and admin credentials. Connected devices are tracked as presence entities across wired, wireless and guest networks, with a configurable delay before a device counts as away. Clients that use randomized MAC addresses can be ignored, tracked as disabled or tracked as enabled. Sensors cover CPU temperature, load averages, memory and flash usage, uptime, WAN status and client counts. Switches control Wi-Fi interfaces, WireGuard clients, Tailscale and the router LEDs, and a button reboots the router. The router can be found automatically on the network, and a repair notice appears if the default router password is still in use.
Automatic summary of the README and code of HarvsG/ha-glinet4-integration. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
Found by itself Home Assistant spots it on the network and offers to add it.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Switches
- Sensors
- Presence
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Connect
- UsernameThis is always 'root' by default on GL-iNet devices
- HostThe hostname or IP address of your GL-iNet router.
- PasswordThe password you use to login to your router's admin page, this is unlikely to be the same as your WiFi password
- Consider HomeSeconds to wait before deciding that a device is away
- Verify SSL certificateEnable SSL certificate verification (disable for local self-signed certificates; ignored for HTTP connections).
Sign in again
- PasswordThe password you use to login to your router's admin page, this is unlikely to be the same as your WiFi password
Change the connection
- UsernameThis is always 'root' by default on GL-iNet devices
- HostThe hostname or IP address of your GL-iNet router.
- PasswordThe password you use to login to your router's admin page, this is unlikely to be the same as your WiFi password
- Verify SSL certificateEnable SSL certificate verification (disable for local self-signed certificates; ignored for HTTP connections).
After setup
- Consider HomeSeconds to wait before deciding that a device is away
- Verify SSL certificateEnable SSL certificate verification (disable for local self-signed certificates; ignored for HTTP connections).
- Randomized-MAC devicesHow to handle clients that use MAC-address randomization (e.g. phones). Warning: each new connection of a randomised MAC will create a new short-lived entity.
Texts from the code of HarvsG/ha-glinet4-integration.
Entities
- ButtonsReboot
- SensorsConnected clients, LAN clients, Router Wi-Fi clients, Guest clients, CPU temperature, Load avg (1m), Load avg (5m), Load avg (15m), Memory usage, Flash usage, Uptime, WAN status
- SwitchesTailscale, LED
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:Default router password in use
From the README
A Home Assistant custom component for GL.iNet routers powered by their API version 4 via the gli4py library.
- Automatic Client Tracking: Tracks devices connected directly or indirectly to your GL.iNet router across wired LAN and wireless interfaces.
- Broad Interface Support: Identifies connections on 2.4GHz, 5GHz, 6GHz, MLO, LAN, Dongle, and Guest networks.
- Detailed Attributes: Exposes MAC address, IP address, connection interface type, and last seen timestamp (last_time_reachable).
- Configurable Presence Timeout: Customize the "Consider Home" duration in seconds to prevent devices flapping when they enter low-power sleep.
- Randomized MAC Handling: Choose whether clients using randomized MAC addresses are ignored (default), tracked as disabled, or tracked as enabled.
Shows in Vulpo
Quick Toggle card, Button card, Chart card, Apple Watch, Control Center.Information
- Installs
- 360 sharing analytics
- GitHub stars
- 100
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- v0.1.13,
- Category
- Presence and location
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
glinet- Issues
- Report an issue











