06-01-2018 16:33
06-01-2018 16:33
Hi everyone -
I am looking to build a very simple app to record gyroscope and accelerometer data and throw it into a database for analysis.
I am not a very experienced developer. Any recommendations for free solutions I could use to push the sensor readings onto? I've tried using Firebase, which I've used when building an app on node.js but I can't figure out how to do it on Fitbit.
I realize I could also just store the data locally on the file system, but I'm taking this as an opportunity to get more experience working with a third party data store.
Thanks in advance for the suggestions!
06-03-2018 21:12
06-03-2018 21:12
It looks like you're restricted to using the file system while working on the fitbit. If database support is added at some point, I suspect it will be Sqlite3 which seems to be one of, if not the, most popular data base for small foot print systems. It's free and has libraries for all current languages including Javascript.
You may want to consider bringing the data back to the phone and doing the analysis there.
06-04-2018 07:34
06-04-2018 07:34
So I understand that there is no database support onboard the device, but I was looking more for a free service that I could use a web API to send data to (likely using the companion app) using a URL and API key.
For example, I've set up Firebase before to push data to it using node.js, but that required installing a package using npm. I was looking for something that's simpler that would just require a URL (likely using the fetch() method in the Web API?).