mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update asuswrt.markdown (#8334)
* Update asuswrt.markdown Reflect new released changes that disables sensors by default. Added example and better description of sensors. * Update asuswrt.markdown * ✏️ Tweaks * ✏️ Tweak
This commit is contained in:
parent
565859914c
commit
163013609f
@ -67,7 +67,6 @@ sensors:
|
||||
description: List of enabled sensors
|
||||
required: false
|
||||
type: list
|
||||
default: all (`upload`, `download`, `upload_speed`, `download_speed`)
|
||||
keys:
|
||||
"upload":
|
||||
description: TX upload sensor
|
||||
@ -82,3 +81,27 @@ sensors:
|
||||
<p class='note warning'>
|
||||
You need to [enable telnet](https://www.asus.com/support/faq/1005449/) on your router if you choose to use `protocol: telnet`.
|
||||
</p>
|
||||
|
||||
### {% linkable_title Example Sensor Configuration %}
|
||||
|
||||
To enable ASUSWRT sensors as part of your installation, reference the following example configuration:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
asuswrt:
|
||||
host: YOUR_ROUTER_IP
|
||||
username: YOUR_ADMIN_USERNAME
|
||||
ssh_key: /config/id_rsa
|
||||
sensors:
|
||||
- upload
|
||||
- download
|
||||
- upload_speed
|
||||
- download_speed
|
||||
```
|
||||
|
||||
The example above, creates the following sensors:
|
||||
|
||||
* sensor.asuswrt_download (unit_of_measurement: Gigabyte - *Daily accumulation*)
|
||||
* sensor.asuswrt_download_speed (unit_of_measurement: Mbit/s)
|
||||
* sensor.asuswrt_upload (unit_of_measurement: Gigabyte - *Daily accumulation*)
|
||||
* sensor.asuswrt_upload_speed (unit_of_measurement: Mbit/s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user