Support for Soleus Watches and Strava OAuth API#33
Conversation
|
Hey! Thank you for working on this! Strava was on TODO list, though historically I just got stuck with MapMyRun as it just works. The project went into hiatus shortly after I started reorganizing the code base to make it more library alike. (Although my view is that it should silently upload everything to whatever has been set up without pressing any buttons.) So I still do have some backlog that I need to clean up and to port your changes over. I'd have to review changes first as it looks like it is quite invasive. Also, please, create a ticket next time before starting to work on that many changes :-) Perhaps it would have been a good motivation for me to finish up migration earlier. Do you have any binary dump you could upload somewhere ( |
| """ Append point to a database """ | ||
| self.ptsWriter.writerow(point) | ||
|
|
||
| def commit(self): |
There was a problem hiding this comment.
I think I kept commit for SQL writers and to mimic behavior otherwise.
There was a problem hiding this comment.
Hmm, yeah can't remember why I got rid of this. Probably just because I thought we didn't need it anymore with the way I had rewritten the code.
|
And thank you for working on this! If I hadn't found your code, I would have had to install Windows somewhere just to get data off my watch... I must admit, when I started working on this, my goal was to make it do what I wanted (ie get data from a soleus watch and upload it to strava) so submitting a pull request was a bit of an afterthought. So I'm happy to help with merging the code with changes you have made since (presumably, whatever is on the 'dev' branch?). I have uploaded a dump of two tracks from my watch here: |
Hi,
Not sure if anything has been done with this project recently, but I have found it useful for uploading stuff from my Soleus watch. I have added support for downloading data in the format used by my watch, and I have added a tcx writer (based on the original csv2tcx.py). Finally, I have added a --strava option to download.py, to upload the tcx files to Strava using their OAuth API. Hope this is useful. If not, feel free to ignore...
Keith