I’ll keep it short. I’ve been working away on on a Home Assistant integration for a little while and have finally reached a point where its stable enough to share it.
I used HarvG’s integration for my inspiration and rebuilt the service from the ground up to suit my needs.
The main difference in features is better support for cellular routers like the X3000. The integration pulls modem connection metrics and has the added support of sending, viewing and managing SMS which for me opens a whole new world of possiblities with Home Assistant.
It’s all fully documented so feel free to have a snoop and a test
Unfortunately this isn't currently exposed via the native API. I have played around with this as individual clients exposed their current traffic consumption but it was accurate enough for me to be comfortable pushing into production.
I'll ping Glinet a message to see if this is something that is exposed elsewhere.
I've been considering building a luci equivalent of this integration, but that's a while away.
Because of an underlying domain name change, your existing integration will stop being updated after this release. You must delete and re-add the integration to restore functionality.
Please follow these mandatory installation steps:
Delete your existing install: Go to Settings > Devices & Services, find the old GL-iNet integration, click the three dots, and select Delete.
Update the integration: Update to the latest version within HACS.
Delete the legacy files: Using a file manager (like Studio Code Server, Samba, or SSH), navigate to your Home Assistant config/custom_components/ directory and delete the old ha_glinet folder.
Restart Home Assistant (highly recommended to clear cache and apply changes).
Add the new integration: Go to Settings > Devices & Services > Add Integration, search for GL.iNet Router, and configure normally.
Automations Update
Any integration-specific automations will need to be updated. Edit the automations in YAML mode and replace any instance of ha_glinet with glinet_router.
Release Notes:
This release introduces a technical breaking change as we rename and restructure the integration to prepare for future updates.
What Changed?
Repository/Project Name: Changed from ha-glinet to ha-glinet-router
Display Name: Changed from GL-iNet to GL.iNet Router
Domain: Changed from ha_glinet to glinet_router
Why the change?
GL.iNet also offers a KVM product line. To accommodate this, we are splitting the integrations to keep things clean and organized:
glinet-router (This integration) – Dedicated entirely to GL.iNet router products.
glinet-kvm (Coming in the near future if budget allows!) – A planned, dedicated integration specifically for GL.iNet KVM products.
Splitting these now ensures a much more logical and stable foundation for future updates. This is a one-time event that cannot be avoided due to the nature of the change. All future releases will be seamless once again. Thank you for your understanding and ongoing support!
If it’s any consolation: Once this release/migration is complete, v1.6.1 will bring official support for GL.iNet firmware 4.9.0!