Giter Club home page Giter Club logo

bipolar's Introduction

Bipolar Logo Bipolar

Build Status Static Analysis

Important

After 10 years, Polar has begun sunsetting the FlowSync (desktop) application, and requires the Flow (Android and iOS) app instead for full data sync. From the Polar FLowSync support FAQs:

WHICH PRODUCTS ARE COMPATIBLE WITH POLAR FLOWSYNC SOFTWARE?

The following data cannot be synced using the Polar FlowSync software on your computer: skin temperature, wrist ECG and SpO2 (blood oxygen saturation). We recommend syncing with Flow app as we're gradually sunsetting FlowSync. FlowSync doesn't support all the features on your watch, which means that some of the data won't be synced. If you continue with FlowSync anyways, you can sync the missing data with Flow app later. For full support, we recommend syncing with Polar Flow app.

As such, I no longer intend to continue any development on this Bipolar project. Thanks for all the support, and interest while the project was active. I personall found it very fulfilling ๐Ÿ˜Š

Introduction

Bipolar a simple GUI application for exporting training sessions from Polar sync software, such as Polar FlowSync. Currently, the following applications and devices are supported:

Installing Bipolar

Mac OS X

  1. Install Polar FlowSync, if you haven't already.
  2. Close FlowSync, if it's already running.
  3. Download the latest Bipolar release - you'll want the Bipolar-<version>.dmg file for OS X.
  4. Open the downloaded Bipolar-<version>.dmg file.
  5. Read the included README.txt file.
  6. Enter the Hook folder.
  7. Run the install.command script.

See the How it Works for more information about the Hook that gets installed in that last step.

Windows

  1. Install Polar FlowSync, if you haven't already.
  2. Close FlowSync, if it's already running.
  3. Download the latest Bipolar release - you'll want the Bipolar-<version>.exe file for Windows.
  4. Run the downloaded Bipolar-<version>.exe installer.
  5. Follow the usual install wizard prompts.

See the How it Works for more information about the Hook that gets installed in that last step.

Using Bipolar

Once installed (see above), the usage pattern is pretty simple:

  1. Record some activities on a supported Polar device.
  2. Use FlowSync to upload your activities to [flow.polar.com] as usual.
  3. Run the Bipolar application, and follow the GUI prompts. Depending on the options selected, this will generate GPX, HRM, and/or TCX versions of all activities seen.
  4. Open/upload the generated GPX, HRM, and/or TCX files to your favorite website or application.

How it Works

Windows

When Bipolar is installed, it places a custom DLL into the Polar FlowSync application directory. This custom DLL then writes all training session data it sees to binary files (in %LOCALAPPDATA%\Polar\PolarFlowSync\export).

The installer also installs a separate Bipolar application, which, when exectued looks through all training session data exported above, and, for any that don't already have corresponding *.gpx and/or *.tcx files, converts those sessions to GPX and/or TCX accordingly.

OSX

For OSX, Bipolar is provided as a standard disk image (*.dmg) file. This file contains both the Bipolar application (which can run completely standalone), and the hook library. However, the hook library is not automatically installed for OSX. Instead, the disk image includes a simple hook install script to run to install the hook (which you will want to do, unless using the direct USB option mentioned below).

Direct USB Interface

The separate v800_downloader project provides a way of extracting training session data from the V800 directly, without the need for the hook mentioned above. That project extracts data in a format that is compatible with this project's Bipolar application, so can be used as a hook alternative if desired.

Of course, that is particularly exciting for Linux users, who otherwise could not make any significant use of this project, nor the Polar V800 in general.

Contact

The issue tracker is the preferred place for reporting issues, while the GitHub Discussions area is best for questions, comments etc.

There's also an old Gitter chat room, and even older Bipolar Google Group with some historical content. And finally there's a Bipolar open-source project topic on the Polar forums (and Internet Archive), which contains quite a lot of historical information.

bipolar's People

Contributors

mz-pdm avatar pcolby avatar torstehu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bipolar's Issues

How to install?

Hello,

I'm a new user of the Polar V800 and would indeed like to autosync the PolarFlow entries to Strava but it seems I'm not completely getting how to enable this via the Bipolar tool. I'm using Windows 7 and would like to know if there is an .exe install file or MSI install file. Also I've read that at some point a hook needs to be set by replacing a Qt5Network.dll file which sits into the PolarFlow install directory but the file it needs to be replaced by is not within the downloaded zip file.

Am I missing something?

Thanks,
Kris

Power data export in hrm and tcx

I have been using the V800 downloader for a couple of days now and would like to ask if you have any plans to include power data in those file formats . Currently only cadence seems to be exported .

Polar Flows TCX export is the same - only cadence but no power curve . Power data from the V800 / Keo power bluetooth smart is there in full in Polar Flow webservice though .

V2 route format

