<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How-To: Using JSON &amp; Map with MQTT]]></title><description><![CDATA[<p dir="auto">Since this took me a while to figure out the best method, I thought I would share.</p>
<p dir="auto">If you are posting JSON data to MQTT and want to use a property of a topic to populate a label:</p>
<p dir="auto">Posting JSON to MQTT:<br />
<img src="/assets/uploads/files/1583017358758-8ba32501-f08b-4a58-adc0-487669eb9160-image-resized.png" alt="0_1583017358008_8ba32501-f08b-4a58-adc0-487669eb9160-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Getting a value from a specific property of a topic:<br />
<img src="/assets/uploads/files/1583017407568-2c7f7627-7a9f-43b6-9297-2a2caae9ba72-image-resized.png" alt="0_1583017407496_2c7f7627-7a9f-43b6-9297-2a2caae9ba72-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Annoyingly, without the ability to set the retain flag and QoS in MQTT, UIflow's support of it remains just a toy.</p>
<p dir="auto">In addition, we really need a flag that tells us when the MQTT connection has actually started because there seems to be a significant delay before it works.</p>
]]></description><link>https://community.m5stack.com/topic/1730/how-to-using-json-map-with-mqtt</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 10:52:18 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1730.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 29 Feb 2020 23:06:38 GMT</pubDate><ttl>60</ttl></channel></rss>