T
T
tmkbl2021-10-30 14:23:51
Smart House
tmkbl, 2021-10-30 14:23:51

How to identify the status of a device connected via MQTT to Mosquitto?

There are smart sockets that connect to the mosquitto mqtt broker installed on ububntu. Is there any simple way to track the state of the device (connected/not connected to the broker)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tmkbl, 2021-11-01
@tmkbl

I found the solution myself. It turns out that the firmware (tasmota) of my outlets has an LWT topic, in which messages are published Online or Offline. Everything is simple)).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question