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
The Huawei LTE router integration for Home Assistant allows you to observe
16
-
and control [Huawei LTE routers](https://consumer.huawei.com/en/smart-home/).
24
+
The Huawei LTE router integration for Home Assistant allows you to observe and control [Huawei LTE routers](https://consumer.huawei.com/en/smart-home/).
17
25
18
-
The integration provides:
26
+
There is currently support for the following device types within Home Assistant:
19
27
20
-
* a sensor with device, signal, and traffic information
21
-
* a device tracker for connected devices
28
+
-[Presence Detection](#presence-detection) - a device tracker for connected devices
29
+
-[Notifications](#notifications)
30
+
-[Sensor](#sensor) - with device, signal, and traffic information
31
+
32
+
All platform requires you to have set up the [Huawei LTE component](#configuration).
22
33
23
34
## {% linkable_title Configuration %}
24
35
@@ -35,17 +46,17 @@ huawei_lte:
35
46
36
47
{% configuration %}
37
48
url:
38
-
description: URL of the router web interface.
39
-
required: true
40
-
type: url
49
+
description: URL of the router web interface.
50
+
required: true
51
+
type: url
41
52
username:
42
-
description: The username used for the router web interface.
43
-
required: true
44
-
type: string
53
+
description: The username used for the router web interface.
54
+
required: true
55
+
type: string
45
56
password:
46
-
description: The password used for the router web interface.
47
-
required: true
48
-
type: string
57
+
description: The password used for the router web interface.
58
+
required: true
59
+
type: string
49
60
{% endconfiguration %}
50
61
51
62
### {% linkable_title Tested routers %}
@@ -58,3 +69,103 @@ Routers we know to be working with this component based on the documentation of
58
69
- Huawei B618
59
70
60
71
This is not a complete list. The component can probably connect to other Huawei LTE routers running similar firmware.
72
+
73
+
## {% linkable_title Presence Detection %}
74
+
75
+
This platform offers presence detection by looking at connected devices to a [Huawei LTE router](https://consumer.huawei.com/en/smart-home/).
76
+
77
+
To enable the sensor, add the following lines to your `configuration.yaml` file:
78
+
79
+
```yaml
80
+
# Example configuration.yaml entry
81
+
device_tracker:
82
+
- platform: huawei_lte
83
+
```
84
+
85
+
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.
86
+
87
+
## {% linkable_title Notifications %}
88
+
89
+
The `huawei_lte` platform allows you to use a Huawei LTE router for notifications from Home Assistant. The messages will be sent as SMS text messages.
90
+
91
+
```yaml
92
+
# Example configuration.yaml entry
93
+
notify:
94
+
- platform: huawei_lte
95
+
recipient: "+15105550123"
96
+
```
97
+
98
+
{% configuration %}
99
+
recipient:
100
+
description: The phone number of a default recipient or a list with multiple recipients.
101
+
required: true
102
+
type: string, list
103
+
name:
104
+
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
105
+
required: false
106
+
default: notify
107
+
type: string
108
+
url:
109
+
description: The router to use. Not needed if you only have one.
110
+
required: false
111
+
type: url
112
+
{% endconfiguration %}
113
+
114
+
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
115
+
116
+
## {% linkable_title Sensor %}
117
+
118
+
The `huawei_lte` sensor platform allows you to monitor Huawei LTE routers.
119
+
120
+
The names for the item you want to monitor are dot separated paths to information returned by the router. The data set varies by router model. To see what your router provides, set logging level to debug and watch `homeassistant.components.huawei_lte` debug entries. The configuration variable description contains a few example paths just to illustrate the syntax. These may not be available on all routers or their semantics may differ, and there are quite likely many more that are not listed here.
121
+
122
+
To enable the sensor, add the following lines to your `configuration.yaml` file:
123
+
124
+
```yaml
125
+
# Example configuration.yaml entry
126
+
sensor:
127
+
- platform: huawei_lte
128
+
monitored_conditions:
129
+
- device_information.SoftwareVersion
130
+
- device_signal.rssi
131
+
- traffic_statistics.CurrentDownloadRate
132
+
- traffic_statistics.TotalConnectTime
133
+
```
134
+
135
+
{% configuration %}
136
+
monitored_conditions:
137
+
description: Defines the data to monitor as sensors. Defaults to a few generally available data items expected to be available on most boxes.
138
+
required: false
139
+
default: Below is indicated which conditions are the default.
140
+
type: list
141
+
keys:
142
+
device_information.SoftwareVersion:
143
+
description: Software version.
144
+
device_information.WanIPAddress:
145
+
description: WAN interface IPv4 address.
146
+
default: default
147
+
device_information.WanIPv6Address:
148
+
description: WAN interface IPv6 address.
149
+
device_signal.rsrq:
150
+
description: The signal RSRQ value.
151
+
default: default
152
+
device_signal.rsrp:
153
+
description: The signal RSRP value.
154
+
default: default
155
+
device_signal.rssi:
156
+
description: The signal RSSI value.
157
+
default: default
158
+
device_signal.sinr:
159
+
description: The signal SINR value.
160
+
default: default
161
+
traffic_statistics.CurrentDownloadRate:
162
+
description: Current download rate, bytes/sec.
163
+
traffic_statistics.CurrentUploadRate:
164
+
description: Current upload rate, bytes/sec.
165
+
traffic_statistics.TotalUpload:
166
+
description: Total bytes uploaded since last reset.
167
+
traffic_statistics.TotalDownload:
168
+
description: Total bytes downloaded since last reset.
169
+
traffic_statistics.TotalConnectTime:
170
+
description: Total time connected since last reset.
0 commit comments