yashsingh1/xdaforums huggingface dataset:
[Samsung Gear Fit] jareddlc:
I've posted this over in the general section as well, as I started a thread over there, but being that it is also relevant here:

Looks like i made some progress with the pedometer stats:

Im still figuring out the last part of the message but here sample of some stats:

My watch showed this information:

pedometer: 3404 steps, 2.59km, 119cal

Monday Aug 17 8:34 pm, running, 01:02 time, 0.00 km,0 cal, avg speed, 0.0kmh, max speed, 0.0kmh, avg pace - --km, max pace, - --, avg heart 88bpm, max 93 bpm

and here is the data I gathered so far from asking a sync request via OpenFit

Pedometer total: 28
//this is just 1 of 28
timestamp: Mon Aug 17 2015 09:10:00 GMT-0700 (Pacific Daylight Time)
steps taken: 168
distance: 143.02999877929688
calorie: 6.550000190734863

//2 of 28
timestamp: Mon Aug 17 2015 10:00:00 GMT-0700 (Pacific Daylight Time)
steps taken: 204
distance: 151.83999633789062
calorie: 7.069999694824219

//etc
...

Adding up my results gives me:

steps: 3404

distance: 2593.5100078582764

calorie: 119.72000052034855

looks like I successfully got pedometer stats, and I'm almost certain the hear rate "summary of exercise as well" is present, im just havent "reversed engineered it" yet. I'm also not sure if I will have access to a finer detail heart rate. So I'm hoping to be able to sync steps with Google Fit.

I have a questions for Stock users. Does S Health show summary for heart rate? Also could i also get someone to help me out with doing running or cycling with working s Health and GPS data. Since it doesn't work for me. If anyone is interested let me know I'll let you know how you can log BT data.
[Samsung Gear Fit] jareddlc:
Hey guys, Can I get some help.

Can someone record BT traffic for alarms, and for Weather? These should be relatively easy to implement, but I need some sample data. I also want a break from fitness, I havent cracked it yet.
[Samsung Gear Fit] jareddlc:
Google Play download

I got a google play link available. I am thinking of making all downloads available trough play, and only have test builds here. :highfive:

Google Play: Open Fit
[Samsung Gear Fit] FitzAusTex:
Still don't think I can do logs without being rooted, else I would definitely do it for you. And congrats on the Play Store app!
[Samsung Gear Fit] Danieldan5152:
[MENTION=2992563]jareddlc[/MENTION] meybe do beta section as well that would be cool on google play much easier because I was thinking this morning if you might want to post on pushbullet when a new release/test release is out
[Samsung Gear Fit] aglbz:
Bluetooth Volume Support

This is a phenomenal App!

Confirmed working on:

OnePlus One [5.1.1]

Moto X Play [5.1.0]

I was just wondering if you could build in Bluetooth volume support. I know that the volume works for the device speakers, but I myself and a number of my colleagues here at work own this device and use it while exercising using Bluetooth headphones.

It would be awesome to control Bluetooth volume as well. This was a function available on the original GearFit Manager.

Development is greatly appreciated and will be rewarded! :good:
[Samsung Gear Fit] jareddlc:
[MENTION=4388824]aglbz[/MENTION] support to media controller volume will come soon. I took a quick break after publishing to google play, and Some features coming soon will be

Alarm support?

Weather support?

media controller volume support

fitness sync to google fit

as heads up, if i do get fitness sync working, I was thinking of having two apps, one free with all features (without fitness) and the other would be the same with fitness sync for a small price.
[Samsung Gear Fit] aglbz:
Phenominal! Thank you so much!

Just downloaded a copy via Google Play and will await and update.

Also Rated it 5 stars as you have essentially solved a problem many gear fit owners have; that is switching to non samsung.

Media volume support & Google Fit Sync would be would be awesome!

Weather and alarms for me personally are a device GoTo. Cheers!
[Samsung Gear Fit] jareddlc:
v1.1.0

Updated to google play store. Please let me know if you get notified as usual other apps update. This is my first app, so I am not sure if the updates get pushed automatically or not.

Changes:

Support for Media Controller volume

Alarms should be working soon, thanks to an xda member who sent me the BT log.

As usual, please test and let me know for any issues/bugs. [MENTION=4388824]aglbz[/MENTION]
[Samsung Gear Fit] cpvyb:
Github repository

Thanks a lot for APP.

Can you update the github repo. I did some improvements and I would like to sync them with your latest code.

