Giter Club home page Giter Club logo

v800_downloader's Introduction

v800_downloader

Update: I haven't followed this in roughly 4 years; I kinda forgot it existed, sorry guys! I haven't owned a V800 for probably 3 years now so I can't do any testing or changes for stuff. Probably already have but consider this pretty much abandoned / no more work on it (not changing much from what it's been at though, lol). Feel free to fork and modify to heart's content.

Update: Release 5 fixes a bug where some garbage data would result in thinking files and directories existed where they did not and had obviously faulty names. This has been fixed. I only saw this after I did a factory reset, so it might not occur in normal usage but it shouldn't be an issue now.

Update: Release 4 now properly supports multisport sessions. Exported files will have a _(NUMBER) appended to them before the extension. This number is the order of the sport in the multisport session. Single sport sessions now have a _0 appended before the extension to represent that this is sport 1 of the session.

Update: Release 3 still works with the new 1.0.12 firmware but right after the update you won't see any sessions since when the firmware updates all the sessions on the watch have their full set of data removed and leave only the statistics information behind. Any new activities will be downloadable :)

V800 Downloader is a tool that is used to download sessions from the Polar V800 watch. In normal usage there is no first party way to export data from the V800, but with V800 Downloader + Bipolar (https://www.github.com/pcolby/bipolar) data can be exported from the V800 without using any Polar software.

If you use Polar FlowSync to sync with the watch already I'd suggest using Bipolar by itself as it will install a hook that will collect session data as you use FlowSync. It will be a lot simpler and not as complicated as using V800 Downloader.

If, however, you sync with your phone, such as with the iPhone Polar Flow app, then this tool is for you. It's a combination of a front end that lets you select which sessions to export and formats and two backends that handle the work. The first backend is the USB backend that handles all communication to the V800 itself and is responsible for getting session data. The second backend is from Bipolar and is responsible for doing the actual hardwork; the converting the session data into good formats like TCX, GPX and HRM.

Steps to use:

  1. Connect your V800 to the computer with the USB cable
  2. Run V800 Downloader; it should display a message saying that it is retrieving session data
  3. Select which sessions you desire to download from the list. You can grab as many or little as you like.
  4. Check what output formats you'd like to get
  5. Click Download Sessions. Progress will be displayed and when finished a message telling you where the files are located will be displayed.
    Additionally any error messages will appear here also.
  6. Upload your files :)

Credits: I couldn't of done this program without the Bipolar project as it does the hard work of converting the data into actual files. All of my modifications are available at https://www.github.com/profanum429/v800_downloader, under the src/bipolar directory.
LibUSB from libusb.info. Version 1.0.19 is incorporated into V800 Downloader. I've made no source modifications.
rawhid from https://www.pjrc.com/teensy/rawhid.html. I use the V1.0 of the OS X version for USB communication in OS X.

License: All V800 Downloader files are licensed GPL3. The Bipolar files under src/bipolar are licensed GPL3 per the original source.

v800_downloader's People

Contributors

profanum429 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

Watchers

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

v800_downloader's Issues

XML-Modification

I am using py_trainer to analyze my data.
v800_downloader works out of the box with my M400.
Now, to be able to import the *.tcx files in py_trainer, a small addition in the xml is needed ( tag).

Current output reads (can not be imported in py_trainer):

Bipolar
EN
434-F4C42-59

Modified output (can be imported in py_trainer):

Bipolar
EN
434-F4C42-59


2
3
4
0

Release
Feb 15 2013, 17:22:33
leon


Would be nice if this change can be implemented without hurting other users.
Tnx
Peter

Multiple work-outs

OK, I tried downloading workouts from my M400 again today. I had a day that had two workouts, one in the morning with GPS but no HR, and another in the afternoon with HR, but no GPS. The downloader only sees the morning workout, but not the afternoon one. Syncing my workouts with Polar Flow shows both. Any thoughts on why this might be?

Polar M400

