What would be the easiest way to send Metaware accelerometer data to a cloud?
Hello,
This blog post http://projects.mbientlab.com/data-processing-with-metawear is very close to what we are trying to accomplish in our project.
Is there a way to continuously send accelerometer data to a cloud instead of manually saving and emailing.
I would like to use IBM quickstart IOT service to collect RMS value over time https://quickstart.internetofthings.ibmcloud.com/#/
We have bought Metaware and a cheap Android phone and was able to install activity tracker from Android Studio as described here:
http://projects.mbientlab.com/metatracker-android-version-turns-your-metawear-into-a-fitness-tracker/
But I am stuck on how to customize the code to push the data to the cloud. I am not a java programmer and it is all new to me.
IBM has a recipe on how to do this https://developer.ibm.com/recipes/tutorials/mobile-devices/ but I wasn't able to merge the code yet.
Can you point me to the right direction please?
Thank you,
Michael
Comments
Hi Eric,
I am trying to repurpose your fitness tracking application. I thought I would be able to extract data from MetaWareController class, calculate RMS and then instead of writing to SQLiteDatabase upload to IBM cloud where I can utilize Node-Red and DashDb.
Your "Activity Tracker" app worked "out-of-the-box" for me and I was hoping that I only need to add few lines of code from IBM Git repository to create a JSON message and push it to the cloud.
Thank you,
Michael