MATLAB: How to write a matlab code to automate the bulk write procedure on Thingspeak bulkbulk-updateMATLABThingSpeak How to write a matlab code to automate the bulk write procedure on Thingspeak Best Answer Please see the documentation for the thingSpeakWrite function. Related SolutionsMATLAB: ThingSpeak: Problem with Bulk-Write JSON Data As key-value pairs of update says, key names should be created_at, delta_t, field<X>, latitude, longitude, elevation, status.So, how about changing the field names of "Temperature", "Pressure", "Humidity", "CO2" to "field1", "field2", "field3", "field4", respectively?{ "write_api_key": "XXXXXXXXXXXXXXXX", "updates": [{ "created_at": "2018-06-21 22:21:40 +0300", "field1": "27.51", "field2": "746.02576", "field3": "42.407", "field4": "978" } ]} MATLAB: Thingspeak bulk update csv problem What URL are you sending the POST request? For this format, you need this URL: https://api.thingspeak.com/channels/XXXYYY/bulk_update.csvReplace XXXYYY with your channel ID. Related QuestionBulk CSV upload to ThingSpeak with PythonIncorrect timestamp when using bulk upload of several lines on ThingspeakHow to write data to thingSpeak fieldOpenstreetmap zoomable map on thingspeak
Best Answer