pcolby / bipolar

Free your data from Polar FlowSync
GNU General Public License v3.0
115 stars 16 forks source link

Bipolar compatible with Vantage V & M? #91

Closed roesassi closed 4 years ago

roesassi commented 5 years ago

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 commented 5 years ago

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

turhake commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

pcolby commented 5 years ago

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:

Thanks.

pcolby commented 5 years ago

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

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