Want to work out the exercises/*/route data format, and document the results at [Polar API V2](../wiki/Polar API V2).

Phases data?

Does anyone have any "phases" data? Presumably files ending is *-phases?

(The following is all based on assumptions)

  1. Have the Bipolar (or at least the hook) installed.
  2. log nto flow.polar.com website
  3. go to "Diary"
  4. click "ADD"
  5. select "Training target"
  6. click "PHASED"
  7. fill out the rest of the page to setup a "phased" training target.
  8. sync the training target(s) to the V800 (via FlowSync, as usual).
  9. carry out the training session.
  10. sync the training results.
  11. look for a generated *-phases file.

I'd like a copy of the such a *-phases file if you can get one (I haven't tried yet - focusing on OSX at the moment).

Ideally (assuming the route data is not somewhere sensitive for you), and I'd like all of the data files for that training session, but only the *-phases file would still be very helpful.

Thanks,

pc.

Heart rate data

Figure out how to parse / extract it from the protobuf data.

Auto-detect sport types

TCX files must specify the "Sport" for each activity, where the "Sport" value can be one of: Running, Biking, or Other.

Currently, Bipolar uses "Other" for all activities.

Ideally, Bipolar should be able to either detect the sport type (eg from the training-sessions-create request's "sport" field), or infer it (eg from the presence of certain types of cadence / footpod data).

Missing info after Garmin Connect update

Hi,

just to start I want to thank you for your exceptional job!
To upload my data to Garmin Connect which is my main repository (other than SportTracks), I compared the TCX resulting from the export from FlowExport and your tool.
In particular, the data coming out from your TCX miss the following information: Max Speed and Average FC. This data is, instead, in the FlowExport TCX (there is missing the Calories data, but this is another story).

Is it right? this data is coming from the watch or calculated? I have the two TCX to look at.

Best regards

Luca

Warning "Unknown polar sport value 103"

Hi Paul,

I've been using bipolar to get HRM files of my trainings for PPT5.
While processing the sessions bipolar throws a warning "Unknown polar sport value 103".
Seems Polar has extended their Sports list: sports[103] = "Pool swimming";

The resulting HRM file lacks the pace data. I'm not sure if the unkown sport is the reason for that!?
I wonder if you could update the known sports in bipolar, please:)

When I open any HRM file from bipolar in PPT5 the summarized data is missing or wrong.
Like Heart Rate avg/max, Speed avg/max, Cadence avg/max.

Kind Regards,
Thorsten

Assistance with Set-Up

Hi - I have just installed Bipolar as I have recently purchased a Polar V800 and have set-up my Flow Sync Account. I was previously using a Garmin product and have all my previous data on Garmin Connect. I would like to be able to upload by v800 sessions and data to my garmin connect and strava accounts.

I use a Mac so downloaded Bipolar for OS X and have also run the hook command. I am now stuck at actually converting the files. I have run the Bipolar programme and it asks me for an output location - I chose the folder where I have downloaded the Polar TCX file which I would like to convert. When I ask it to convert - the output window - it says it can not find any files to convert. I am obviously doing this incorrectly. Please can you explain to me what I need to do - to convert the file and then upload it to my chosen platform. Many thanks, Michelle

Problem with R-R data

I have problem with export R-R data from Polar FlowSync (V800, wer. 2.3.8). Bipolar (0.3.1.520) still created file HRM but no R-R data recorded.

Qt 5.3.1

Upgrade the release to Qt 5.3.1 (currently Qt 5.3.0).

Q: Polar Websync

You write:
"The same hook process as used above will probably work for WebSync, but as WebSync has built-in support for exporting HRM/GPX files, its a lower priority."

I have test installed Polar WebSync 2.8.1 today. (from [1]) It looks like that the feature for direct data export has been removed. :-) (Since I have bought no clock now I couldn't test it completly)

Any idea on, where to get an older version?
Do you think I could directly aplly bipolar to websync?

Greetings, BerndGit

[1] http://www.polar.com/at-de/support/websync_software_download

how can I help

Sorry I'm not a programmer but have the V800, RS800, RCX5, CS600, CS500 for testing. Would be great if you find a way for transfer.

i18n

The application is already structured for i18n - just need to add support for L10n files, which is pretty easy to do (with Qt).

Automatic upload to strava

Hi,

i was wondering if it was possible to integrate automatic uploading of the .tcx file to strava?

I once suggested this to an app called TcxCreator (jmelhus.com), and that works well by monitoring the output folder, the send the file by email to upload [AT] strava.com

Regards. :)

Probable issue in distance between Flow and SportTracks using Stride sensor

Hi,

i want to signal a possible bug related to the distance how it is reported in Flow and how it is reported i other tools (eg SportTracks).
Today I've done a manual calibration of the Polar Stride Sensot through 3 round on a track. The watch reported 1.1km but when I exported and imported in SportTracks, it report 800m....
How it can be possible? I've the file to share with you.

Best regards

Luca

Polar M400

I have a Polar M400 arriving tomorrow. It would be cool to get this software working with bipolar too, as I understand it is built on a similar platform as the V800. Anything special I need to know to start playing with this?

Test data set with both laps and power

Bipolar contains a few branches of code that only get executed if we have lap data with power data. Currently, we have a number of test data sets for lap data, and one test data set for power data, but no sets with both lap and power data.

I, personally, don't have any power sensors, so if someone could provide such a test data set sometime, that would be brilliant!! ๐Ÿ˜„

Note, the data set would not need to be large - eg just a couple of minutes on a spin bike would suffice, so long as it include a few short laps (and uses a power sensor, of course).

Extra HRM files for R-R data

PPT5 allows the use of separate HRM files for general activity data and R-R data. We already export the former. Exporting the latter should be easy too.

Qt 5.4

Qt 5.4 is out. We should upgrade, just to keep up with the current release.

Cadence data

Figure out how to parse / extract it from the protobuf data.

Test cadence support

Bipolar 0.1.0 theoretically already supports cadence data (both foot and bike), however, I don't yet have any cadence data (nor any cadence devices).

So if someone is willing to install Bipolar 0.1.0 (or later) and test TCX generation with cadence info, that would be really appreciated ๐Ÿ˜„

PS I do have both the bike sensors, and footpod on their way... just haven't received them yet.

Small error in fixnum.cpp

fixnum.cpp:54 has a small error in the 'sizeof(type == 8)))'. I believe it should be sizeof(Type)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.