I have two RaspberryPis, one with the mosquito broker, and one acting as a client. The client has set up a LWT with the broker. After a power outage that affects both RPis, both RPis come back online, but the LWT is never sent. I expected it would be sent since from the broker's point-of-view, the client is not longer receiving pings. I am wondering if this is because mosquito does not persist LWT to disk (all my other retain messages are present)? If so, can I change mosquito to allow this?
My config looks like:
# Place your local configuration in /etc/mosquitto/conf.d/
# A full description of the configuration file is at
log_dest file /var/log/mosquitto/mosquitto.log