Thanks a lot
[Samsung Gear Fit] jareddlc:
[MENTION=6318226]cpvyb[/MENTION] Github has the latest code. please submit a Pull Request on github and i'll test your changes
[Samsung Gear Fit] Danieldan5152:
[MENTION=2992563]jareddlc[/MENTION] seem to have new bug since going over to play store. Device like disconnects and reconnects but it does not recieve notifications till I open the app for a few moments again
[Samsung Gear Fit] jareddlc:
what was the last version before going to the play store?
[Samsung Gear Fit] synesthete:
Thanks for all of the work! I'm really looking forward to the alarm support!
[Samsung Gear Fit] jareddlc:
Cant cancel alarm

Ddisappointed again, just like the emails seems like samsung is doing android magic. The reason Open Fit cannot get email is becuase it is protected, however the gear fit manager can, I wonder if it can only grab it on official rom. Also Android does not support cancelling of alarms. I can send alarm vibration to watch, but when the watch send back the cancel or snooze, Open Fit cannot dismiss or snooze the alarm. How disappointing. :(

Does anyone know if email or alarms work on gear fit manager that are not running stock samsung rom?
[Samsung Gear Fit] synesthete:
I have never been able to get Alarms working on my Gear Fit with my Nexus 5. For Email I only use Gmail and I don't think that ever notified me on the Fit. I don't know if that helps, since this isn't a Samsung phone.
[Samsung Gear Fit] rafaelmsartor:
Thanks a lot. Just found out about your app and installed it.

Volume control is working great. I just have one problem, if I'm using an application to listen to music, like Spotify, and click on the GF media controller to pause it it opens Google Play Music instead of pausing the song that is currently playing.

I'm on a Moto X 2014 with Android 5.1.1
[Samsung Gear Fit] garrax:
Great app

How can I manage to get FIT APPs from store to work?

After installation app says "install fit manager before".
[Samsung Gear Fit] Seba30:
Really you installed Open Fit?

Fit can Menager :)
[Samsung Gear Fit] monkey3ddd:
Looking forward to your progress on this. Just installed on my note 4 with cm12.1
[Samsung Gear Fit] jareddlc:
thanks [MENTION=2422791]synesthete[/MENTION] im looking for a work around, though I feel like it wont be possible. would partial implementation work or be too confusing? Like being able to vibrate on the gear fit but the dismiss from the gear fit wont work? thoughts?

[MENTION=6915786]rafaelmsartor[/MENTION] media controller uses the same functionality when you have a headset connected and hit the next/prev button in which i think it uses the default media player on the phone. If you switched it to default that may work, the other solution is to have a huge list of common media players and try to perform action on each one :(

[MENTION=5416775]garrax[/MENTION] there is no support for CUP or Fit apps in Open Fit

[MENTION=1014214]Seba30[/MENTION] sorry the translation says "really installed open fit?" I'm not sure if you are asking a question.
[Samsung Gear Fit] synesthete:
For me, dismissing the alarm on the phone would be fine as long as the Fit vibrates. I suppose that it might bother others though. Maybe that could be a feature that you can turn on/off. I am deaf in one ear and sometimes don't hear my alarm, so having a vibration alarm can certainly be helpful.
[Samsung Gear Fit] rafaelmsartor:
[MENTION=2992563]jareddlc[/MENTION] Thanks for the reply. I got it to work by rerouting the button action using the app Media Button Router (since I'm new around here I can't post a link to the app on the play store) .

If I can give my opinion on your question about the alarm notification, I agree with [MENTION=2422791]synesthete[/MENTION], adding vibration only as a feature that you can turn on/off would be great.
[Samsung Gear Fit] garrax:
Is it realistic (or possible) to add in OpenFit something like GEAR FIT PHONE app or GEAR FIT QUICK SETTINGS and stuff like that?
[Samsung Gear Fit] jareddlc:
[MENTION=5416775]garrax[/MENTION] I am not familiar with those, are they external apps? or built into the gear fit watch? If its built-in it should be able to be reverse engineered. But i have a feeling you mean External apps. I have not looked into how they work, but my guess it would be with alot of effort.
[Samsung Gear Fit] garrax:
Unfortunately those are external app from play store.

Gear Fit phone let you choose to answer a call from your wrist and enable loud speaker on phone. This is a great function I'd like to see in OpenFit.
[Samsung Gear Fit] jareddlc:
v1.2.0

Alarm support, somewhat. Due to fact that Android cannot dismiss the stock android app for alarm, there is no way to dismiss the alarm via the gear fit, However any alarm with the stock app will trigger gear fit notification. I was thinking of improving this and adding a custom alarm to Open Fit such that it is fully functional. However that would involve me learning how to make an alarm app :) and probably would require use of a database which, im trying to avoid as of right now :)
[Samsung Gear Fit] ziotidus:
Hi,

Thx for all your job, you are amazing!!!

I have a question for you.

It's possibile improve the 3rd party apps notifications, to have for example whatsapp with the icon of the app, gmail with its icon ecc ecc.. as the official samsung app of the gearfit?

Thanks for your time
[Samsung Gear Fit] garrax:
Yeah. It works fine

Could we expect something about "quick response" working?
[Samsung Gear Fit] army155:
Sorry for my english .... Congratulations great project ... Very complete (It is already very much what has been done) :)

Out of curiosity ... it is impossible to integrate the function "app connect" for open manager? For example, to use applications very comfortable type "fit phone, watch styler, camera etc." ... Or should be the developers of individual applications to incorporate compatibility with open fit? (since all depend on your gear fit manager) ... Thanks :)
[Samsung Gear Fit] jareddlc:
[MENTION=1720640]ziotidus[/MENTION] the Gear Fit Manager limits this to 10 apps, to reasons I believe due to a limited amount of memory on the Gear Fit. Yes the way it is right now is not the best looking, but it does support unlimited amount of apps. I could potentially do something like first 10 apps get icons but the rest don't, It will involve work in figuring out how the gear fit wants the image, and being able to send multi part messages, which I haven't done. It is alot of work and not currently on my high priority list. However The project is open sourced and I wouldn't mind someone else helping out.

[MENTION=5416775]garrax[/MENTION] many people want this, I haven't begin looking into it. I think the way this works may require the Open Fit to change in behavior and will vary between apps. It may be possible and easy to do replies to text messages, but not 3rd party apps.

[MENTION=3683252]army155[/MENTION] "app connect" apps are not supported and I havent done any research to see what is needed for Open Fit to support them. I never installed an App Connect app, Do you need to install via Gear Fit Manager? or how does the app get into the Gear Fit?

Here is my Priority list in no specific order

Fitness Data (Pedometer, Exercise, Sleep?)

Google fit integration

Weather notifications

Quick reply

Find my device
[Samsung Gear Fit] garrax:
Love your developing line up :good:

I have 2 questions:

- Don't you think it will be better not to receive notifications on FIT while you are using the smartphone?

- "Show on device" function will be inserted on your line up? :D
[Samsung Gear Fit] jareddlc:
Weather notifications are almost done.

I was thinking allow the user to receive notifications of current weather conditions on a time of their choosing, or a given interval like 1,6,12 hours. these will show up in the notification section, optional of course. and then figure out how can i send temp for use for weather clock if possible.
[Samsung Gear Fit] synesthete:
I just tested the latest build and things seem to be working well so far. The Alarm functionality is working and I am totally fine with dismissing it on my phone. One thing that I noticed with media is that I can pause Google Play Music, but pressing the play button doesn't seem to make it play again after that. I don't know if this is a bug or just something that you haven't worked on yet. Let me know if you want logs or anything.

Thanks for all the work!
[Samsung Gear Fit] Seba30:
Thank you for your work, you are doing a really good job.

After the last update alarm obviously works.

But I have one trouble. About an hour before the alarm gets about 15 20 text notifications of incoming alarm clock .I have no idea how to turn it off.

My android is Kit Kat 4.4.4.

Did you have these situations?
[Samsung Gear Fit] djurkash:
I had gear fit I think a year ago, and sold it like in January, without seeing this thread. Now, after SW3, wants to come back to a simple tracker only, and came upon this thread, which persuaded me to purchase one again...great work !
[Samsung Gear Fit] garrax:
Do you have CLOCK in your app notification list? I had the same problem, then removed the app from the list and solved.
[Samsung Gear Fit] Seba30:
Yes I have. :)

Thanks I try

It is OK

Thanks
[Samsung Gear Fit] garrax:
[MENTION=2992563]jareddlc[/MENTION] I have an issue on media controller.

To start the player I have to tap 3 times on play before it starts. Same for skip function.

Volume works well.
[Samsung Gear Fit] jareddlc:
[MENTION=5416775]garrax[/MENTION] what app for music are you using? The way I've implemented media controller, is using a "cheat" way. Because every app is different I decided to try using the Media key events. This mimics having the behavior of having a headset connected and pressing play prev/next on the headset. So I am not sure if this has any issues with specific phones. What phone do you have and which music app are you using.
[Samsung Gear Fit] cpvyb:
I did a Pull Request. Or at least, I tried. Let me know if everything is OK. It is my first time.

I would like to improve the APP support and implement the device find.
[Samsung Gear Fit] garrax:
I use Spotify on a OnePlus One 5.1.1.

On previous realese of OpenFIT it works well.
[Samsung Gear Fit] cpvyb:
Find Device

Just sent a FIndDevice functionality PullRequest

Regards
[Samsung Gear Fit] jareddlc:
[MENTION=6318226]cpvyb[/MENTION]

Awesome I'll check it after labor day weekend as I do not have access to my workstation.
[Samsung Gear Fit] jareddlc:
[MENTION=6318226]cpvyb[/MENTION] awesome! just went over the PR I had a few questions, and wasnt sure if you wanted to change, or i can manually change it myself. I haven't tested it yet, but for apps "com.trtf.blue" and "com.whatsapp" you do special logic, I assume you want whatsapp message separate from other types. I've thought about adding common apps filters like facebook messenger as I am bothered by the "1 conversation" message. For the email I was thinking of making a new section that will allow user to select their email application. So these changes I think do not belong in this pull request. I'm not trying to be rude or anything and Im very happy you have contributed, but I would like to separate features being pull requested. Please let me know with which option you are comfortable. thanks!
[Samsung Gear Fit] cpvyb:
Please change it by yourself.

You are right. Email / App support requires a mayor rewrite. What I did was only to understand how it works.
[Samsung Gear Fit] jareddlc:
[MENTION=6318226]cpvyb[/MENTION] thank you very much! Sorry to be picky about it, I just didn't want to introduce new behavior to the app. However I appreciate your contribution. If you have specifics of how things work feel free to ask. Also suggestions are greatly welcomed as this is my first android app.
[Samsung Gear Fit] cpvyb:
OK. Let me know if you like the finddevice part.
[Samsung Gear Fit] jareddlc:
I'm back from break and I'm currently testing hourly notifications for weather notifications. Hopefully I'll wrap up this feature in a few days as It will require some UI elements, then back to Fitness
[Samsung Gear Fit] KSmithInNY:
Unfortunately I think Samsung might have added an extra handshake in here which is preventing this app from working on my Gear Fit. I was using the Gear Fit with my S6 and today decided to pull out the Nexus 5. I've installed the open fit, followed the steps (and photos) except now after you confirm the bluetooth pairing code the band goes into a screen saying "waiting for confirmation from gear fit manager". It stays this way for about 30 seconds then times out says the device did not pair.

I fired up the S6 and paired through the gear fit manager, worked flawlessly. Reset the gear fit and tried multiple times on my Nexus 5 and every time it gets stuck at "waiting for confirmation from gear fit manager".

I've attached an image of what the band is saying. I'll edit with more details soon but i gotta run real quick.

EDIT - So here is what is going on. Samsung has apparently updated the gear fit manager and hence the gear fit band. When I pair my gear fit with my S6 using the gear fit manager this is the order of progressions

1) Open Gear Fit Manager on S6

2) Select Gear Fit band

3) The gear fit band and my phone both show a bluetooth pairing agreement with a pairing code and i need to accept on both devices.

*Here is the trick*

4) The band goes into a waiting mode while the the gear fit manager (on the S6) shows you the Samsung EULA that you must agree to. Until you agree the band is completely not functional. So this si the new thing that Samsung added that the band is waiting on.

5) Once I've confirmed the EULA, now i go to to select right or left wrist, etc.

As you can see step #4 was previously not there and therefore your app is not programmed to send the acknowledgement (user check marked "agree") to the device.

EDIT #2 - The gear fit apk I'm using on my S6 is v1.117.030622 and I'm currently pulling it to post. I also have an apk on my phone called "GearFitInstaller" which is v3.7 that I'm also pulling to post.

EDIT #3 - Here is a link to the 2 apk packages I mentioned. Sorry for directing you to dropbox but XDA said the files were too large (22 MB). - https://www.dropbox.com/sh/h1oeyinq4kgfe8m/AAAcFeCkmjwBGC7suanjfXoDa?dl=0
[Samsung Gear Fit] jareddlc:
v1.3.0 Testing needed

Hello I've uploaded a "beta" version of v1.3.0 which includes weather notifications. If this works correctly i'll merge [MENTION=6318226]cpvyb[/MENTION] pull request.

