Hi all,
Feasibility question: Is it possible to take an array of values (e.g. floats) and pass them as a single MQTT request to the Adafruit.io server? For example, could I take readings from the ICM20649 and then pass buffered readings of the accelerometer and gyro values to separate feeds so I do not violate the posting limit but still collect the data?
Thanks!
Sending "Chunks" of data
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Sending "Chunks" of data
You can send multiple updates in a single publish, but each value in the batch update will still count against the data rate limits.
Here is the documentation on how to group them up:
https://io.adafruit.com/api/docs/mqtt.html#group-topics
The benefit is reduced bandwidth and possibly power consumption used, not being able to bypass data limits.
With the API, you can also batch up records all for the same feed:
https://io.adafruit.com/api/docs/#creat ... ta-records
Here is the documentation on how to group them up:
https://io.adafruit.com/api/docs/mqtt.html#group-topics
The benefit is reduced bandwidth and possibly power consumption used, not being able to bypass data limits.
With the API, you can also batch up records all for the same feed:
https://io.adafruit.com/api/docs/#creat ... ta-records
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.