Query Huawei HiLink modems for status information.
Latest commit 733cc89 Mar 6, 2016 @trick77 Added web UI version
Failed to load latest commit information.
.gitignore Initial commit Jan 30, 2016
LICENSE Initial commit Jan 30, 2016
README.md Added web UI version Mar 5, 2016
hstatus.py Added pimped signal level meter Mar 5, 2016



Unsophisticated Python command-line utility to show device information and the connection status from Huawei HiLink modems. Tested with Huawei's E3276 and E3372 modems.


The utility uses the xmltodict module which can be installed using pip:

apt-get install python-pip
pip install xmltodict

Usage example

$ python ./hstatus.py
Huawei E3276 LTE Modem (IMEI: 861711012616361)
  Hardware version: CH2F4276GM
  Software version:
  Web UI version:
  Serial: B3A3TC2313833197
  MAC address (modem): 00:0D:87:22:34:AC
  Connection status: Connected
    Network type: UMTS (3G)
    Signal level: ▁▃▄▆█ (92%)
    Roaming: Enabled
    Modem WAN IP address:
    Public IP address:
    DNS IP addresses:,
    Network operator: Swisscom
    Connected for: 00:49:33 (hh:mm:ss)
    Downloaded: 737.0 KB
    Uploaded: 178.0 KB
  Total downloaded: 47.69 MB
  Total uploaded: 19.86 MB
  Unread SMS: 1