Skip to content
Home Assistant TestFlight
Computers & network

MikroTik

mikrotik

Built inLocal pollingGold

The MikroTik integration offers presence detection and device management for MikroTik routers, switches, and Cloud Hosted Routers (CHR) running RouterOS.

In Apple Home through HomeKit Bridge

What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.

EntityShows up asNote
switchSwitch or outlet
binary_sensorSensor (motion, contact, leak, smoke…)
sensorSensor (temperature)
buttonButton (as a switch)
selectMode picker (as switches)
device_trackerPresence (as an occupancy sensor)

What people report

MikroTik routers work for presence and stats over the local API; an April 2026 update broke connection for many users.

  • Not working2
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
MikroTik hAP ac2 RBD52G-5HacD2HnDNot working LocalSSL API connection failed on RouterOS 6.45.8
Saved copy
The problem HomeAssistant can't connect to Mikrotik using SSL Followed steps for generation certificate but it doesn't work. Also tried to use https://www.medo64.com/2016/11/enabling-https-on-mikrotik/ to generate root certificate and sign api-certificate with root one but still doesn't work. I suspect that it would work if the root certificate would be imported into HA keystore but this is just a wild guess. And with no-ssl api - integration works. ## Environment - Home Assistant Core release with the issue: 0.117.4 - Last working Home Assistant Core release (if known): n/a, it didn't work …

Excerpt saved from GitHub on 2026-10-23.

Issue #43030 · 2020-11
MikroTik RouterOS (2026.4 update)Not working LocalIntegration stopped after 2026.4 with login_methods TypeError
Saved copy
Confirm, same issue with HA 2026.4.2 The related error stack: ``` ERROR (SyncWorker_11) [custom_components.mikrotik_router.mikrotikapi] Mikrotik error while connecting: connect() got an unexpected keyword argument 'login_methods'. Did you mean 'login_method'? ERROR (MainThread) [custom_components.mikrotik_router.coordinator] Unexpected error fetching Mikrotik data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 426, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File …

Excerpt saved from GitHub on 2026-10-23.

Issue #167977 · 2026-04

Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.

How it connects

Local polling

Talks to the device on your network, asking it for updates every so often.

Details

Installs (analytics)3,151 (0.44%)
Quality scaleGold
Added inHome Assistant 0.44
Set up in the UIYes
Maintainers@engrbm87, @chemelli74

Devices listed in its documentation

  • Wireless-related entities depend on which wireless system the router uses: CAPsMAN, or the wireless, wifiwave2, or wifi package.

Limitations from the docs

  • Presence detection only tracks clients connected to the router configured in the integration. If your network has multiple MikroTik devices, such as a separate wireless access point or a CAPsMAN cluster, add each device as its own integration entry to track the devices connected to it.
  • The RouterBOARD update entity is only created on devices that report RouterBOARD information. It's not available on the Cloud Hosted Router (CHR) or other installations without a RouterBOARD.
  • Tracking isn't limited to MikroTik-branded devices, but not every connected client is tracked. Wireless clients are tracked through the router's wireless registration table, even without a DHCP lease. Wired clients are tracked from the DHCP lease table, which the integration uses when the wireless registration table …

In ReReHome

Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.

Bridges get their own settings page listing the accessories behind them.