This was promised to share in this topic: viewtopic.php?f=3&t=1312
It's a remake of a file that was found in the Wiki (https://www.flowcode.co.uk/wiki/images/ ... P8266.fcfx) but altered for use with Thingspeak.
I'm using a ESP32 Wroom and a SSD1306 display.
I've got another module that publishes data every 5 minutes onto a Thingspeak channel. (kind like described in: viewtopic.php?f=3&t=999&p=5495#p5495).
This data is stored by Thingspeak and I can read it back (and download, and display and.. ) via a browser.
But, I want to show the latest data from 1 field in the published data on a display so I need to read the data back for "field 1".
So this channel I'm using is a private channel (which is falsely called "1547543" in this example).
To subscribe I need to add a device in Thingspeak and read the credentials. (Thingspeak, login, MyChannels, add new device, store Client ID and Password).
I need to make sure that the new device is granted access to the channel that it needs to read data from. (in device settings => Authorized Channel and select the channel you want to read from, set to "Allow Subscribe").
So in this example I will use channel "1547543" to show field 1 on a device that has these credentials:
Client ID/Username: hgGItui!uy798787reyurt5
Password: iug44§44hè4sduiyiuy!5857
Use these in the MQTT component settings..
Off course these are not real

channels/1547543/subscribe can be used to subscribe to the whole channel (not tested yet)
channels/1547543/subscribe/fields/field1 will be used to only receive the content of field 1 and display it.
First issue is the watchdogtimer for the ESP32 Wroom.
I'm using supplementary code" specified in "project options" to get rid of the watchdog timer issues.
I'm disabling it for a short while as first step.
Then I'm initialising the whole thing and print some stuff on the display.
There are some things that are obsolete but I don't have the time to delete these steps in the Flowchart right now. But how it works is not different from the example I've used from the Wiki.
Try and edit the time between two PINGS by changing the "PingCounter" variable.
But also the "keep alive" parameter in the MQTT component properties.
If the display shows the "subscribe/connected" message too much, change these parameters.
I hope this example can be of any use to study the MQTT readback from a Thingspeak channel.
I will try and help if there are any questions.
Thanks to all the people that helped me with this one!