I have an M400 arriving today, and was wondering how much it would take to get this software working with that as well. I think the M400 is based on the same platform as the V800, so maybe it would just work out of the box?

delete old sessions

after some time the storage gets full.

it would be great, if old training sessions could be purged oder deleted.

GarminTrackPointExtension not enabled by default

I was wondering why this extension hasn't been enabled by default. It's already implemented to export heart-rate values to GPX files and by adding a single line I was able export and then view the data with gpx-viewer on Linux.

I also pulled the data from an M400 btw. Many thanks for that! ๐Ÿ‘

No downloads showing up after firmware upgrade

I just upgraded my M400 firmware today to the latest version (1.3), and I can no longer see any workouts in the downloader list. I see there was a new update for the V800 as well, so I am curious if anyone else is experiencing similar issues.

Failed to open device

Hello,

I have just installed v800_downloader. Unfortunately, every time I try to connect with my watch I get "Failed to open device".

  • Watch is connected via cable to USB port.
  • I try both with FlowSync active and disabled
  • I try both when FlowSync is synchronizing and not
  • Win8
  • SW: 1.5.1
  • there is a batch of trainings done after last system update on the watch.

Thank you in advance for help.

Support of M450 cycling computer

Hi,

First: thank you for your tool! It is so useful! Second, I can confirm here that the current version of v800_downloader work out of the box with the M450 bike computer I have for testing.

Great work, thanks!

Greg

Polar OH1 support

I've discovered that v800_downloader can also download files from Polar OH1 on GNU/Linux, with changes made in my fork https://github.com/mz-pdm/v800_downloader/tree/m460. There is just some confusion in that v800_downloader may not detect the sessions on the first run and it may be necessary to run the downloader for several times before it displays the sessions (this is the same as with Polar M460).

Please note that I don't know what happens once there is no more available space on OH1. Unless OH1 automatically starts rewriting old data, it's necessary to delete it some way. v800_downloader contains some data removal code, but it's not available in the UI and I don't know whether it works.

Issue with the binary on Ubuntu 14.04

Hi,

thanks a lot for this downloader!

I noticed that there is an issue with your binary on Ubuntu 14.04:
v800_downloader: Syntax error: ")" unexpected

Cheers,

Stephan

RR data

I'm looking posibilites to save RR data from V800 without Polar FlowSync. Is it possible to add export RR data in v800_downloader?

It is possible to execute by command line?

Hi I am a new user of v800_downloader and I would like to execute this program in a shell script.
It is possible to launch the program passing parameters?

Currently, I think that it is impossible in Mac OSX:

/Applications/V800\ Downloader.app/Contents/MacOS/v800_downloader

A possible proposal could be:

v800_downloader:

-f all
-df download folder /Users/user1/Documents/
-fo tcx | hrm | gpx | all

Example:

v800_downloader -f all -df /Users/user1/Documents/ -fo all

Broken training file(s)

Hello there!

my V800 crashed during the training. I got FATAL ERROR on it.
Currently, I'm trying to recover GPS record from that one at least.

I have managed to download number of files from that particular training but v800_downloader gives me some error during conversion to TCX.

Question, which of the files contains GPS records?
Is it simply ROUTE.GZB? Is there any way to convert it to any popular GPS file format?

Thanks

Missing Build Instructions

First of all let me say that this project totally saved my week. Polar has
been way too slow to get this functionality out and it was slightly getting
on my nerves.

However, building your project is not very straight forward. Some
build instructions in the readme file would be nice.

Locale dependent format error in generated GPX-files

The exported GPX-Files have an issue at the lon/lat-attributes.
They should have a decimal point instead of a comma.

The documentation on QDomElement::setAttribute says: "The number is formatted according to the current locale."
This is the problem at least with german locale settings.
Should be locale-independent.

Search and replace in text editor solves the problem at least.

Polar v800

Hello,
can anybody tell me how I have to install the V800 downloader on a Windows machine?
I want to download the files vom Polar V800 without using the internet.
Thanks in advance for your hint.

