-->
Page 1 of 1

Subscribe to multiple MQTT topics

PostPosted: Fri Aug 11, 2017 12:19 pm
by Chris_R
Hi guys
I am using a nodemcu with arduino IDE
Am trying to setup a remote monitor of two temperatures sent via MQTT broker

If I use the examples, both the topics I subscribe to and their payloads print fine via serial monitor
My problem is I have no idea how to extract the separate payloads so I can process them to display onto OLED

anyone able to point me in right direction on this?

I should point out that the two topics I want to look at are published one after the other, with around 0.05 seconds between them, according to timestamp on MQTT spy