Community discussions

MikroTik App
 
fifrak
just joined
Topic Author
Posts: 23
Joined: Sun Jan 31, 2021 2:27 pm
Location: Poland

How to monitor Mikrotik data in Home Assistant

Mon Jun 09, 2025 10:25 am

Hi

Is there a way to monitor Mikrotik devices in Home Assistant.
What I want to achieve for instance is to see things like cpu/memory load, temperature, or which ports are occupied, either how many active clients are right now.
I have installed official MT add-on to HA, also turned on API in services, so do special user for it, but I don't see any parameter for my network (I have RB5009, 2x cAP AX, wAP AX, CRS310 and ATL LTE18).
Thanks for your support in advance.
 
erlinden
Forum Guru
Forum Guru
Posts: 3126
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: How to monitor Mikrotik data in Home Assistant

Mon Jun 09, 2025 2:53 pm

 
nicolap
just joined
Posts: 21
Joined: Mon Sep 09, 2019 12:16 am

Re: How to monitor Mikrotik data in Home Assistant

Tue Jun 10, 2025 7:31 pm

Or use MQTT: here in this forum you can find some examplse (one is mine).
With MQTT approach it's the router that sends data, with the other it's HA that calls for data.
Nic
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1986
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: How to monitor Mikrotik data in Home Assistant

Tue Jun 10, 2025 11:29 pm

How did you get the MQTT setup working so the router sends the same data as the HA MikroTik Router integration on its own, without any polling involved?
 
nicolap
just joined
Posts: 21
Joined: Mon Sep 09, 2019 12:16 am

Re: How to monitor Mikrotik data in Home Assistant

Tue Jun 10, 2025 11:48 pm

How did you get the MQTT setup working so the router sends the same data as the HA MikroTik Router integration on its own, without any polling involved?
Here my scripts: viewtopic.php?p=1079413#p1079413
It's required a Routeros with IOT package (so not the SMIPS).

With MQTT is client duty to send data. There are "subscriptions" that permit to send data to device from any other device (that knows what to do).

For a clear and not too long introduction to MQTT: https://www.hivemq.com/mqtt/
 
xrlls
Member Candidate
Member Candidate
Posts: 112
Joined: Sun Jan 13, 2019 4:43 pm
Location: Copenhagen, DK

Re: How to monitor Mikrotik data in Home Assistant

Wed Jun 11, 2025 7:59 am

I’ve also made a MQTT based solution: https://github.com/Xrlls/MikroTik-Home- ... -telemetry

It is nowhere as extensive as the previously referenced integration but. But if API access is for some reason [security] undesirable, I think MQTT makes for an attractive alternative.