rgds
Pit

Error making Bipolar names

Hi Folks,
from time to time I'm getting an error message while downloading tracks from the Polar M400. Other tracks do download without problems. Within the V800 Downloader window I see the following:

Done downloading and converting sessions
Look in C:/ to find your files
Errors occurred during processing
20170205xxx: Error making Bipolar names.

I run the latest V800_downloader version 6 under Windows 7. Can anybody help what to do to download my track? I do not want to use Polar Flow as I don't like to send my data to Polar. All info on the watch is displayed fine. Appreciate any good idea. Thanks a lot.
v800error

Broken training file

I have the same problem which was resolved in #11 .
I've actually done point 4. for eg.

$ for i in seq 264302 -1 1; do echo -n "$i: "; cat SAMPLES/SAMPLES | dd bs=1 count=$i 2>/dev/null | protoc --decode_raw >/dev/null && echo good && break; done
264302: Failed to parse input.
264301: Failed to parse input.
264300: Failed to parse input.
264299: Failed to parse input.
264298: Failed to parse input.
264297: good

$ dd if=SAMPLES of=SAMPLES_ bs=1 count=264297
264297+0 records in
264297+0 records out
264297 bytes transferred in 1.337232 secs (197645 bytes/sec)

but using Bipolar i have that result:

12:12:30 "Bipolar" "0.5.7" "Release"
12:12:30 "/Volumes/NO NAME/polar/v2-users-0000000-training-sessions-20180914091104_0"
12:12:30 Processing started.
12:12:30 Processing finished.
12:12:30 Skipped 0 training sessions processed previsouly.
12:12:30 Wrote 0 of 0 files for 0 of 1 new training sessions.

list of my files:
-rwxrwxrwx 1 114 16 wrz 20:35 ALAPLNKS.LNK
-rwxrwxrwx 1 1208 16 wrz 20:35 ALAPS.BPB
-rwxrwxrwx 1 0 17 wrz 06:44 BASE.BPB
-rwxrwxrwx 1 36 16 wrz 20:34 LAPLINKS.LNK
-rwxrwxrwx 1 366 16 wrz 20:34 LAPS.BPB
-rwxrwxrwx 1 1377 16 wrz 20:35 PHASES.BPB
-rwxrwxrwx 1 415 16 wrz 20:35 PHYSDATA.BPB
-rwxrwxrwx 1 235 16 wrz 20:34 PROFILE.BPB
drwxrwxrwx 1 8192 17 wrz 11:42 ROUTE
-rwxrwxrwx 1 111126 16 wrz 20:35 ROUTE.GZB
drwxrwxrwx 1 8192 17 wrz 11:42 SAMPLES
-rwxrwxrwx 1 81684 16 wrz 20:34 SAMPLES.GZB
-rwxrwxrwx 1 1041 16 wrz 20:34 SPORT.BPB
-rwxrwxrwx 1 0 16 wrz 20:35 TSESS.BPB
-rwxrwxrwx 1 0 17 wrz 11:48 v2-users-0000000-training-sessions-20180914091104_0-create
-rwxrwxrwx 1 0 17 wrz 11:49 v2-users-0000000-training-sessions-20180914091104_0-physical-information

can you help me how can I get the gpx file from this files ?

Problem with start

kbalabanau@H0084:~/Downloads/v800_downloader-master/pkg/linux$ ./v800_downloader.sh ./v800_downloader.sh: 12: ./v800_downloader.sh: /home/kbalabanau/Downloads/v800_downloader-master/pkg/linux/./v800_downloader: not found
Write in readme.md which files and how to use, please

V650 compatibility

This tool works fine with V800, m400... and i think will work with others like m450, etc... but with V650 its not working. please implement v650 compatibility- if u can...

Pushing training plans to V800

I saw in the code some basic capabilities in uploading data to the V800. Would it be possible, in your understanding, to add code to upload training plans (e.g. similar to the old pdd files) to the V800 without using flow? For example the old good phased training plans. I would be happy to help out in case. Best