Things to note.

Updates every hour(hoping this works as im uploading late night, and didnot want to wait for 1hr to passby to update)

Currently only supports Fahrenheit. Need to figure out how to allow change in UI. The easy way is to do like "Clock Format" where one option is Fahrenheit other is Celsius, however this mean that weather updates will always be on, I assume some users will not want to be notified.

I hope this works for many people, as its the first time the app is going to make a network request.

Update: fixed notifications. Timing was off

When launching app, and if weather updates are enabled, it will round up to the nearest hour and then execute on the hour. Due to changes to android API, it no longer has accurate time intervals, so if you launch app near the hour, it may send the notification before you get to get connected to gear fit. if this is the case you will have to wait all the way until the next hour to get a notification. meaning you may need to wait less than 2 hours to get notification. There are newer ways to get more accurate time intervals, but the method I used was the easiest as it was pre lollipop api. and since I dont need them to occur exactly at the hour, it is more "energy efficient" as listed by android documentation.
[Samsung Gear Fit] jareddlc:
[MENTION=3857848]KSmithInNY[/MENTION] what version of software version of Gear Fit are you running.
[Samsung Gear Fit] Gh0stw4lk3r:
Installed the beta, you could make the weather notification setting like the 12 hour clock, but make 2 checkboxes, which allow you to select none or one of the 2, but not both.

will the weather notification be each whole hour?

if it is each whole hour, i didn't get any notification, do i need a other app installed for weather data?
[Samsung Gear Fit] KSmithInNY:
[MENTION=2992563]jareddlc[/MENTION] Sorry, meant to include that.

Model: SM-R350

Software Version: R350XXU0BNE5

I've tried such as different combinations like pairing it to my S6, then also pairing it to my N5. Unfortunately no progress.
[Samsung Gear Fit] jareddlc:
[MENTION=2688942]Gh0stw4lk3r[/MENTION] I uploaded a bad version sorry. late night coding does that to you. Due to changes in android, the intervals aren't exact.

Yes I agree I would need a new UI element for weather, because it should have, on/off, and Fahrenheit/Celsius

new version uploaded. no external app needed
[Samsung Gear Fit] kevin168:
[MENTION=3857848]KSmithInNY[/MENTION]

I use FW version R350XXU0BOA2

Here is what i did to connect gear fit,

-Open bluetooth in setting then try to pairing it.

-After accept code on gear fit,

-OpenFit, scan devices ->select -> Tick connect device

It can be connected properly

[MENTION=2992563]jareddlc[/MENTION]

Anyways i can't use connect devices directly from openfit, it didn't show any pairing request.

So i need to do pairing request from bluetooth settings.

-Alarm don't seems working here, use meizu M2 note

(Because customized android os??) Flyme OS 4.5.3

-You should do some notification filtering, i've seen it use by app "mifit band tools", it can ignore the non-clearable notification list.

I use bbm messenger, i've received many " false" notification with openfit, because of notification status that show app network "connected"

Hope it will be a priority update :)
[Samsung Gear Fit] jareddlc:
[MENTION=3857848]KSmithInNY[/MENTION] did you paired with the device? When connecting from OpenFit it will prompt you on the app and on the phone. In order to proceed you will need to pair from both places. If you cannot get the pair to appear on the phone, try pairing manually from settings.

[MENTION=852730]kevin168[/MENTION] sometimes the pairing requests shows up as notification and not as an alert. Alarms only work with stock android clock app. Notification filtering is something I've been wanting to do, but as you can imagine, each app will have different filter rules. I have a few i want to filter, such as facebook messenger, whatsapp etc, but there are other apps I do not use, where people have requested. For this it would be extremly helpful for other developers to submit Pull requests. As testing each app will take some time.
[Samsung Gear Fit] jareddlc:
v1.3.0

Updated to google play store.

Changes:

Weather notifications. Supports No updates, and 1 hour updates, Fahrenheit and Celsius. Currently only english support.

Upcoming possibly work on weather for clock style
[Samsung Gear Fit] kevin168:
[MENTION=2992563]jareddlc[/MENTION]

Pairing request not working on my phones, only show attempt to connect then nothing happened.

Gear fit not show any incoming request for pairing.

For bbm messenger,

There is notification show connected status,

The other one was a real message notification.

In miband tools, he found some clever filtering mode.

So if any notification is non-clearable state, it won't be sent as notification to miband.

Maybe you should try bbm app, sorry if my english isn't good enough to describe it.