Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] LWT

> Now I want that when Broker publish LWT message to topic, it should
> also publish local time, so that I can see from how long connection is
> broken.

Mosquitto cannot do that, at least not without modifying the server
code.

I don't know if this would help you, but what we do in OwnTracks is to
set up an LWT which contains the timestamp of the initial connection;
that way we know, when the broker publishes the LWT, which connection
this refers to.

        -JP


Back to the top