MQTT unsubscribe is, AFAIK, not yet implemented. What's the best alternative? #750
-
I wish to pick up a retained value using an MQTT subscription to a particular topic when my ESP32 is first powered up. I then wish to NOT receive anything from that topic until the next power up because this is the only time it's relevant. Is my only option to carry on receiving that topic and just throw away the data? That's fine, but seems wasteful of resources on both the ESP32 and my MQTT Broker. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I think the easiest is that we just go ahead and implement the unsubscribe functionality. Thoughts, @floitsch? |
Beta Was this translation helpful? Give feedback.
-
Well, obviously that gets my vote :)
Easy for me so say though...
…------------------------------------------------------------------------
On 21/05/2022 08:48, Kasper Lund wrote:
I think the easiest is that we just go ahead and implement the
unsubscribe functionality. Thoughts, @floitsch
<https://github.com/floitsch>?
—
Reply to this email directly, view it on GitHub
<#750 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFADTMTRLACULGKUVR5MOL3VLCIOBANCNFSM5WROGNTQ>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
Beta Was this translation helpful? Give feedback.
-
I will implement it today. Edit: unsubscribe is now implemented and committed. |
Beta Was this translation helpful? Give feedback.
I will implement it today.
Edit: unsubscribe is now implemented and committed.