Component to integrate some ZTE routers as a device tracker in Home Assistant.
This repository contains the ZTE Router custom integration and an add-on to deploy it in Home Assistant. The custom integration is located in the custom_components/zte_router
directory.
This is a custom Home Assistant integration for several ZTE 5G routers. It adds full sensor tracking, diagnostics, and control over supported devices.
- Support for MC801A, MC889, MC888, MC889A, MC888A, and similar models with or without username
- Automatically discovers devices and sensors
- Wi-Fi and LAN client tracking
- FLUX usage monitoring (TX/RX rates, data limit, usage alerts) - for newer versions of routers
- SMS inbox access and diagnostics + sending predefined sms
- Auto-config flow setup
- Multiple sensor categories and diagnostic grouping
Note: This integration is in beta. It is stable enough for testing and general use, but expect some features to evolve.
- Download the latest zte-router release
- Place the files of the .zip in your root directory of Home Assistant (That should only effectively place files into
/custom_components/zte_router
) - Restart Home Assistant
- Go to
Settings
>Devices and Services
to search and add the ZTE Router integration - Select the model you have and enter the Router IP, password and wait for the integration to install all the device sensors.
Method 1
Method 2
HACS
>Integrations
>⋮
>Custom Repositories
Repository
: paste the URL of this repoCategory
: Integration- Click
Add
- Close
Custom Repositories
modal - Click
+ EXPLORE & DOWNLOAD REPOSITORIES
- Search for
ZTE router
- Click
Download
- Restart Home Assistant
- Search for "integration" in the ZTE Router integration and add it to Home Assistant or click on this link:
- Select the model and enter the router's IP and password.
- Wait for the integration to install all the device sensors.
To install beta versions from HACS:
- In HACS → Integrations → ZTE Router →
⋮
→ Redownload - Toggle "Show beta versions" or Need a different version
- Select the latest
-b1
or-beta.x
version - Restart Home Assistant
- Some sensors may occasionally show
unknown
until refreshed - SMS parsing may behave differently between router models
- Occasional log errors (under investigation)
- Errors in Home Assistant log - They are for now present until I polish the addon
- Various errors in sensors etc. - This integration is classified as beta right now but can be tested by anyone.
- For suggestions, please open a new issue
- I will push new builds as soon I will have more time. Make sure you "star" this integration.
If u have any suggestion, or you are doing pull requests and adding new features, increment the version number by 1 in manifest.json, so that GitHub automation automatically creates a new release.
🙏 Special Thanks
Huge thanks to @rosenrot00 for helping rewrite major portions of the code and improving overall quality!