Home Assistant Integration (HACS) for Cellular GL-INet routers

Hi All,

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

1 Like

Just wanted to follow up to this post.

I have since gone on a bit of a code dive and gotten a lot more features added.

  • Config flow setup with DHCP discovery.
  • Robust session management with proactive token renewal and automatic retries.
  • Router reboot button.
  • Connected device trackers.
  • WAN IP address sensor.
  • Connected client count sensor.
  • Per-client real-time bandwidth (upload/download) and IP address sensors.
  • System sensors for CPU temperature, load, memory, flash use, and uptime.
  • WiFi interface switches.
  • System LED switch.
  • WireGuard client and server support.
  • OpenVPN client and server support (with location selection).
  • Tailscale switch.
  • ZeroTier switch (Requires Network ID setup on router).
  • AdGuard Home switches (Optional).
  • Optional cellular signal/network sensors.
  • Optional SMS services for sending, viewing and managing text messages in the inbox.
  • Optional repeater mode support for WiFi scan, connect/disconnect, saved networks, and repeater state.
  • Fan support (status, RPM, and temperature threshold control).
  • Downloadable Diagnostics: Provides a sanitized JSON snapshot for easier troubleshooting.

I'm building based off documentation. I test where i can but the real test will be users who actually use the features.

There is also a documented roadmap for planned features that are yet to be added.

1 Like

I would like to get the network throughput of my wan interface. Something similar to the Luci > Status > Realtime Graphs > TRaffic > eth0.

Is this possible with the latest version of the integration?

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.