tomthe / gadgetStats

Companion Android app for Gadgetbridge to visualize stepcounter and heart rate data
14 stars 3 forks source link

Could you provide an apk? #1

Open djibux opened 6 years ago

djibux commented 6 years ago

Hello, Any chance you could provide a build of your app? Thanks.

tomthe commented 6 years ago

sure, just look at releases: https://github.com/tomthe/gadgetStats/releases/download/v0.1-alpha/gadgetstats-0.1.apk

I hope to release a new version in the next weeks, as I now use a Amazfit Bip and gadgetStats probably only works with a mi band 1/1s as of now.

djibux commented 6 years ago

Thanks for sharing. I have a Pebble. You're right: the app fails to display any data yet.

Le 4 mars 2018 20:32:56 GMT+01:00, Tom Theile notifications@github.com a écrit :

sure, just look at releases: https://github.com/tomthe/gadgetStats/releases/download/v0.1-alpha/gadgetstats-0.1.apk

I hope to release a new version in the next weeks, as I now use a Amazfit Bip and gadgetStats probably only works with a mi band 1/1s as of now.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/tomthe/gadgetStats/issues/1#issuecomment-370256653

-- Jean-Baptiste

djibux commented 6 years ago

Hello, I have had a look in src/pages/read-db/read-db.ts and all queries are done on MI_BAND_ACTIVITY_SAMPLE. The format seems compatible with PEBBLE_HEALTH_ACTIVITY_SAMPLE. Shouldn't you do a union of the two tables to make it compatible with both?

tomthe commented 6 years ago

Yes, that's a good idea. unfortunately i do not have the possibility to compile and test a new version of the app at the moment. .. so pull-requests are welcomed!

I also plan a new version which also works in a desktop browser and makes it better testable. But that may take some time...

djibux commented 6 years ago

I tried and setup an dev environment but couldn't get the project to compile. When running ionic build android, npm fails to get some dependencies.

notarget No matching version found for cordova-plugin-dbcopy@~2.0.4

I am very new to Node.JS, and it's getting late, so that's as far as I'll go for now ;)

tomthe commented 6 years ago

hm... that's the usual pain with nodejs... I updated package.json in master without testing it You can give it a try and pull the new version.

27e9c15ad14db43e6e92a2941a0caf5937e1c555

tomthe commented 6 years ago

BTW, the problem with the app right now is that it is laborious to test a new chart. you have to write the code, build the app, push it to your phone, wait, test and then you realise that there was a bug.

That's why I am working on a new version with sql.js, that let's you test the whole thing in the browser and where you can edit the sql and chart-description right there. you can edit that to work with the pebble easily. So here is a first version (which looks ugly and is not self-explanatory):

http://theilemail.de/gadgetstats/

I will upload the code to github in the next days.

djibux commented 6 years ago

Great news!

djibux commented 6 years ago

Hey, I checked the site today and got it to work (on Chromium). I can confirm that using PEBBLE_HEALTH_ACTIVITY_SAMPLE does the job. Great work!