Skip to content

Commit

Permalink
Add H388X to routers compatibility list.
Browse files Browse the repository at this point in the history
  • Loading branch information
juacas committed Jul 5, 2023
1 parent 8ea4fb5 commit 9291444
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 275 deletions.
108 changes: 55 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,55 @@
# ZTE Router Integration for Home Assistant
Component to integrate some ZTE routers as a device trackers in home assistant.

## Features
- Provides a device_tracker to monitor the connection status of devices in your Wifi and LAN ports.
- Exposes the status of the scanner in "sensor.zte_tracker".
- Exposes the service "zte_tracker.pause" to pause/resume the scanner because when the scanner is running the web-admin-console sessions are cancelled.

## Compatible routers
| Name | Model |
| ------------- |:-------------: |
| ZTE F6640 | F6640 |
| ZTE H288A | H288A |
| ZTE H169A | H169A |

This integration could work with more routers. Try one of the above and see if it work with yours.

## Installation

To use this integration, place the following snippet in configuration.yaml.


```
# Setup the platform zte_tracker
zte_tracker:
host: 192.168.1.1
model: F6640
username: user
password: !secret zte_password
interval_seconds: 60
consider_home: 180
poll_time: 60
new_device_defaults:
track_new_devices: no
```
Change the following parameters to match your configuration:

`host`: Your router's local IP address (Usually 192.168.1.1 or 192.168.0.1)

`username`: Your router's login username (Usually admin)

`password`: Your router's login password

`model`: Your router's model. Chose one from the Model column of the [table above](#compatible-routers)


For more information about the device_tracker parameters visit the official [Home Assistant Documentation](https://www.home-assistant.io/integrations/device_tracker/)

## Contributors

- Thanks to @gselivanof for H288A, H169A models.

[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration)
# ZTE Router Integration for Home Assistant
Component to integrate some ZTE routers as a device trackers in home assistant.

## Features
- Provides a device_tracker to monitor the connection status of devices in your Wifi and LAN ports.
- Exposes the status of the scanner in "sensor.zte_tracker".
- Exposes the service "zte_tracker.pause" to pause/resume the scanner because when the scanner is running the web-admin-console sessions are cancelled.

## Compatible routers
| Name | Model Param |
| ------------- |:-------------: |
| ZTE F6640 | F6640 |
| ZTE H288A | H288A |
| ZTE H169A | H169A |
| ZTE H388X | H388X |


This integration could work with more routers. Try one of the above and see if it work with yours.

## Installation

To use this integration, place the following snippet in configuration.yaml.


```
# Setup the platform zte_tracker
zte_tracker:
host: 192.168.1.1
model: F6640
username: user
password: !secret zte_password
interval_seconds: 60
consider_home: 180
poll_time: 60
new_device_defaults:
track_new_devices: no
```
Change the following parameters to match your configuration:

`host`: Your router's local IP address (Usually 192.168.1.1 or 192.168.0.1)

`username`: Your router's login username (Usually admin)

`password`: Your router's login password

`model`: Your router's model. Chose one from the Model column of the [table above](#compatible-routers)


For more information about the device_tracker parameters visit the official [Home Assistant Documentation](https://www.home-assistant.io/integrations/device_tracker/)

## Contributors

- Thanks to @gselivanof for H288A, H169A models support, @TrinTragula for H388X verification.

[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration)
20 changes: 10 additions & 10 deletions custom_components/zte_tracker/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"domain": "zte_tracker",
"name": "ZTE router tracker",
"documentation": "https://raw.githubusercontent.com/juacas/zte_tracker/master/README.md",
"codeowners": ["@juacas"],
"issue_tracker": "https://github.com/juacas/zte_tracker/issues",
"version": "v1.3.1",
"requirements": [],
"iot_class": "local_polling"
}
{
"domain": "zte_tracker",
"name": "ZTE router tracker",
"documentation": "https://raw.githubusercontent.com/juacas/zte_tracker/master/README.md",
"codeowners": ["@juacas"],
"issue_tracker": "https://github.com/juacas/zte_tracker/issues",
"version": "v1.3.2",
"requirements": [],
"iot_class": "local_polling"
}
4 changes: 2 additions & 2 deletions custom_components/zte_tracker/zteclient/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.2.0'
__releasedate__ = '20230129'
__version__ = '1.2.1'
__releasedate__ = '20230705'
Loading

0 comments on commit 9291444

Please sign in to comment.