Things speak data upload from sensors at the same time issue
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Nipuna
el 15 de Mayo de 2020
Respondida: Christopher Stapels
el 18 de Mayo de 2020
Hi,
I'm new to Things speak. I'm testing a sensor which has 18 out puts which collects at the same time.
Can I upload the 18 inputs at the same time to 18 graphs if I use commetial version?
I need to maintain the time preciously since it is important for calculations later.
What is the setting I need to use or purchase.
0 comentarios
Respuesta aceptada
Christopher Stapels
el 18 de Mayo de 2020
A single update is generally limited to 8 fields, plus locaton and status information. There are a few ways to achieve the effect you are looking for. If the devices have a synchronized clock, you can write the time along with the submission using the created-at parameter. Then each device could write the same timestamp even though the actual posting to ThingSpeak times might vary.
If the frequency of writing is slow, you could use the retime function in MATLAB to realign the times after they are posted.
You could forward data from all the devices to have a single device perform the write operation. If you wanted to write multiple entries in a single POST, you could use the bulk write ferature, but each entry needs to have a unique timestamp.
There is presently no difference in the number of fields you can write to simultaneously in the commercial or free version, but the number of allowed writes and the maximum frequency of writes are larger with a paid license.
If you absolutely need to write all 18 sensor values, it is possible to encode and then decode them. Our suggested workflow is to use one device per channel, and one field per sensor. Each field is up to 255 characters though, and you can pack more information in there if wou are willing to unpack it and create a custom plot later.
0 comentarios
Más respuestas (0)
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
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!