You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set the format type to JSON whenever I use MQTTX, which I often forget, and I have to copy-paste my messages somewhere to format them.
Would LOVE for MQTTX to remember what format a device receives messages in and automatically format it.
Detailed design
I understand different devices work with different types, and even a single device often works with different topics that expect different formats.
It would be very helpful if we could configure this at the topic level while subscribing.
For example, an optional dropdown for format here:
Alternatives
The alternative is manually setting the format on starting MQTTX here:
And If you forget, your message doesn't look pretty and you have to copy-paste and do it yourself.
The text was updated successfully, but these errors were encountered:
V4G4X
changed the title
[Feature] Set a default message format for received messages
[Feature] Set a default message format during Subscription
Feb 26, 2024
Thank you for sharing your motivation and the detailed design idea for enhancing MQTTX.
Implementing different formats for encoding/decoding messages for various topics within a single device presents significant design challenges. We're carefully considering this functionality and hope to find an innovative solution to accommodate such versatility without compromising the software's performance or user experience.
Thank you once again for your feedback. It's insights like yours that help us improve and evolve MQTTX better to meet the needs of our diverse user base.
Motivation
I have set the format type to JSON whenever I use MQTTX, which I often forget, and I have to copy-paste my messages somewhere to format them.
Would LOVE for MQTTX to remember what format a device receives messages in and automatically format it.
Detailed design
I understand different devices work with different types, and even a single device often works with different topics that expect different formats.
It would be very helpful if we could configure this at the topic level while subscribing.
For example, an optional dropdown for format here:
Alternatives
The alternative is manually setting the format on starting MQTTX here:
And If you forget, your message doesn't look pretty and you have to copy-paste and do it yourself.
The text was updated successfully, but these errors were encountered: