Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you provide an apk? #1

Open
djibux opened this issue Mar 4, 2018 · 9 comments
Open

Could you provide an apk? #1

djibux opened this issue Mar 4, 2018 · 9 comments

Comments

@djibux
Copy link

djibux commented Mar 4, 2018

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

@tomthe
Copy link
Owner

tomthe commented Mar 4, 2018

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
Copy link
Author

djibux commented Mar 4, 2018 via email

@djibux
Copy link
Author

djibux commented Apr 2, 2018

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
Copy link
Owner

tomthe commented Apr 2, 2018

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
Copy link
Author

djibux commented Apr 7, 2018

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
Copy link
Owner

tomthe commented Apr 8, 2018

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.

27e9c15

@tomthe
Copy link
Owner

tomthe commented Apr 8, 2018

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
Copy link
Author

djibux commented Apr 8, 2018

Great news!

@djibux
Copy link
Author

djibux commented May 12, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants