Mikrotik


The mikrotik platform offers presence detection by looking at connected devices to a Mikrotik Routerboard based router.

You need to enable the RouterOS API to use this platform.

Terminal:

/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:

# Example configuration.yaml entry
device_tracker:
  - platform: mikrotik
    host: IP_ADDRESS
    username: ADMIN_USERNAME
    password: ADMIN_PASSWORD

Configuration Variables

host

(string)(Required)The IP address of your router.

username

(string)(Required)The username of an user with administrative privileges.

password

(string)(Required)The password for your given admin account.

port

(integer)(Optional)Mikrotik API port.

Default value: 8728

See the device tracker component page for instructions how to configure the people to be tracked.