Olen / solar-monitor

GNU General Public License v3.0
54 stars 21 forks source link

LWT Implementation #14

Closed Anto79-ops closed 1 year ago

Anto79-ops commented 2 years ago

hi, just curious would it possible to incorporate the Last Will and Testament (LWT) protocol for this project?

https://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament/

would be used to send disconnect/error notifcations to the user

Olen commented 2 years ago

Could be a nice feature. I have not looked at t in detal, but it seems to be easy enough to add to the datalogger.py. Please send a PR

Olen commented 1 year ago

Paho-example. Need to figure out exactly what we want to set as the LWT

https://mntolia.com/mqtt-last-will-testament-explained-with-examples/