I’m trying to do a simple temperature sensor from McThings using MQTT. The publish function in McThings seems simple enough by sending a topic and a payload.
I am pretty sure that I have the topic correct. I can see “Last data packet sent…” information in the Cayenne Dashboard that is updating every time I try to send data. There is also a flash in the Dashboard that says “Offline” every time I try to publish.
I think the problem is in the payload. From the Cayenne documentation, it looks like I should be sending a string. Seems simple enough “temp,c=21”. It seems like McThings only wants to send a “ListOfBytes”, not a string.
How can I get Cayenne to accept a “ListOfBytes” as the payload?
McThings is listed as a partner on the MyDevices.com website. Can you talk to them directly to figure out how we can publish from McThings?