-
Notifications
You must be signed in to change notification settings - Fork 6
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
Missing Cresta PM808 support #17
Comments
+ Initial support towards #17 * Things may be broken
Does this watch have support for elevation and waypoints? I can't find that data. |
elevation: waypoints: |
I have compaired the log I send with the dates on my Cresta watch, here is my result! Download metadata is the same as with Schwinn Track metadata: Lap metadata: |
Something appears shifted in your decoding, e.g., 121 is the number of points, 9 is the number of tracks. I don't know what are 66 & 5 for track. For laps, cumulative HR is 178201, Num Sec is 2181 which roughly matches to 36:20.32 = 2180.32 Data format wiki page needs some reviewing even for Schwinn :-) So source code for now is the best reference. You can find formats in read_cresta.py. Try to download current version either using git or as a zipball. I was able to replay dump you sent me. Though I had to unhexlify it with python's binascii.
Could you create some? |
Get error message send you by mail! |
You are missing some modules as those are not a part of standard python installation on MS Windows. It is a bit involving on that platform. What you want is to install pip, then using pip install pyserial, and pytz. It is mentioned in README on the main page but perhaps it is buried under other stuff so it is not noticeable. See http://stackoverflow.com/a/4921215/673826 on pip installation. Or wait a couple of days till I package Windows version as I'm busy these days. P.S. There are links in this thread on how to copy'n'paste from "DOS" window. |
It runs! Here the output:
|
Wow! That was fast!
I've noticed that as well. I did not figure out yet what is causing this. I feel like if I manually call gpsbabel, then it works okay. First time I thought it is empty columns in charge. There is also a chance that it is because I don't close files explicitly after I reorganized the code. I'd say this chance is high.
Unfortunately, I have no answer yet. Could you visually inspect, perhaps with MS Excel, if dot track, dot laps, and dot points files look okay and if there is some other information that is missing that is reported otherwise with Cresta/Mio software? Could you try manually call babelize.cmd with any those dot track files for which TCX, KML, and GPX are missing? I will adjust the code to close files explicitly. |
* Writer closes files before calling a hook Should help with #17
try to import 0729101.tcx to sport tracks (2.1)
Here thr wrong result in 0729101.tcx: <Lap StartTime="2012-07-30T00:29:42Z"> |
Why did I get only 3 tcx files (0722101,0728102,0729101) ? |
As the matter of fact, it is not. You are in a different time zone namely UTC+1 and not UTC-5. Many online services erroneously require time stamps in TCX to be in UTC. Therefore conversion is performed. Strictly speaking this should be based on the TimeZone data you SET in your watch, let's say for T1. However, settings format reported by watch is still something that needs investigation. If you don't mind exposing your personal data (height, weight, age) as you entered those in your watch, you can send me yet another log based on READ SETTINGS command. Feel free to use fake data but I'm not going to expose it if you have concerns. Just sent me a log by mail and data you entered with SET. So for now, you can just use
Is it still the same with latest code revision? I feel like closing files before calling a hook helped. Set up TortoiseGit it would be easier to pull code updates rather than downloading and unpacking zip files.
KMZ is just compressed KML. Make sure KML looks correct first. |
TimeZone was wrong in my watch, you are right. I adjust it right now to +1 and will test it later at home. |
With new code all tcx files creating. No errormessage. |
Find the time problem: Last problem: How to do it? |
What? It was supposed to return either 36 bytes (for Schwinn) or perhaps 32 bytes in case of Cresta/Mio. Di you issue CONNECT command first?
It can be used in a hook that you provide to
I believe, you still want to use I'll fix rounding for AverageHeartRateBpm. |
It appears that you are using gpsbabel to get TCX. There are some limitations with that. Use csv2tcx.py instead of gpsbabel for TCX. |
I bought a Cresta PM808 GPS watch and I think that the watch is from the NEWCO family. I can read data from the included software (from NEWCO) and from the MIO software. So I think my watch has the same communication like the MIO. I have installed the CP210x USB to UART Bridge and can communicate via this port.
But your software replies mistakes. Maybe the same problem like MIO.
I made this on you advice:
...
Another alternative is to leave everything as is and make sure you have a --debug option in your schwinn810.cmd . With that option you should get schwinn810.bin in your temporary folder like %USERPROFILE%\Local Settings\TEMP . See [2] for details. Apparently this file is incomplete but there is a chance that it has enough data for me to see what needs to be adjusted. Just send me that file. It is probably just 72 bytes long or alike.
...
Send you the schwinn810.bin via mail
The text was updated successfully, but these errors were encountered: