Good day all
I followed the tutorial to publish sample data from an Arduino to the Carriots data stream via a MQTT broker. My issue has for a while now been that I can't seem to publish any data other than the sample data used in the tutorial. I would like to publish a variable measured by my ESP8266 (basically an Arduino Wi-Fi module), but everything I try, text or value, does not get published, even though the feedback given on the serial console says it has been published.
I suspect it has something to do with the string length that I am trying to publish, since I can post a string value as long as it is the same amount of characters as the sample data. Anything with more characters or less characters does not get published. It seems like such a trivial issue but I have tried just about everything.
I've altered the frame_json string as well as the data_json string. I've also substituted headers and payloads used in the http examples and that also did not work.
Thanks in advance