ways to write data -凯发k8网页登录

main content

ways to write data

thingspeak™ channels store raw and processed data. you can upload data directly from devices using the rest api or the mqtt api. you can write data from third-party applications, including the libelium meshlium connector or the things network integration. you can also write directly from desktop matlab®.

write data with a device

for connected devices that support http commands such as get, post, and delete, you can send http commands through the thingspeak . these commands can come from a connected hardware device, such as an arduino with a wifi shield, or from software running on a desktop computer.

write data with rest api

rest calldescription

write a single entry to one or more fields.

write many entries to a channel in json format with a single http post.

write many entries to a channel in csv format with a single http post.

you can also write to your channel using mqtt, a lightweight device-messaging protocol. the thingspeak writes to your channel using the method. for more information, see .

write data with mqtt api

publish methoddescription

publish a message to update a single channel field.

publish a message to update multiple channel fields simultaneously.

write data with matlab

the lets you use matlab to analyze and visualize data stored on thingspeak. use to write scalar, vector, or timetable data to multiple fields and multiple entries in your channels. for example, in matlab, you can write the value 3.2 to channel .

thingspeakwrite(17504,3.2,'writekey','23zlgobbu9twhg2h')

write data with software

you can write directly to thingspeak in your software application using a communication library for http or mqtt. you can use the or commands listed in the tables.

write data from the web

you can import data to your channel with a csv file. click the data import / export tab on your channel view. see for file format information.

write data with meshlium

you can use the thingspeakcloud connector with libelium's meshlium iot connector to automatically store your data. the cloud connector creates channels and maintains the channel list to keep your device data stored and ready for analysis. see for detailed setup and troubleshooting information.

write data with the things network

you can use the thingspeak integration at the things network to automatically forward data to your thingspeak channel. see to learn how to add a thingspeak integration to an existing the things network application. see to learn how to set up long-range data collection using the things network.

see also

网站地图