You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Управление роутерами Huawei WiFi Mesh 3 из Home Assistant
2
-
3
-
Компонент для Home Assistant, позволяющий управлять роутерами [Huawei WiFi Mesh 3](https://consumer.huawei.com/ru/routers/wifi-mesh3/) через локальную сеть.
- определение конкретного роутера, к которому подключено устройство
12
-
- определение параметров подключения устройств (частота, сила сигнала, гостевые и mesh устройства)
13
-
- информация об аппаратной версии роутера
14
-
- информация о версии прошивки роутера
15
-
16
-
## Установка
17
-
18
-
Необходимо скопировать папку `huawei_mesh_router` из [последнего релиза](https://github.com/vmakeev/huawei_mesh_router/releases/latest) в папку `custom_components`, расположенную в папке с конфигурацией Home Assistant, после чего перезапустить Home Assistant.
По умолчанию роутеры Huawei WiFi Mesh 3 используют имя пользователя `admin`, хотя оно и не отображается в web-интерфейсе и в мобильном приложении
25
-
26
-
## Отслеживание устройств
27
-
28
-
Каждое отслеживаемое устройство предоставляет следующие атрибуты:
29
-
30
-
| Атрибут | Описание | Только когда подключено |
31
-
|---------|----------|-------------------------|
32
-
|source_type| всегда `router`| Нет |
33
-
|ip| IP-адрес устройства | Да |
34
-
|mac|MAC-адрес устройства| Нет |
35
-
|host_name| Имя устройства по данным самого устройства| Нет |
36
-
|connected_via| Имя роутера, через который выполнено подключение. Для основного роутера - `Huawei Mesh 3`| Да |
37
-
|interface_type| Тип интерфейса подключения (например `5GHz`, `LAN` и т.д.)| Да |
38
-
|rssi| Сила сигнала для беспроводных подключений| Да |
39
-
|is_guest| Является ли устройство подключенным к гостевой сети | Да |
40
-
|is_hilink| Подключено ли устройство через HiLink (обычно это другие роутеры)| Да |
41
-
|friendly_name| Имя устройства, предоставленное роутером | Нет |
42
-
43
-
Имена устройств для отслеживания, включая роутеры, могут быть изменены в [интерфейсе управления вашей mesh-системой](http://192.168.3.1/html/index.html#/devicecontrol), после чего компонент обновит их и в Home Assistant
44
-
45
-
46
-
Пример markdown карточки, отображающей часть информации об отслеживаемом устройстве:
|`hostname`| Device name according to the device itself | No|
36
+
|`connected_via`| The name of the router through which the connection was made. For the primary router - `Huawei Mesh 3` (or your configuration name)| Yes |
37
+
|`interface_type`| Connection interface type (`5GHz`, `2.4GHz`, `LAN`) | Yes|
38
+
|`rssi`| Signal strength for wireless connections | Yes|
39
+
|`is_guest`| Is the device connected to the guest network | Yes|
40
+
|`is_hilink`| Is the device connected via HiLink (usually other routers) | Yes|
41
+
|`friendly_name`| Device name provided by the router | No|
101
42
102
43
Tracked device names, including routers, can be changed in [your mesh control interface](http://192.168.3.1/html/index.html#/devicecontrol), after which the component will update them in Home Assistant
103
44
@@ -112,3 +53,29 @@ My phone: Rssi
112
53
113
54
Result:
114
55
My phone: Rssi **30***via***Kitchen router** (**5GHz**)
56
+
57
+
## Sensors
58
+
59
+
### Number of connected devices
60
+
61
+
The component provides the ability to obtain the number of connected devices both to the entire mesh network and to specific routers using sensors.
62
+
63
+
There are two sensors that are always present:
64
+
*`sensor.<integration_name>_clients_total` - total number of devices connected to the mesh network
65
+
*`sensor.<integration_name>_clients_primary_router` - number of devices connected to the primary router
66
+
67
+
Also, one sensor is created for each additional router in the mesh network:
0 commit comments