Hi,
On one of the esp01, I am now getting status/LWT "connection lost" and also the last data value even after I have switch off the esp when I subscribe to /%sysname%/#
I take it has something to do with QOS, LWT and retained messages. How do I clear the LWT retained message, ie the last data value? and what is the QOS with espeasy. ESP version mega-20180723 using public mqtt broker hivemq.
Thanks,
Ken
getting status/LWT "connection lost" and last data value
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: getting status/LWT "connection lost" and last data value
One way to remove retained values is to send a new message, with no retain flag, to that same topic. But I find it easier to use a client software to do it instead of using the ESP. I recommend MQTT Snooper: https://play.google.com/store/apps/deta ... qttsnooper
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: No registered users and 24 guests