mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add details about RouterOS API
This commit is contained in:
parent
3d5fcfd934
commit
7333d36200
@ -15,6 +15,21 @@ ha_release: 0.44
|
|||||||
|
|
||||||
The `mikrotik` platform offers presence detection by looking at connected devices to a [Mikrotik Routerboard](http://routerboard.com) based router.
|
The `mikrotik` platform offers presence detection by looking at connected devices to a [Mikrotik Routerboard](http://routerboard.com) based router.
|
||||||
|
|
||||||
|
You need to enable the RouterOS API to use this platform.
|
||||||
|
|
||||||
|
Terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/ip service
|
||||||
|
set api disabled=no port=8728
|
||||||
|
```
|
||||||
|
|
||||||
|
Web Frontend:
|
||||||
|
|
||||||
|
Go to **IP** -> **Services** -> **API** and enable it.
|
||||||
|
|
||||||
|
Make sure that port 8728 or the port you choose is accessible from your network.
|
||||||
|
|
||||||
To use an Mikrotik router in your installation, add the following to your `configuration.yaml` file:
|
To use an Mikrotik router in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -31,6 +46,6 @@ Configuration variables:
|
|||||||
- **host** (*Required*): The IP address of your router.
|
- **host** (*Required*): The IP address of your router.
|
||||||
- **username** (*Required*: The username of an user with administrative privileges.
|
- **username** (*Required*: The username of an user with administrative privileges.
|
||||||
- **password** (*Required*): The password for your given admin account.
|
- **password** (*Required*): The password for your given admin account.
|
||||||
- **port** (*Optional*): Mikrotik API port (see IP -> Services -> api ). Defaults to `8728`.
|
- **port** (*Optional*): Mikrotik API port. Defaults to `8728`.
|
||||||
|
|
||||||
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.
|
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user