mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 15:26:49 +00:00
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
---
|
|
layout: page
|
|
title: "Huawei Router"
|
|
description: "Instructions on how to integrate Huawei Routers into Home Assistant."
|
|
date: 2017-07-16 01:40
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: huawei.svg
|
|
ha_category: Presence Detection
|
|
ha_release: 0.51
|
|
---
|
|
|
|
The `huawei` device trakcer platform offers presence detection by looking at connected devices to a [Huawei router](http://m.huawei.com/enmobile/enterprise/products/network/access/pon-one/hw-371813.htm).
|
|
|
|
Currently, this was only tested with the Huawei HG8247H and HG8247Q Smart Router (used by Vodafone Portugal).
|
|
|
|
## {% linkable_title Configuration %}
|
|
|
|
To use a Huawei router in your installation, add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
device_tracker:
|
|
- platform: huawei_router
|
|
host: 192.168.1.1
|
|
username: YOUR_USERNAME
|
|
password: YOUR_PASSWORD
|
|
```
|
|
|
|
{% configuration %}
|
|
host:
|
|
description: The IP address of your router, e.g., 192.168.1.1.
|
|
required: true
|
|
type: string
|
|
username:
|
|
description: The username to login into the router (the same used trough the router's web interface).
|
|
required: true
|
|
type: string
|
|
password:
|
|
description: The password for the specified username.
|
|
required: true
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.
|