Huawei LTE

The Huawei LTE router and modem integration for Home Assistant allows you to observe and control Huawei LTE devices.

There is currently support for the following platforms within Home Assistant:

  • Presence detection - device tracker for connected devices
  • Notifications - via SMS
  • Sensors - device, signal, and traffic information
  • Switch - mobile data on/off
  • Binary sensor - mobile connection status


The integration can be enabled in two ways, either using the frontend or using YAML. Additionally, if the SSDP integration is enabled in Home Assistant, automatically discovered Huawei LTE devices which support and have UPnP enabled are made available for further optional configuration in the frontend.

The integration can be run with or without authentication. Authenticated mode enables all available integration features and entities, but may interfere with accessing the device web interface from another source such as a browser while the integration is active or vice versa. The exact list of features requiring authentication to work varies by device and firmware version. The integration will try to use all configured ones and fail gracefully if it detects one requiring authentication in unauthenticated mode.

Only a subset of the entities provided by the target device by default:

  • WAN IP address sensor
  • LTE signal sensors RSRQ, RSRP, RSSI, and SINR
  • mobile data switch
  • mobile connection binary sensor
  • device tracker entries

The rest are added to the entity registry, but disabled by default.

Support for different categories of information and thus available entities varies by device model and firmware version.

Configuration via the frontend

Menu: Configuration -> Integrations.

Click on the + sign to add an integration and click on Huawei LTE, and follow the configuration flow. After finishing, the Huawei LTE integration will be available.

To use unauthenticated mode, leave username and password empty. The integration will then attempt to first use empty strings to authenticate and fall back to unauthenticated mode in case that fails. If this process does not yield desired results, the YAML configuration (see below) is available for more fine grained control.

Default list of notification recipient phone numbers can be set using the integration’s configuration options.

Configuration via YAML

To enable the component, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
  - url:

For routers configured via the UI, each configuration item for the same router in YAML overrides and updates the values set in UI whenever the YAML configuration values are introduced or updated.

Configuration Variables



URL of the device web interface. Typically or



The username used for the device web interface in authenticated mode. Typically admin, or empty string ("") for USB stick modems. To use unauthenticated mode, leave this variable out altogether.



The password used for the device web interface in authenticated mode. Typically empty string ("") for USB stick modems. To use unauthenticated mode, leave this variable out altogether.



Enable notifications using SMS messages. To use notifications, please see the getting started with automation page.


(string | list)(Optional)

The phone number of a default recipient or a list with multiple recipients.

Tested devices

Devices we know to be working with this integration based on the documentation of used libraries and reports by users:

  • Huawei B310s-22
  • Huawei B525s-23a
  • Huawei E5186s-22a
  • Huawei B618

This is not a complete list. The integration can probably connect to other Huawei LTE devices running similar firmware.