How to send more than 2 sensor data to thingspeak in one channel

17 visualizaciones (últimos 30 días)
Megha Patil
Megha Patil el 26 de Mayo de 2022
Comentada: Christopher Stapels el 26 de Mayo de 2022
Can i send the three sensor data (functions are connected on each other in project) on same channel as field 1, field 2, field 3 ? how it is possible? Thank you.
  1 comentario
Christopher Stapels
Christopher Stapels el 26 de Mayo de 2022
You can send multiple sensor measurements in one request by appending additional measurements to the request using '...&fieldx=...'. All your sensors need to be connected to one device. If the sensors are attached to sperate devices, you can have them poist to differnet channels and then use a MATLAB analysis script to combine the data into a new combined data channel if required. For example:
https://api.thingspeak.com/update.json&api_key=xxxxxxxxxxxxxxxx&field1=1&field2=22&field3=333
See the Write data page for more details.

Iniciar sesión para comentar.

Respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre ThingSpeak en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by