v800_downloader.sh failed

When trying to install, the script above fails on line 12.
What should "$@" expand to normally?

image


tnx for any help!
Peter

Route uploading feature

I saw some data upload functionality here and wondering if you actually able to achieve any results?
Currently I am trying to do pretty the same with strava segments which are actually a routes. My fork is able to upload data ok but there are some sideeffects most probobly related to currupting normal watch sync routine. Did you research this deeply?

https://github.com/Antash/polar

Cant export Sports without GPS

Hi!
I try to export sports without GPS (Swimming, other indoorsports). The sessions are listed and files are getting pulled from the watch. Just the conversion is not successful.
The file attached includes logs and files from a tried export of "other indoorsports".

Would be nice to get a file with laps/time and HR.

Thank you!
Other_Indoorsport.zip

Route.gzb

Hi! How should i process the data from Route.gzb to make sense? Using protoc raw to decode but the GPS cordinates doesnt make sense for me! Thanks!

Quick fix if your V800 Downloader crashes during download of sessions

Hi there!

If your V800 Downloader starts crashing on you w/o you having done any modifications to your system AND before going on an "epic issue solving spree" simply try to change the default output directory to a different folder than previously selected.

This little trick helped me out right now while trying to download a single session from yesterday in tcx format (selecting *.hrm or *.gpx reproduced the error).

more details:
win7x64
polar v800 connected via usb cable to usb slot on the front of my PC
error message is a "Microsoft Visual C++ Runtime Library" and states:
"This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information."
After ok'ing the am error message I'm getting another message saying that "v800downloader is not working anymore" w/ 2 options to select "look online for help" or "terminate"
Under details of this popup there's a mention of the libstdc++-6.dll (located in the program files of v800 downloader) which seems to cause this error.

Serious error: Time offset in exported tcx-files

I have a problem with an offset in lat/lng-data compared to sensor data/elevation data when exporting from V800-downloader compared to Polar Flow. I have confirmed through testing that the data from Polar Flow is the correct one, so there is an error in the export when using V800-downloader.

The issue seems to occur when there is no lat/lng data for the first track points. E.g. if there are 12 track-points at the start of the tcx-file from Polar Flow without lat/lng-data, the first track-point in the export from V800-downloader gets the lat/lng-pair which actually belongs to the 13th track point. Correspondingly the second lat/lng in the export from V800-downloader gets the lat/lng-pair from the 14th track point, and so on. Thus there is an offset of 12 seconds in all sensor data.

Attached is an example.

Brun-Lie-PolarFlow.txt
Brun-Lie_V800downloader.txt

M400 Support is Perfect

I just synched several activities from my M400. Thank you! I hope to find some time to contribute in the near future.

E

V800 downloader stopped extracting HRM and GPX files

Hi Paul

20161210123908_0.zip
I've been using the V800 downloader without an issue since Aug until today. Polar recently released a new update for the V800 and my watch updated itself when I sync'd it the other week. I've just tried to extract the files and while V800 downloader can see the exercise file dates and allows me to select them and start the download, but no individual .hrm or .gpx files are extracted as before and I now get a folder with a whole load of BPB files and GZB files for the route data.
Have you come across this before when polar released a update? I've attached a zip folder of the folder that I now get instead of individual files for information.

Regards

Paul.

Paul.

TCX-Output Modification

I am using py_trainer to analyze my data.
v800_downloader works out of the box with my M400.
Now, to be able to import the *.tcx files in py_trainer, a small addition in the xml is needed (Build tag).

screenshot_20180418_143859

Would be nice if this change can be implemented without hurting other users.
Tnx
Peter

RR-Data status

Does RR-data work with V800 and latest firmware, I'm a linux user?
I planning to get a V800 or a garmin fenix3 or 920xt.
I would prefer a polar v800,
HR, HRV, pace limits, phase training is important for me.

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.