Johan Vervaet in MATLAB Answers
Letzte Aktivitätam 6 Feb. 2022

I am using a free license for publishing data with MQTT on ThingSpeak which works very good, according to the format: channels/<channelID>/publish/fields/field<fieldnumber>. Can I subscribe my channel(s) with MQTT with a free license with the format: channels/<channelID>/subscribe/fields/field<fieldnumber>. Or is there any restriction? Thanks for your answer and best regards.
Carlo in MATLAB Answers
Letzte Aktivitätam 8 Dez. 2020

Hi everyone, can you tell me how many fields of a single channel can I update with a single command, with a free thingspeak license? I know that I can create a maximum of 4 channels, each one with 8 fields, but I can't update more than 4 fields. I selected 5 fields and I sent a single string with the 5 values to update, but no data was shown; conversely, if i send a string with 4 fields to update (or 3 fields + the status), it works. I posted the code that i used with the 'GET' command; as long as I try to update 4 (or less) fields it always works without issues. So I would like to know if I need to purchase a license in order to use more than 4 fields of a channel, and if the student license would be fine. Thank you // data string to send to ThingSpeak String data="GET https://api.thingspeak.com/update?api_key=" + wKey + "&field1=" + String(PM1,2) +"&field2=" + String(PM25,2) + "&field3=" + String(PM10,2) + "&field4=" + String(H,2) + "&field5=" + String(T,2); // + "&status=" + String("status"); SIM.println("AT+CIPSEND"); //begin send data to remote server delay(4000); SIM.println(data); // send data to remote server delay(4000); SIM.println((char)26);

Info zu ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.

Mitwirkende mit den besten Beiträgen

Moderatoren