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

Bipolar compatible with Vantage V & M? #91

Closed
roesassi opened this issue Feb 20, 2019 · 8 comments
Closed

Bipolar compatible with Vantage V & M? #91

roesassi opened this issue Feb 20, 2019 · 8 comments
Assignees

Comments

@roesassi
Copy link

I was wondering if anyone tried to use Bipolar with the new Polar Vantage M & V devices. Is everything smooth as with the V800?
Thanks!

@pcolby
Copy link
Owner

pcolby commented Feb 20, 2019

Yeah, I've been wondering the same thing :)

@turhake
Copy link

turhake commented Feb 23, 2019

Hi, I've been using Vantage V since November and Bipolar works with it as well as with V800. Such a great tool, thank you!
One minor thing though: Bipolar's file naming system seems to be ignoring $sessionName option, so I'm missing the sports type in the file name of extracted files (they are now "date time .tcx" instead of "date time running.tcx")

@pcolby
Copy link
Owner

pcolby commented Feb 24, 2019

Thanks @turhake, this is really good to know :)

Bipolar's file naming system seems to be ignoring $sessionName option

Interesting. Is this something specific to the VV only, or you're seeing it with the V800 as well?

If its specific to the VV, would you be willing to provide a sample data file so I can debug it? (Will walk you through the process if you're happy to do it)

Thanks.

@turhake
Copy link

turhake commented Feb 24, 2019

Thank you for your ultrafast response, @pcolby

I just looked back to my Bipolar output folder, and it indeed seems that filenames changed when I first started to use VV. Before that I was forced to use M400 for couple of months as my V800 got fog inside and eventually the front glass went completely off. The watch still works, but is not too outdoor sports compatible anymore... :) Anyways, both V800 and M400 worked fine with Bipolar, and in the sense of file names, differently from VV. So my guess is that it is Vantage-related.

I would be happy to try to help and provide some sample data for you. I'd also be glad if you could walk me through the process!

Thank you!

@pcolby
Copy link
Owner

pcolby commented Feb 24, 2019

Excellent! Thanks @turhake.

To provide some sample data, go into the Bipolar export folder under the Window's %APPDATA% directory - typically C:\Users\<your login>\AppData\Local\Polar\PolarFlowSync\export on Windows, or something like ~/Library/Application Support/PolarFlowSync/export on OSX. (Note that the %APPDATA% directory is usually hidden by Windows).

There you should see a lot of files like v2-users-1234567-training-sessions-23456789-exercises-34567890-* (where the 1234567 is your Polar Flow user ID, and 23456789 is the session ID).

Find the session that you're happy to share (you can see the session ID in the Flow website URLs when looking at a session), and zip all of the files for that session, and the archive to git at colby dot id dot au. Try to pick a small / short session - no need for 100MB of GPS data! ;) It could just be a 'workout' with no GPS data at all if you that's easy.

Thanks! :)

@turhake
Copy link

turhake commented Feb 24, 2019

Great! Thank you @pcolby
I've just sent you email with sample data.
Many thanks!

@pcolby
Copy link
Owner

pcolby commented Feb 24, 2019

Thanks @turhake, I got the email and can see the initial issue... the session name is supposed to be in session-create protobuf field 11/1, but for your data it's empty:

$ protoc --decode_raw < *49-create  | grep -A2 '^11 '
11 {
  1: ""
}

I'll have to work out an appropriate fallback; something like:

  • session name, if present, or
  • some other protobuf field the VV may have added, or
  • the activity type name/s, or
  • some fixed value like unknown.

Thanks.

@pcolby pcolby self-assigned this Feb 24, 2019
pcolby added a commit that referenced this issue Mar 3, 2019
Thanks to @turhake for providing the samples.
pcolby added a commit that referenced this issue Mar 13, 2019
This will be used soon as a fallback when the Polar session name field
is missing, as is often (always?) the case for the Polar Vantage V.
pcolby added a commit that referenced this issue Mar 15, 2019
This change doesn't fix anything. It just means that the fix will show
the result (in the test) as well as the code change.
@pcolby
Copy link
Owner

pcolby commented Mar 16, 2019

The $sessionName fallback (to sport-type name) has been release in 0.5.10 :)

https://github.com/pcolby/bipolar/releases/tag/v0.5.10

@pcolby pcolby closed this as completed Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants