Things speak data upload from sensors at the same time issue

1 回表示 (過去 30 日間)
Nipuna
Nipuna 2020 年 5 月 15 日
回答済み: Christopher Stapels 2020 年 5 月 18 日
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.

採用された回答

Christopher Stapels
Christopher Stapels 2020 年 5 月 18 日
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.
See the write data page in the documentation for more information.
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 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeThingSpeak についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by